Home | History | Annotate | Download | only in releasetools

Lines Matching refs:info_dict

79     self.info_dict = None
385 # cases, since it may load the info_dict from an old build (e.g. when
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):
552 info_dict: The info dict to look up the key info and rollback index
555 the key listed in info_dict.
562 key = info_dict["avb_" + partition + "_key_path"]
564 rollback_index_location = info_dict[
569 def _BuildBootableImage(sourcedir, fs_config_file, info_dict=None,
606 if info_dict is None:
607 info_dict = OPTIONS.info_dict
644 args = info_dict.get("mkbootimg_args")
648 args = info_dict.get("mkbootimg_version_args")
656 if info_dict.get("vboot"):
666 if info_dict.get("include_recovery_dtbo") == "true":
669 if info_dict.get("include_recovery_acpio") == "true":
675 if (info_dict.get("boot_signer") == "true" and
676 info_dict.get("verity_key")):
686 info_dict["verity_key"] + ".pk8",
687 info_dict["verity_key"] + ".x509.pem", img.name])
691 elif info_dict.get("vboot"):
697 futility = info_dict["futility"]
700 cmd = [info_dict["vboot_signer_cmd"], futility,
701 img_unsigned.name, info_dict["vboot_key"] + ".vbpubk",
702 info_dict["vboot_key"] + ".vbprivk",
703 info_dict["vboot_subkey"] + ".vbprivk",
713 if info_dict.get("avb_enable") == "true":
714 avbtool = info_dict["avb_avbtool"]
715 part_size = info_dict[partition_name + "_size"]
720 args = info_dict.get("avb_" + partition_name + "_add_hash_footer_args")
736 info_dict=None, two_step_image=False):
755 if info_dict is None:
756 info_dict = OPTIONS.info_dict
761 has_ramdisk = (info_dict.get("system_root_image") != "true" or
763 info_dict.get("recovery_as_boot") == "true")
768 info_dict, has_ramdisk, two_step_image)
834 info_dict=None,
850 info_dict: The dict to be looked up for relevant info.
852 allowed. If none, it is looked up from info_dict.
861 if info_dict == None:
862 info_dict = LoadInfoDict(input_zip)
864 is_sparse = info_dict.get("extfs_sparse_flag")
871 allow_shared_blocks = info_dict.get("ext4_share_dup_blocks") == "true"
1143 def CheckSize(data, target, info_dict):
1154 info_dict: The dict to be looked up for relevant info.
1162 if info_dict["fstab"]:
1165 p = info_dict["fstab"][mount_point]
1170 limit = info_dict.get(device + "_size")
1177 if info_dict.get("avb_enable") == "true" and target in AVB_PARTITIONS:
1887 OPTIONS.info_dict.get("blockimgdiff_versions", "1").split(","))
1903 is_dynamic_build = OPTIONS.info_dict.get(
1913 OPTIONS.info_dict.get("dynamic_partition_list", "").strip())
1924 _, device_path = GetTypeAndDevice("/" + partition, OPTIONS.info_dict)
2229 info_dict=None):
2242 info_dict: A dict returned by common.LoadInfoDict() on the input
2243 target_files. Will use OPTIONS.info_dict if None has been given.
2245 if info_dict is None:
2246 info_dict = OPTIONS.info_dict
2248 full_recovery_image = info_dict.get("full_recovery_image") == "true"
2254 system_root_image = info_dict.get("system_root_image") == "true"
2278 # info_dict instead of source_info_dict.
2279 boot_type, boot_device = GetTypeAndDevice("/boot", info_dict)
2280 recovery_type, recovery_device = GetTypeAndDevice("/recovery", info_dict)
2365 def __init__(self, info_dict, block_diffs, progress_dict=None,
2392 tgt_groups = shlex.split(info_dict.get(
2398 for p in shlex.split(info_dict.get(
2413 target_dynamic_partitions = set(shlex.split(info_dict.get(
2437 self._group_updates[g].tgt_size = int(info_dict.get(