Home
last modified time | relevance | path

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

12

/build/make/tools/releasetools/
Dadd_img_to_target_files.py71 OPTIONS = common.OPTIONS variable
72 OPTIONS.add_missing = False
73 OPTIONS.rebuild_recovery = False
74 OPTIONS.replace_updated_files_list = []
75 OPTIONS.replace_verity_public_key = False
76 OPTIONS.replace_verity_private_key = False
77 OPTIONS.is_signing = False
126 image_size = OPTIONS.info_dict.get(which + "_image_size")
135 if "extfs_sparse_flag" in OPTIONS.info_dict:
152 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img")
[all …]
Dadd_img_to_target_files71 OPTIONS = common.OPTIONS
72 OPTIONS.add_missing = False
73 OPTIONS.rebuild_recovery = False
74 OPTIONS.replace_updated_files_list = []
75 OPTIONS.replace_verity_public_key = False
76 OPTIONS.replace_verity_private_key = False
77 OPTIONS.is_signing = False
126 image_size = OPTIONS.info_dict.get(which + "_image_size")
135 if "extfs_sparse_flag" in OPTIONS.info_dict:
152 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img")
[all …]
Dota_from_target_files234 OPTIONS = common.OPTIONS variable
235 OPTIONS.package_key = None
236 OPTIONS.incremental_source = None
237 OPTIONS.verify = False
238 OPTIONS.patch_threshold = 0.95
239 OPTIONS.wipe_user_data = False
240 OPTIONS.downgrade = False
241 OPTIONS.extra_script = None
242 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2
243 if OPTIONS.worker_threads == 0:
[all …]
Dota_from_target_files.py234 OPTIONS = common.OPTIONS variable
235 OPTIONS.package_key = None
236 OPTIONS.incremental_source = None
237 OPTIONS.verify = False
238 OPTIONS.patch_threshold = 0.95
239 OPTIONS.wipe_user_data = False
240 OPTIONS.downgrade = False
241 OPTIONS.extra_script = None
242 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2
243 if OPTIONS.worker_threads == 0:
[all …]
Dmerge_builds.py62 OPTIONS = common.OPTIONS variable
63 OPTIONS.framework_images = ("system",)
64 OPTIONS.product_out_framework = None
65 OPTIONS.product_out_vendor = None
66 OPTIONS.build_vbmeta = False
67 OPTIONS.framework_misc_info_keys = None
71 for image in OPTIONS.framework_images:
72 image_path = os.path.join(OPTIONS.product_out_framework, "%s.img" % image)
73 symlink_path = os.path.join(OPTIONS.product_out_vendor, "%s.img" % image)
85 os.path.join(OPTIONS.product_out_framework, "misc_info.txt"))
[all …]
Dimg_from_target_files.py56 OPTIONS = common.OPTIONS variable
58 OPTIONS.additional_entries = []
59 OPTIONS.bootable_only = False
60 OPTIONS.put_super = None
61 OPTIONS.dynamic_partition_list = None
62 OPTIONS.super_device_list = None
63 OPTIONS.retrofit_dap = None
64 OPTIONS.build_super = None
65 OPTIONS.sparse_userimages = None
75 info = OPTIONS.info_dict = common.LoadInfoDict(input_zip)
[all …]
Dimg_from_target_files56 OPTIONS = common.OPTIONS variable
58 OPTIONS.additional_entries = []
59 OPTIONS.bootable_only = False
60 OPTIONS.put_super = None
61 OPTIONS.dynamic_partition_list = None
62 OPTIONS.super_device_list = None
63 OPTIONS.retrofit_dap = None
64 OPTIONS.build_super = None
65 OPTIONS.sparse_userimages = None
75 info = OPTIONS.info_dict = common.LoadInfoDict(input_zip)
[all …]
Dsign_target_files_apks.py161 OPTIONS = common.OPTIONS variable
163 OPTIONS.extra_apks = {}
164 OPTIONS.extra_apex_payload_keys = {}
165 OPTIONS.skip_apks_with_path_prefix = set()
166 OPTIONS.key_map = {}
167 OPTIONS.rebuild_recovery = False
168 OPTIONS.replace_ota_keys = False
169 OPTIONS.replace_verity_public_key = False
170 OPTIONS.replace_verity_private_key = False
171 OPTIONS.replace_verity_keyid = False
[all …]
Dsign_target_files_apks161 OPTIONS = common.OPTIONS variable
163 OPTIONS.extra_apks = {}
164 OPTIONS.extra_apex_payload_keys = {}
165 OPTIONS.skip_apks_with_path_prefix = set()
166 OPTIONS.key_map = {}
167 OPTIONS.rebuild_recovery = False
168 OPTIONS.replace_ota_keys = False
169 OPTIONS.replace_verity_public_key = False
170 OPTIONS.replace_verity_private_key = False
171 OPTIONS.replace_verity_keyid = False
[all …]
Dmerge_target_files.py97 OPTIONS = common.OPTIONS variable
99 OPTIONS.verbose = True
100 OPTIONS.framework_target_files = None
101 OPTIONS.framework_item_list = None
102 OPTIONS.framework_misc_info_keys = None
103 OPTIONS.vendor_target_files = None
104 OPTIONS.vendor_item_list = None
105 OPTIONS.output_target_files = None
106 OPTIONS.output_dir = None
107 OPTIONS.output_item_list = None
[all …]
Dtest_add_img_to_target_files.py29 OPTIONS = common.OPTIONS variable
35 OPTIONS.input_tmp = common.MakeTempDir()
40 path = os.path.join(OPTIONS.input_tmp, prefix)
49 images_path = os.path.join(OPTIONS.input_tmp, 'IMAGES')
62 radio_path = os.path.join(OPTIONS.input_tmp, 'RADIO')
125 OPTIONS.info_dict = {
144 meta_path = os.path.join(OPTIONS.input_tmp, 'META')
179 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
197 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
211 OPTIONS.info_dict = {
[all …]
Dtest_ota_from_target_files.py172 common.OPTIONS.incremental_source = None
173 common.OPTIONS.downgrade = False
174 common.OPTIONS.retrofit_dynamic_partitions = False
175 common.OPTIONS.timestamp = False
176 common.OPTIONS.wipe_user_data = False
177 common.OPTIONS.no_signing = False
178 common.OPTIONS.package_key = os.path.join(self.testdata_dir, 'testkey')
179 common.OPTIONS.key_passwords = {
180 common.OPTIONS.package_key : None,
183 common.OPTIONS.search_path = test_utils.get_search_path()
[all …]
Dmake_recovery_patch.py31 OPTIONS = common.OPTIONS variable
40 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
50 board_uses_vendorimage = OPTIONS.info_dict.get(
Dcommon.py102 OPTIONS = Options() variable
199 if OPTIONS.verbose:
203 if OPTIONS.logfile:
210 'filename': OPTIONS.logfile,
218 OPTIONS.host_tools[tool_name] = location
246 if args and args[0] in OPTIONS.host_tools:
248 args[0] = OPTIONS.host_tools[args[0]]
1036 key_path = OPTIONS.info_dict.get("avb_" + partition + "_key_path")
1037 if key_path and not os.path.exists(key_path) and OPTIONS.search_path:
1038 new_key_path = os.path.join(OPTIONS.search_path, key_path)
[all …]
Dcheck_target_files_signatures75 OPTIONS = common.OPTIONS variable
77 OPTIONS.text = False
78 OPTIONS.compare_with = None
79 OPTIONS.local_cert_dirs = ("vendor", "build")
138 for top in OPTIONS.local_cert_dirs:
467 OPTIONS.compare_with = a
469 OPTIONS.local_cert_dirs = [i.strip() for i in a.split(",")]
471 OPTIONS.text = True
498 if OPTIONS.compare_with:
502 compare_files.LoadZipFile(OPTIONS.compare_with)
[all …]
Dcheck_target_files_signatures.py75 OPTIONS = common.OPTIONS variable
77 OPTIONS.text = False
78 OPTIONS.compare_with = None
79 OPTIONS.local_cert_dirs = ("vendor", "build")
138 for top in OPTIONS.local_cert_dirs:
467 OPTIONS.compare_with = a
469 OPTIONS.local_cert_dirs = [i.strip() for i in a.split(",")]
471 OPTIONS.text = True
498 if OPTIONS.compare_with:
502 compare_files.LoadZipFile(OPTIONS.compare_with)
[all …]
Dapex_utils.py28 OPTIONS = common.OPTIONS variable
159 if OPTIONS.verbose:
352 extra_signapk_args = OPTIONS.extra_signapk_args[:]
Dcheck_target_files_vintf.py35 OPTIONS = common.OPTIONS variable
Dblockimgdiff.py347 if common.OPTIONS.cache_size is not None:
348 stash_limit = (common.OPTIONS.cache_size *
349 common.OPTIONS.stash_threshold / self.tgt.blocksize)
523 if common.OPTIONS.cache_size is not None:
529 cache_size = common.OPTIONS.cache_size
530 stash_threshold = common.OPTIONS.stash_threshold
583 OPTIONS = common.OPTIONS
584 if OPTIONS.cache_size is not None:
585 max_allowed = OPTIONS.cache_size * OPTIONS.stash_threshold
628 cache_size = common.OPTIONS.cache_size
[all …]
Dtest_blockimgdiff.py132 common.OPTIONS.cache_size = 7 * 4096
136 common.OPTIONS.cache_size = 6 * 4096
174 common.OPTIONS.cache_size = 15 * 4096
Dtest_sign_apex.py30 common.OPTIONS.search_path = test_utils.get_search_path()
Dverity_utils.py30 OPTIONS = common.OPTIONS variable
163 if OPTIONS.verity_signer_path is not None:
164 signer_path = OPTIONS.verity_signer_path
173 OPTIONS.verity_signer_args,
Dtest_common.py1533 common.OPTIONS.info_dict = {
1545 common.OPTIONS.aftl_tool_path = 'aftltool'
1546 common.OPTIONS.aftl_server = 'log.endpoints.aftl-dev.cloud.goog:9000'
1547 common.OPTIONS.aftl_key_path = os.path.join(testdata_dir,
1549 common.OPTIONS.aftl_manufacturer_key_path = os.path.join(
1561 common.OPTIONS.aftl_key_path),
1562 '--manufacturer_key', common.OPTIONS.aftl_manufacturer_key_path,
1573 common.OPTIONS.info_dict = {
1585 common.OPTIONS.aftl_tool_path = "aftltool"
1586 common.OPTIONS.aftl_server = "log.endpoints.aftl-dev.cloud.goog:9000"
[all …]
Dtest_sign_target_files_apks.py229 common.OPTIONS.key_map = {
248 common.OPTIONS.key_map = {
272 common.OPTIONS.key_map = {
/build/soong/scripts/
Darchive_repack.sh34 OPTIONS:

12