platform_build/tools/releasetools
Tao Bao bb73388acf releasetools: Fix the use of StringIO.
Based on the actual semantics, it actually wants an in-memory _bytes_
buffer (io.BytesIO), especially when running with Python 3. This CL
fixes the issue and adds a unittest.

Bug: 131631303
Test: python -m unittest test_sign_target_files_apks
Test: python3 -m unittest test_sign_target_files_apks
Change-Id: I3fb067acc26713f1842e831225607779fd0d1b7e
2019-07-24 23:34:25 -07:00
..
testdata releasetools: Add sanity test for sign_apex. 2019-06-26 17:17:09 -07:00
add_img_to_target_files
add_img_to_target_files.py Rename product_services to system_ext 2019-07-09 08:57:19 +00:00
Android.bp Build build_image and build_super_image as modules. 2019-07-18 10:27:38 -07:00
apex_utils.py releasetools: Prefer the avbtool specified in target_files. 2019-06-26 17:18:48 -07:00
blockimgdiff.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
build_image.py Build build_image and build_super_image as modules. 2019-07-18 10:27:38 -07:00
build_super_image.py Merge changes from topic "dap_size_check" 2019-04-09 02:17:36 +00:00
check_ota_package_signature.py releasetools: Clean up additional modules for Python 3 compatibility. 2019-06-26 00:15:53 -07:00
check_target_files_signatures
check_target_files_signatures.py releasetools: Clean up check_target_files_signatures.py. 2019-06-27 10:24:10 -07:00
common.py Clean up merge_target_files.py. 2019-07-18 13:04:54 -07:00
edify_generator.py releasetools: Track edify function API changes. 2018-08-29 11:53:19 -07:00
images.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
img_from_target_files
img_from_target_files.py releasetools: Unzip all files when generating image archive. 2019-05-10 15:57:20 -07:00
make_recovery_patch
make_recovery_patch.py releasetools: Switch to Python logging. 2018-10-17 07:51:04 -07:00
merge_target_files.py Clean up merge_target_files.py. 2019-07-18 13:04:54 -07:00
ota_from_target_files
ota_from_target_files.py Merge "logging: set stdout and stderr to None in some cases" 2019-07-17 15:40:59 +00:00
ota_package_parser.py
OWNERS releasetools: Update OWNERS. 2019-01-11 12:28:09 -08:00
pylintrc releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
rangelib.py releasetools: Make rangelib Python 3 compatibile. 2019-06-19 10:30:34 -07:00
sign_apex.py releasetools: Prefer the avbtool specified in target_files. 2019-06-26 17:18:48 -07:00
sign_target_files_apks
sign_target_files_apks.py releasetools: Fix the use of StringIO. 2019-07-24 23:34:25 -07:00
sparse_img.py sparse_img.py --get_partition_size return size of partition 2019-04-04 12:59:00 -07:00
target_files_diff.py Remove ro.expect.recovery_id 2019-01-28 10:56:37 -08:00
test_add_img_to_target_files.py releasetools: Skip on empty care_map. 2019-05-01 22:21:25 -07:00
test_apex_utils.py releasetools: Prefer the avbtool specified in target_files. 2019-06-26 17:18:48 -07:00
test_blockimgdiff.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
test_build_image.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_common.py Clean up merge_target_files.py. 2019-07-18 13:04:54 -07:00
TEST_MAPPING Additionally run releasetools_test with Python 3. 2019-07-09 05:14:31 +00:00
test_merge_target_files.py Clean up merge_target_files.py. 2019-07-18 13:04:54 -07:00
test_ota_from_target_files.py releasetools: Enable a few tests in OtaFromTargetFilesTest. 2019-04-15 07:33:32 -07:00
test_rangelib.py releasetools: Add a common base class for unittests. 2018-10-11 23:01:09 -07:00
test_sign_apex.py releasetools: Prefer the avbtool specified in target_files. 2019-06-26 17:18:48 -07:00
test_sign_target_files_apks.py releasetools: Fix the use of StringIO. 2019-07-24 23:34:25 -07:00
test_utils.py relesetools: Enable releasetools_test in presubmit. 2019-04-12 15:26:35 -07:00
test_validate_target_files.py releasetools: Make additional modules Python 3 compatible. 2019-06-27 09:05:48 -07:00
test_verity_utils.py releasetools: Make verity_utils Python 3 compatible. 2019-06-24 21:07:19 -07:00
validate_target_files.py releasetools: Prefer the avbtool specified in target_files. 2019-06-26 17:18:48 -07:00
verity_utils.py releasetools: Make verity_utils Python 3 compatible. 2019-06-24 21:07:19 -07:00