Home
last modified time | relevance | path

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

12

/build/make/tools/releasetools/
Dota_from_target_files.py254 OPTIONS = ota_utils.OPTIONS variable
255 OPTIONS.verify = False
256 OPTIONS.patch_threshold = 0.95
257 OPTIONS.wipe_user_data = False
258 OPTIONS.extra_script = None
259 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2
260 if OPTIONS.worker_threads == 0:
261 OPTIONS.worker_threads = 1
262 OPTIONS.two_step = False
263 OPTIONS.include_secondary = False
[all …]
Dota_from_target_files254 OPTIONS = ota_utils.OPTIONS variable
255 OPTIONS.verify = False
256 OPTIONS.patch_threshold = 0.95
257 OPTIONS.wipe_user_data = False
258 OPTIONS.extra_script = None
259 OPTIONS.worker_threads = multiprocessing.cpu_count() // 2
260 if OPTIONS.worker_threads == 0:
261 OPTIONS.worker_threads = 1
262 OPTIONS.two_step = False
263 OPTIONS.include_secondary = False
[all …]
Dadd_img_to_target_files.py74 OPTIONS = common.OPTIONS variable
75 OPTIONS.add_missing = False
76 OPTIONS.rebuild_recovery = False
77 OPTIONS.replace_updated_files_list = []
78 OPTIONS.replace_verity_public_key = False
79 OPTIONS.replace_verity_private_key = False
80 OPTIONS.is_signing = False
116 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img")
122 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn)
129 OPTIONS.replace_updated_files_list.append(arc_name)
[all …]
Dadd_img_to_target_files74 OPTIONS = common.OPTIONS
75 OPTIONS.add_missing = False
76 OPTIONS.rebuild_recovery = False
77 OPTIONS.replace_updated_files_list = []
78 OPTIONS.replace_verity_public_key = False
79 OPTIONS.replace_verity_private_key = False
80 OPTIONS.is_signing = False
116 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img")
122 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn)
129 OPTIONS.replace_updated_files_list.append(arc_name)
[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_files56 OPTIONS = common.OPTIONS variable
58 OPTIONS.additional_entries = []
59 OPTIONS.bootable_only = False
60 OPTIONS.put_super = None
61 OPTIONS.put_bootloader = None
62 OPTIONS.dynamic_partition_list = None
63 OPTIONS.super_device_list = None
64 OPTIONS.retrofit_dap = None
65 OPTIONS.build_super = None
66 OPTIONS.sparse_userimages = None
[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.put_bootloader = None
62 OPTIONS.dynamic_partition_list = None
63 OPTIONS.super_device_list = None
64 OPTIONS.retrofit_dap = None
65 OPTIONS.build_super = None
66 OPTIONS.sparse_userimages = None
[all …]
Dnon_ab_ota.py24 from common import OPTIONS
39 partition_src = common.GetUserImage(name, OPTIONS.source_tmp, source_zip,
45 partition_tgt = common.GetUserImage(name, OPTIONS.target_tmp, target_zip,
83 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip,
120 target_info = common.BuildInfo(OPTIONS.info_dict, OPTIONS.oem_dicts)
128 if target_info.oem_props and not OPTIONS.oem_no_mount:
133 if not OPTIONS.no_signing:
146 input_tmp=OPTIONS.input_tmp,
148 info_dict=OPTIONS.info_dict)
150 assert HasRecoveryPatch(input_zip, info_dict=OPTIONS.info_dict)
[all …]
Dfind_shareduid_violation.py54 OPTIONS = common.OPTIONS variable
55 OPTIONS.product_out = os.environ.get("PRODUCT_OUT")
56 OPTIONS.aapt = "aapt2"
57 OPTIONS.copy_out_system = "system"
58 OPTIONS.copy_out_vendor = "vendor"
59 OPTIONS.copy_out_product = "product"
60 OPTIONS.copy_out_system_ext = "system_ext"
131 OPTIONS.product_out = a
133 OPTIONS.aapt = a
135 OPTIONS.copy_out_system = a
[all …]
Dsign_target_files_apks.py172 OPTIONS = common.OPTIONS variable
174 OPTIONS.extra_apks = {}
175 OPTIONS.extra_apex_payload_keys = {}
176 OPTIONS.skip_apks_with_path_prefix = set()
177 OPTIONS.key_map = {}
178 OPTIONS.rebuild_recovery = False
179 OPTIONS.replace_ota_keys = False
180 OPTIONS.replace_verity_public_key = False
181 OPTIONS.replace_verity_private_key = False
182 OPTIONS.replace_verity_keyid = False
[all …]
Dsign_target_files_apks172 OPTIONS = common.OPTIONS variable
174 OPTIONS.extra_apks = {}
175 OPTIONS.extra_apex_payload_keys = {}
176 OPTIONS.skip_apks_with_path_prefix = set()
177 OPTIONS.key_map = {}
178 OPTIONS.rebuild_recovery = False
179 OPTIONS.replace_ota_keys = False
180 OPTIONS.replace_verity_public_key = False
181 OPTIONS.replace_verity_private_key = False
182 OPTIONS.replace_verity_keyid = False
[all …]
Dmerge_target_files.py114 OPTIONS = common.OPTIONS variable
116 OPTIONS.verbose = True
117 OPTIONS.framework_target_files = None
118 OPTIONS.framework_item_list = None
119 OPTIONS.framework_misc_info_keys = None
120 OPTIONS.vendor_target_files = None
121 OPTIONS.vendor_item_list = None
122 OPTIONS.output_target_files = None
123 OPTIONS.output_dir = None
124 OPTIONS.output_item_list = None
[all …]
Dtest_add_img_to_target_files.py30 OPTIONS = common.OPTIONS variable
36 OPTIONS.input_tmp = common.MakeTempDir()
41 path = os.path.join(OPTIONS.input_tmp, prefix)
50 images_path = os.path.join(OPTIONS.input_tmp, 'IMAGES')
63 radio_path = os.path.join(OPTIONS.input_tmp, 'RADIO')
126 OPTIONS.info_dict = {
145 meta_path = os.path.join(OPTIONS.input_tmp, 'META')
178 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
195 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
212 OPTIONS.info_dict = {
[all …]
Dota_utils.py22 from common import (ZipDelete, ZipClose, OPTIONS, MakeTempFile,
28 OPTIONS.no_signing = False
29 OPTIONS.force_non_ab = False
30 OPTIONS.wipe_user_data = False
31 OPTIONS.downgrade = False
32 OPTIONS.key_passwords = {}
33 OPTIONS.package_key = None
34 OPTIONS.incremental_source = None
35 OPTIONS.retrofit_dynamic_partitions = False
36 OPTIONS.output_metadata_path = None
[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(
Dtest_ota_from_target_files.py169 common.OPTIONS.incremental_source = None
170 common.OPTIONS.downgrade = False
171 common.OPTIONS.retrofit_dynamic_partitions = False
172 common.OPTIONS.timestamp = False
173 common.OPTIONS.wipe_user_data = False
174 common.OPTIONS.no_signing = False
175 common.OPTIONS.package_key = os.path.join(self.testdata_dir, 'testkey')
176 common.OPTIONS.key_passwords = {
177 common.OPTIONS.package_key: None,
180 common.OPTIONS.search_path = test_utils.get_search_path()
[all …]
Dcommon.py103 OPTIONS = Options() variable
209 if OPTIONS.verbose:
213 if OPTIONS.logfile:
220 'filename': OPTIONS.logfile,
228 OPTIONS.host_tools[tool_name] = location
241 if tool_name in OPTIONS.host_tools:
242 return OPTIONS.host_tools[tool_name]
1307 key_path = OPTIONS.info_dict.get("avb_" + partition + "_key_path")
1308 if key_path and not os.path.exists(key_path) and OPTIONS.search_path:
1309 new_key_path = os.path.join(OPTIONS.search_path, key_path)
[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.py26 from common import UnzipTemp, RunAndCheckOutput, MakeTempFile, OPTIONS
33 OPTIONS = common.OPTIONS variable
65 OPTIONS.search_path, "bin", "debugfs_static")
185 if OPTIONS.verbose:
374 extra_signapk_args = OPTIONS.extra_signapk_args[:]
407 debugfs_path = os.path.join(OPTIONS.search_path, 'bin', 'debugfs_static')
448 extra_signapk_args = OPTIONS.extra_signapk_args[:]
485 debugfs_path = os.path.join(OPTIONS.search_path, 'bin', 'debugfs_static')
554 if OPTIONS.search_path:
555 debugfs_path = os.path.join(OPTIONS.search_path, "bin", "debugfs_static")
[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 …]
Dtest_sign_target_files_apks.py229 common.OPTIONS.key_map = {
248 common.OPTIONS.key_map = {
272 common.OPTIONS.key_map = {
593 common.OPTIONS.gki_signing_key = 'release_gki_key'
594 common.OPTIONS.gki_signing_algorithm = 'release_gki_algorithm'
595 common.OPTIONS.gki_signing_extra_args = 'release_gki_signature_extra_args'
611 common.OPTIONS.gki_signing_key = 'release_gki_key'
612 common.OPTIONS.gki_signing_algorithm = None
613 common.OPTIONS.gki_signing_extra_args = 'release_gki_signature_extra_args'
623 common.OPTIONS.gki_signing_key = None
[all …]
Dcheck_target_files_vintf.py35 OPTIONS = common.OPTIONS variable
241 if OPTIONS.skip_compatibility_check:
Dtest_common.py1636 common.OPTIONS.info_dict = {
1648 common.OPTIONS.aftl_tool_path = 'aftltool'
1649 common.OPTIONS.aftl_server = 'log.endpoints.aftl-dev.cloud.goog:9000'
1650 common.OPTIONS.aftl_key_path = os.path.join(testdata_dir,
1652 common.OPTIONS.aftl_manufacturer_key_path = os.path.join(
1664 common.OPTIONS.aftl_key_path),
1665 '--manufacturer_key', common.OPTIONS.aftl_manufacturer_key_path,
1676 common.OPTIONS.info_dict = {
1688 common.OPTIONS.aftl_tool_path = "aftltool"
1689 common.OPTIONS.aftl_server = "log.endpoints.aftl-dev.cloud.goog:9000"
[all …]
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 …]
/build/soong/scripts/
Darchive_repack.sh34 OPTIONS:

12