Home
last modified time | relevance | path

Searched refs:input_tmp (Results 1 – 10 of 10) sorted by relevance

/build/make/tools/releasetools/
Dtest_validate_target_files.py59 input_tmp = common.MakeTempDir()
60 os.mkdir(os.path.join(input_tmp, 'IMAGES'))
61 boot_image = os.path.join(input_tmp, 'IMAGES', 'boot.img')
70 ValidateVerifiedBootImages(input_tmp, info_dict, options)
74 input_tmp = common.MakeTempDir()
75 os.mkdir(os.path.join(input_tmp, 'IMAGES'))
76 boot_image = os.path.join(input_tmp, 'IMAGES', 'boot.img')
86 AssertionError, ValidateVerifiedBootImages, input_tmp, info_dict,
91 input_tmp = common.MakeTempDir()
92 os.mkdir(os.path.join(input_tmp, 'IMAGES'))
[all …]
Dvalidate_target_files.py59 def ValidateFileAgainstSha1(input_tmp, file_name, file_path, expected_sha1): argument
63 unpacked_name = os.path.join(input_tmp, file_path)
71 def ValidateFileConsistency(input_zip, input_tmp, info_dict): argument
76 path = os.path.join(input_tmp, "IMAGES", which + ".img")
79 image = common.GetNonSparseImage(which, input_tmp)
85 image = common.GetSparseImage(which, input_tmp, input_zip, True)
120 input_tmp, which.upper(), entry[(len(prefix) + 1):])
146 def ValidateInstallRecoveryScript(input_tmp, info_dict): argument
182 if not os.path.exists(os.path.join(input_tmp, script_path)):
187 with open(os.path.join(input_tmp, script_path), 'r') as script:
[all …]
Dadd_img_to_target_files.py238 shutil.copy(temp_care_map, os.path.join(OPTIONS.input_tmp, care_map_path))
272 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img")
278 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn)
295 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img,
298 block_list = OutputFile(output_zip, OPTIONS.input_tmp,
300 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img,
309 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system_other.img")
314 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img)
321 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.img")
327 output_file = os.path.join(OPTIONS.input_tmp, "VENDOR", fn)
[all …]
Dcheck_target_files_vintf.py58 def GetDirmap(input_tmp): argument
62 target_files_path = os.path.join(input_tmp, target_files_rel_path)
97 def GetArgsForKernel(input_tmp): argument
98 version_path = os.path.join(input_tmp, 'META/kernel_version.txt')
99 config_path = os.path.join(input_tmp, 'META/kernel_configs.txt')
109 def CheckVintfFromExtractedTargetFiles(input_tmp, info_dict=None): argument
123 info_dict = common.LoadInfoDict(input_tmp)
130 dirmap = GetDirmap(input_tmp)
134 PrepareApexDirectory(input_tmp, dirmap)
138 kernel_args = GetArgsForKernel(input_tmp)
[all …]
Dtest_add_img_to_target_files.py37 OPTIONS.input_tmp = common.MakeTempDir()
42 path = os.path.join(OPTIONS.input_tmp, prefix)
51 images_path = os.path.join(OPTIONS.input_tmp, 'IMAGES')
64 radio_path = os.path.join(OPTIONS.input_tmp, 'RADIO')
143 meta_path = os.path.join(OPTIONS.input_tmp, 'META')
176 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
193 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
225 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
246 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
275 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
[all …]
Dnon_ab_ota.py76 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip,
139 input_tmp=OPTIONS.input_tmp,
179 OPTIONS.input_tmp, "RECOVERY")
232 CheckVintfIfTrebleEnabled(OPTIONS.input_tmp, target_info)
235 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT")
559 OPTIONS.input_tmp = OPTIONS.extracted_input
563 OPTIONS.input_tmp = common.UnzipTemp(target_file, UNZIP_PATTERN)
565 OPTIONS.input_tmp = target_file
573 OPTIONS.target_tmp = OPTIONS.input_tmp
581 from_input = os.path.join(OPTIONS.input_tmp, "META", "releasetools.py")
[all …]
Dimg_from_target_files.py195 input_tmp = common.UnzipTemp(input_file)
201 command = [OPTIONS.build_super_image, input_tmp, super_file]
204 BuildSuperImage(input_tmp, super_file)
Dbuild_super_image.py177 input_tmp = common.UnzipTemp(inp, UNZIP_PATTERN)
178 return BuildSuperImageFromExtractedTargetFiles(input_tmp, out)
Dota_from_target_files.py492 input_tmp = input_file
494 unzipped_file = os.path.join(input_tmp, *filename.split('/'))
1112 input_tmp = common.UnzipTemp(source_file, ["META/liblz4.so"])
1113 liblz4_path = os.path.join(input_tmp, "META", "liblz4.so")
Dcommon.py1644 OPTIONS.input_tmp, dir_name, os.path.basename(chained_image))