Lines Matching refs:misc_info
47 META/misc_info.txt. (Defaulting to "build/target/product/security"
48 if the value is not present in misc_info.
146 def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info,
178 if (info.filename == "META/misc_info.txt" and
180 ReplaceVerityPrivateKey(input_tf_zip, output_tf_zip, misc_info,
208 new_data = RewriteProps(data, misc_info)
225 info.filename == "META/misc_info.txt"):
235 new_recovery_keys = ReplaceOtaKeys(input_tf_zip, output_tf_zip, misc_info)
241 "recovery.img", "recovery.img", tmpdir, "RECOVERY", info_dict=misc_info)
243 "boot.img", "boot.img", tmpdir, "BOOT", info_dict=misc_info)
249 info_dict=misc_info)
296 def RewriteProps(data, misc_info):
304 and misc_info.get("oem_fingerprint_properties") is None):
309 and misc_info.get("oem_fingerprint_properties") is not None):
334 def ReplaceOtaKeys(input_tf_zip, output_tf_zip, misc_info):
340 extra_recovery_keys = misc_info.get("extra_recovery_keys", None)
362 devkey = misc_info.get("default_system_dev_certificate",
404 misc_info, key_path):
406 current_key = misc_info["verity_key"]
407 original_misc_info = targetfile_input_zip.read("META/misc_info.txt")
409 common.ZipWriteStr(targetfile_output_zip, "META/misc_info.txt", new_misc_info)
410 misc_info["verity_key"] = key_path
412 def BuildKeyMap(misc_info, key_mapping_options):
415 devkey = misc_info.get("default_system_dev_certificate",
480 misc_info = common.LoadInfoDict(input_zip)
482 BuildKeyMap(misc_info, key_mapping_options)
488 ProcessTargetFiles(input_zip, output_zip, misc_info,