/build/make/tools/releasetools/ |
D | ota_from_target_files.py | 155 OPTIONS = common.OPTIONS variable 156 OPTIONS.package_key = None 157 OPTIONS.incremental_source = None 158 OPTIONS.verify = False 159 OPTIONS.patch_threshold = 0.95 160 OPTIONS.wipe_user_data = False 161 OPTIONS.downgrade = False 162 OPTIONS.timestamp = False 163 OPTIONS.extra_script = None 164 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2 [all …]
|
D | ota_from_target_files | 155 OPTIONS = common.OPTIONS variable 156 OPTIONS.package_key = None 157 OPTIONS.incremental_source = None 158 OPTIONS.verify = False 159 OPTIONS.patch_threshold = 0.95 160 OPTIONS.wipe_user_data = False 161 OPTIONS.downgrade = False 162 OPTIONS.timestamp = False 163 OPTIONS.extra_script = None 164 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2 [all …]
|
D | add_img_to_target_files | 68 OPTIONS = common.OPTIONS variable 70 OPTIONS.add_missing = False 71 OPTIONS.rebuild_recovery = False 72 OPTIONS.replace_verity_public_key = False 73 OPTIONS.replace_verity_private_key = False 74 OPTIONS.is_signing = False 106 adjusted_blocks = OPTIONS.info_dict.get(key) 120 img = OutputFile(output_zip, OPTIONS.input_tmp, prefix, "system.img") 126 ofile = open(os.path.join(OPTIONS.input_tmp, "SYSTEM", fn), "w") 130 if OPTIONS.rebuild_recovery: [all …]
|
D | add_img_to_target_files.py | 68 OPTIONS = common.OPTIONS variable 70 OPTIONS.add_missing = False 71 OPTIONS.rebuild_recovery = False 72 OPTIONS.replace_verity_public_key = False 73 OPTIONS.replace_verity_private_key = False 74 OPTIONS.is_signing = False 106 adjusted_blocks = OPTIONS.info_dict.get(key) 120 img = OutputFile(output_zip, OPTIONS.input_tmp, prefix, "system.img") 126 ofile = open(os.path.join(OPTIONS.input_tmp, "SYSTEM", fn), "w") 130 if OPTIONS.rebuild_recovery: [all …]
|
D | img_from_target_files | 43 OPTIONS = common.OPTIONS variable 49 output_zip, os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"), 74 OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0]) 80 images_path = os.path.join(OPTIONS.input_tmp, "IMAGES") 102 OPTIONS.info_dict = common.LoadInfoDict(input_zip, OPTIONS.input_tmp) 105 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT") 109 if OPTIONS.info_dict.get("no_recovery") != "true": 111 "recovery.img", "recovery.img", OPTIONS.input_tmp, "RECOVERY") 135 shutil.rmtree(OPTIONS.input_tmp)
|
D | img_from_target_files.py | 43 OPTIONS = common.OPTIONS variable 49 output_zip, os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"), 74 OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0]) 80 images_path = os.path.join(OPTIONS.input_tmp, "IMAGES") 102 OPTIONS.info_dict = common.LoadInfoDict(input_zip, OPTIONS.input_tmp) 105 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT") 109 if OPTIONS.info_dict.get("no_recovery") != "true": 111 "recovery.img", "recovery.img", OPTIONS.input_tmp, "RECOVERY") 135 shutil.rmtree(OPTIONS.input_tmp)
|
D | sign_target_files_apks.py | 104 OPTIONS = common.OPTIONS variable 106 OPTIONS.extra_apks = {} 107 OPTIONS.key_map = {} 108 OPTIONS.replace_ota_keys = False 109 OPTIONS.replace_verity_public_key = False 110 OPTIONS.replace_verity_private_key = False 111 OPTIONS.replace_verity_keyid = False 112 OPTIONS.tag_changes = ("-test-keys", "-dev-keys", "+release-keys") 119 certmap[apk] = OPTIONS.key_map.get(cert, cert) 122 for apk, cert in OPTIONS.extra_apks.iteritems(): [all …]
|
D | sign_target_files_apks | 104 OPTIONS = common.OPTIONS variable 106 OPTIONS.extra_apks = {} 107 OPTIONS.key_map = {} 108 OPTIONS.replace_ota_keys = False 109 OPTIONS.replace_verity_public_key = False 110 OPTIONS.replace_verity_private_key = False 111 OPTIONS.replace_verity_keyid = False 112 OPTIONS.tag_changes = ("-test-keys", "-dev-keys", "+release-keys") 119 certmap[apk] = OPTIONS.key_map.get(cert, cert) 122 for apk, cert in OPTIONS.extra_apks.iteritems(): [all …]
|
D | common.py | 72 OPTIONS = Options() variable 113 if OPTIONS.verbose: 345 keypath = OPTIONS.info_dict.get("board_avb_key_path", None) 346 algorithm = OPTIONS.info_dict.get("board_avb_algorithm", None) 391 info_dict = OPTIONS.info_dict 454 cmd = [OPTIONS.boot_signer_path] 455 cmd.extend(OPTIONS.boot_signer_args) 500 os.path.basename(OPTIONS.input_tmp)) 533 info_dict = OPTIONS.info_dict 562 OPTIONS.tempfiles.append(tmp) [all …]
|
D | make_recovery_patch | 28 OPTIONS = common.OPTIONS variable 37 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
|
D | make_recovery_patch.py | 28 OPTIONS = common.OPTIONS variable 37 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
|
D | check_target_files_signatures | 66 OPTIONS = common.OPTIONS variable 68 OPTIONS.text = False 69 OPTIONS.compare_with = None 70 OPTIONS.local_cert_dirs = ("vendor", "build") 123 for top in OPTIONS.local_cert_dirs: 376 OPTIONS.compare_with = a 378 OPTIONS.local_cert_dirs = [i.strip() for i in a.split(",")] 380 OPTIONS.text = True 405 if OPTIONS.compare_with: 409 compare_files.LoadZipFile(OPTIONS.compare_with) [all …]
|
D | check_target_files_signatures.py | 66 OPTIONS = common.OPTIONS variable 68 OPTIONS.text = False 69 OPTIONS.compare_with = None 70 OPTIONS.local_cert_dirs = ("vendor", "build") 123 for top in OPTIONS.local_cert_dirs: 376 OPTIONS.compare_with = a 378 OPTIONS.local_cert_dirs = [i.strip() for i in a.split(",")] 380 OPTIONS.text = True 405 if OPTIONS.compare_with: 409 compare_files.LoadZipFile(OPTIONS.compare_with) [all …]
|
D | test_blockimgdiff.py | 100 common.OPTIONS.cache_size = 7 * 4096 104 common.OPTIONS.cache_size = 6 * 4096 142 common.OPTIONS.cache_size = 15 * 4096
|
D | blockimgdiff.py | 338 if common.OPTIONS.cache_size is not None: 491 if common.OPTIONS.cache_size is not None: 497 cache_size = common.OPTIONS.cache_size 498 stash_threshold = common.OPTIONS.stash_threshold 543 OPTIONS = common.OPTIONS 544 if OPTIONS.cache_size is not None: 545 max_allowed = OPTIONS.cache_size * OPTIONS.stash_threshold 571 cache_size = common.OPTIONS.cache_size 572 stash_threshold = common.OPTIONS.stash_threshold 799 if common.OPTIONS.verbose: [all …]
|
D | build_image.py | 34 OPTIONS = common.OPTIONS variable 296 if OPTIONS.verity_signer_path is not None: 297 signer_path = OPTIONS.verity_signer_path 300 signer_args = OPTIONS.verity_signer_args
|
D | edify_generator.py | 87 if common.OPTIONS.oem_no_mount:
|