Home
last modified time | relevance | path

Searched refs:info_dict (Results 1 – 15 of 15) sorted by relevance

/build/make/tools/releasetools/
Dbuild_super_image.py72 def BuildSuperImageFromDict(info_dict, output): argument
74 cmd = [info_dict["lpmake"],
76 "--super-name", info_dict["super_metadata_device"]]
78 ab_update = info_dict.get("ab_update") == "true"
79 retrofit = info_dict.get("dynamic_partition_retrofit") == "true"
80 block_devices = shlex.split(info_dict.get("super_block_devices", "").strip())
81 groups = shlex.split(info_dict.get("super_partition_groups", "").strip())
94 size = info_dict["super_{}_device_size".format(device)]
100 group_size = info_dict["super_{}_group_size".format(group)]
108 info_dict["super_{}_partition_list".format(group)].strip())
[all …]
Dadd_img_to_target_files124 image_size = OPTIONS.info_dict.get(size_key)
161 boot_img, info_dict=OPTIONS.info_dict)
164 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img,
179 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img)
192 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "vendor", img,
209 OPTIONS.input_tmp, OPTIONS.info_dict, "product", img,
227 OPTIONS.input_tmp, OPTIONS.info_dict, "product_services", img,
243 OPTIONS.input_tmp, OPTIONS.info_dict, "odm", img,
265 if OPTIONS.info_dict.get("avb_enable") == "true":
266 avbtool = OPTIONS.info_dict["avb_avbtool"]
[all …]
Dadd_img_to_target_files.py124 image_size = OPTIONS.info_dict.get(size_key)
161 boot_img, info_dict=OPTIONS.info_dict)
164 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img,
179 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img)
192 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "vendor", img,
209 OPTIONS.input_tmp, OPTIONS.info_dict, "product", img,
227 OPTIONS.input_tmp, OPTIONS.info_dict, "product_services", img,
243 OPTIONS.input_tmp, OPTIONS.info_dict, "odm", img,
265 if OPTIONS.info_dict.get("avb_enable") == "true":
266 avbtool = OPTIONS.info_dict["avb_avbtool"]
[all …]
Dvalidate_target_files.py68 def ValidateFileConsistency(input_zip, input_tmp, info_dict): argument
119 if info_dict.get('extfs_sparse_flag') != '-s':
133 def ValidateInstallRecoveryScript(input_tmp, info_dict): argument
174 full_recovery_image = info_dict.get("full_recovery_image") == "true"
229 def ValidateVerifiedBootImages(input_tmp, info_dict, options): argument
250 if info_dict.get('boot_signer') == 'true':
258 verity_key = info_dict['verity_key'] + '.x509.pem'
275 if info_dict.get('verity') == 'true':
278 if info_dict.get("system_root_image") == "true":
318 if info_dict.get("avb_enable") == "true":
[all …]
Dtest_validate_target_files.py64 info_dict = {
70 ValidateVerifiedBootImages(input_tmp, info_dict, options)
78 info_dict = {
85 AssertionError, ValidateVerifiedBootImages, input_tmp, info_dict,
102 info_dict = {
109 AssertionError, ValidateVerifiedBootImages, input_tmp, info_dict,
156 info_dict = {
163 ValidateVerifiedBootImages(input_tmp, info_dict, options)
212 info_dict = {'extfs_sparse_flag': '-s'}
216 ValidateFileConsistency(input_zip, input_tmp, info_dict)
Dcommon.py79 self.info_dict = None
537 key_path = OPTIONS.info_dict.get("avb_" + partition + "_key_path")
538 algorithm = OPTIONS.info_dict.get("avb_" + partition + "_algorithm")
541 avb_salt = OPTIONS.info_dict.get("avb_salt")
547 def GetAvbChainedPartitionArg(partition, info_dict, key=None): argument
562 key = info_dict["avb_" + partition + "_key_path"]
564 rollback_index_location = info_dict[
569 def _BuildBootableImage(sourcedir, fs_config_file, info_dict=None, argument
606 if info_dict is None:
607 info_dict = OPTIONS.info_dict
[all …]
Dota_from_target_files282 def __init__(self, info_dict, oem_dicts): argument
294 self.info_dict = info_dict
297 self._is_ab = info_dict.get("ab_update") == "true"
298 self._oem_props = info_dict.get("oem_fingerprint_properties")
332 if partition + ".build.prop" not in self.info_dict:
334 build_prop = self.info_dict[partition + ".build.prop"]
346 return self.info_dict[key]
349 self.info_dict[key] = value
352 return self.info_dict.get(key, default)
355 return self.info_dict.items()
[all …]
Dota_from_target_files.py282 def __init__(self, info_dict, oem_dicts): argument
294 self.info_dict = info_dict
297 self._is_ab = info_dict.get("ab_update") == "true"
298 self._oem_props = info_dict.get("oem_fingerprint_properties")
332 if partition + ".build.prop" not in self.info_dict:
334 build_prop = self.info_dict[partition + ".build.prop"]
346 return self.info_dict[key]
349 self.info_dict[key] = value
352 return self.info_dict.get(key, default)
355 return self.info_dict.items()
[all …]
Dtest_add_img_to_target_files.py137 OPTIONS.info_dict = {
202 OPTIONS.info_dict = {
229 OPTIONS.info_dict = {
246 OPTIONS.info_dict = {
272 OPTIONS.info_dict = {}
335 OPTIONS.info_dict = {}
344 OPTIONS.info_dict = {
364 OPTIONS.info_dict = {
379 OPTIONS.info_dict = {
Dtest_common.py827 info_dict = {
832 args = common.GetAvbChainedPartitionArg('system', info_dict).split(':')
840 info_dict = {
845 args = common.GetAvbChainedPartitionArg('product', info_dict).split(':')
852 info_dict = {
859 'system', info_dict, pubkey).split(':')
867 info_dict = {
874 info_dict)
885 def _test_LoadInfoDict_createTargetFiles(info_dict, fstab_path): argument
889 ['{}={}\n'.format(k, v) for k, v in sorted(info_dict.iteritems())])
[all …]
Dmake_recovery_patch.py40 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
Dmake_recovery_patch40 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
Dverity_utils.py519 def CreateHashtreeInfoGenerator(partition_name, block_size, info_dict): argument
521 if (info_dict.get("verity") == "true" and
522 info_dict.get("{}_verity_block_device".format(partition_name))):
523 partition_size = info_dict["{}_size".format(partition_name)]
524 fec_supported = info_dict.get("verity_fec") == "true"
Dimg_from_target_files57 info = OPTIONS.info_dict = common.LoadInfoDict(input_file)
Dimg_from_target_files.py57 info = OPTIONS.info_dict = common.LoadInfoDict(input_file)