Home
last modified time | relevance | path

Searched refs:OPTIONS (Results 1 – 17 of 17) sorted by relevance

/build/make/tools/releasetools/
Dota_from_target_files.py155 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 …]
Dota_from_target_files155 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 …]
Dadd_img_to_target_files68 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 …]
Dadd_img_to_target_files.py68 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 …]
Dimg_from_target_files43 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)
Dimg_from_target_files.py43 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)
Dsign_target_files_apks.py104 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 …]
Dsign_target_files_apks104 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 …]
Dcommon.py72 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 …]
Dmake_recovery_patch28 OPTIONS = common.OPTIONS variable
37 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
Dmake_recovery_patch.py28 OPTIONS = common.OPTIONS variable
37 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
Dcheck_target_files_signatures66 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 …]
Dcheck_target_files_signatures.py66 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 …]
Dtest_blockimgdiff.py100 common.OPTIONS.cache_size = 7 * 4096
104 common.OPTIONS.cache_size = 6 * 4096
142 common.OPTIONS.cache_size = 15 * 4096
Dblockimgdiff.py338 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 …]
Dbuild_image.py34 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
Dedify_generator.py87 if common.OPTIONS.oem_no_mount: