Lines Matching refs:input_tmp
56 def ValidateFileAgainstSha1(input_tmp, file_name, file_path, expected_sha1):
60 unpacked_name = os.path.join(input_tmp, file_path)
68 def ValidateFileConsistency(input_zip, input_tmp, info_dict):
76 image = common.GetSparseImage(which, input_tmp, input_zip, True)
109 input_tmp, which.upper(), entry[(len(prefix) + 1):])
133 def ValidateInstallRecoveryScript(input_tmp, info_dict):
161 if not os.path.exists(os.path.join(input_tmp, script_path)):
162 logging.info('%s does not exist in input_tmp', script_path)
166 with open(os.path.join(input_tmp, script_path), 'r') as script:
191 input_tmp, 'recovery.img', 'SYSTEM/etc/recovery.img', recovery_sha1)
204 ValidateFileAgainstSha1(input_tmp, file_name='boot.img',
222 ValidateFileAgainstSha1(input_tmp, file_name='recovery.img',
229 def ValidateVerifiedBootImages(input_tmp, info_dict, options):
238 input_tmp: The top-level directory of unpacked target-files.zip.
260 image_path = os.path.join(input_tmp, 'IMAGES', image)
279 verity_key_mincrypt = os.path.join(input_tmp, 'ROOT', 'verity_key')
282 input_tmp, 'BOOT', 'RAMDISK', 'verity_key')
298 image_path = os.path.join(input_tmp, 'IMAGES', image)
326 image = os.path.join(input_tmp, 'IMAGES', 'vbmeta.img')
380 input_tmp = common.UnzipTemp(args.target_files)
382 info_dict = common.LoadInfoDict(input_tmp)
384 ValidateFileConsistency(input_zip, input_tmp, info_dict)
386 ValidateInstallRecoveryScript(input_tmp, info_dict)
388 ValidateVerifiedBootImages(input_tmp, info_dict, options)