Lines Matching refs:target_info
30 def GetBlockDifferences(target_zip, source_zip, target_info, source_info, argument
44 name, 4096, target_info)
46 info_dict=target_info,
58 partition_target_info = target_info["fstab"]["/" + name]
69 target_info.get('ext4_share_dup_blocks') == "true")
71 int(i) for i in target_info.get(
84 info_dict=target_info,
120 target_info = common.BuildInfo(OPTIONS.info_dict, OPTIONS.oem_dicts)
125 target_api_version = target_info["recovery_api_version"]
126 script = edify_generator.EdifyGenerator(target_api_version, target_info)
128 if target_info.oem_props and not OPTIONS.oem_no_mount:
129 target_info.WriteMountOemScript(script)
131 metadata = GetPackageMetadata(target_info)
153 ts = target_info.GetBuildProp("ro.build.date.utc")
154 ts_text = target_info.GetBuildProp("ro.build.date")
157 target_info.WriteDeviceAssertions(script, OPTIONS.oem_no_mount)
161 target_info=target_info,
188 if not target_info.get("multistage_support"):
190 fs = target_info["fstab"]["/misc"]
212 script.Print("Target: {}".format(target_info.fingerprint))
224 if target_info.get('use_dynamic_partitions') == "true":
239 CheckVintfIfTrebleEnabled(OPTIONS.input_tmp, target_info)
243 common.CheckSize(boot_img.data, "boot.img", target_info)
292 target_info = common.BuildInfo(OPTIONS.target_info_dict, OPTIONS.oem_dicts)
295 target_api_version = target_info["recovery_api_version"]
302 source_api_version, target_info, fstab=source_info["fstab"])
304 if target_info.oem_props or source_info.oem_props:
308 metadata = GetPackageMetadata(target_info, source_info)
333 "/tmp/boot.img", "boot.img", OPTIONS.target_tmp, "BOOT", target_info)
342 target_info=target_info,
346 CheckVintfIfTrebleEnabled(OPTIONS.target_tmp, target_info)
349 target_info.WriteDeviceAssertions(script, OPTIONS.oem_no_mount)
401 script.Print("Target: {}".format(target_info.fingerprint))
407 WriteFingerprintAssertion(script, target_info, source_info)
606 def WriteFingerprintAssertion(script, target_info, source_info): argument
608 target_oem_props = target_info.oem_props
612 source_info.fingerprint, target_info.fingerprint)
615 target_info.GetBuildProp("ro.build.thumbprint"),
620 target_info.GetBuildProp("ro.build.thumbprint"))
623 target_info.fingerprint,