/build/make/tools/releasetools/ |
D | build_super_image.py | 72 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 …]
|
D | add_img_to_target_files | 124 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 …]
|
D | add_img_to_target_files.py | 124 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 …]
|
D | validate_target_files.py | 68 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 …]
|
D | test_validate_target_files.py | 64 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)
|
D | common.py | 79 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 …]
|
D | ota_from_target_files | 282 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 …]
|
D | ota_from_target_files.py | 282 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 …]
|
D | test_add_img_to_target_files.py | 137 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 = {
|
D | test_common.py | 827 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 …]
|
D | make_recovery_patch.py | 40 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
|
D | make_recovery_patch | 40 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
|
D | verity_utils.py | 519 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"
|
D | img_from_target_files | 57 info = OPTIONS.info_dict = common.LoadInfoDict(input_file)
|
D | img_from_target_files.py | 57 info = OPTIONS.info_dict = common.LoadInfoDict(input_file)
|