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)
73 input_tmp = common.MakeTempDir()
74 os.mkdir(os.path.join(input_tmp, 'IMAGES'))
75 boot_image = os.path.join(input_tmp, 'IMAGES', 'boot.img')
85 AssertionError, ValidateVerifiedBootImages, input_tmp, info_dict,
89 input_tmp = common.MakeTempDir()
90 os.mkdir(os.path.join(input_tmp, 'IMAGES'))
[all …]
Dadd_img_to_target_files140 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img")
146 ofile = open(os.path.join(OPTIONS.input_tmp, "SYSTEM", fn), "w")
160 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img,
163 block_list = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.map")
164 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img,
174 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system_other.img")
179 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img)
186 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.img")
191 block_list = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.map")
192 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "vendor", img,
[all …]
Dadd_img_to_target_files.py140 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img")
146 ofile = open(os.path.join(OPTIONS.input_tmp, "SYSTEM", fn), "w")
160 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img,
163 block_list = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.map")
164 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img,
174 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system_other.img")
179 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img)
186 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.img")
191 block_list = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.map")
192 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "vendor", img,
[all …]
Dimg_from_target_files69 def CopyInfo(input_tmp, output_zip): argument
72 output_zip, os.path.join(input_tmp, "OTA", "android-info.txt"),
76 def CopyUserImages(input_tmp, output_zip): argument
90 images_path = os.path.join(input_tmp, "IMAGES")
109 def WriteSuperImages(input_tmp, output_zip): argument
128 images_path = os.path.join(input_tmp, "OTA")
140 BuildSuperImage(input_tmp, super_file)
172 OPTIONS.input_tmp = common.UnzipTemp(args[0])
173 LoadOptions(OPTIONS.input_tmp)
178 CopyInfo(OPTIONS.input_tmp, output_zip)
[all …]
Dimg_from_target_files.py69 def CopyInfo(input_tmp, output_zip): argument
72 output_zip, os.path.join(input_tmp, "OTA", "android-info.txt"),
76 def CopyUserImages(input_tmp, output_zip): argument
90 images_path = os.path.join(input_tmp, "IMAGES")
109 def WriteSuperImages(input_tmp, output_zip): argument
128 images_path = os.path.join(input_tmp, "OTA")
140 BuildSuperImage(input_tmp, super_file)
172 OPTIONS.input_tmp = common.UnzipTemp(args[0])
173 LoadOptions(OPTIONS.input_tmp)
178 CopyInfo(OPTIONS.input_tmp, output_zip)
[all …]
Dvalidate_target_files.py56 def ValidateFileAgainstSha1(input_tmp, file_name, file_path, expected_sha1): argument
60 unpacked_name = os.path.join(input_tmp, file_path)
68 def ValidateFileConsistency(input_zip, input_tmp, info_dict): argument
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): argument
161 if not os.path.exists(os.path.join(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',
[all …]
Dtest_add_img_to_target_files.py35 OPTIONS.input_tmp = common.MakeTempDir()
52 path = os.path.join(OPTIONS.input_tmp, prefix)
61 images_path = os.path.join(OPTIONS.input_tmp, 'IMAGES')
74 radio_path = os.path.join(OPTIONS.input_tmp, 'RADIO')
150 meta_path = os.path.join(OPTIONS.input_tmp, 'META')
172 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
189 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
216 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
236 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
259 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb')
[all …]
Dota_from_target_files684 OPTIONS.input_tmp, "IMAGES", recovery_two_step_img_name)
688 OPTIONS.input_tmp, "RECOVERY")
878 input_tmp=OPTIONS.input_tmp,
913 OPTIONS.input_tmp, "RECOVERY")
957 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, input_zip,
996 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT")
1869 input_tmp = common.UnzipTemp(input_file, UNZIP_PATTERN)
1871 unzipped_file = os.path.join(input_tmp, *info.filename.split('/'))
1945 input_tmp = common.UnzipTemp(input_file, RETROFIT_DAP_UNZIP_PATTERN)
1950 ab_partitions_file = os.path.join(input_tmp, *AB_PARTITIONS.split('/'))
[all …]
Dota_from_target_files.py684 OPTIONS.input_tmp, "IMAGES", recovery_two_step_img_name)
688 OPTIONS.input_tmp, "RECOVERY")
878 input_tmp=OPTIONS.input_tmp,
913 OPTIONS.input_tmp, "RECOVERY")
957 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, input_zip,
996 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT")
1869 input_tmp = common.UnzipTemp(input_file, UNZIP_PATTERN)
1871 unzipped_file = os.path.join(input_tmp, *info.filename.split('/'))
1945 input_tmp = common.UnzipTemp(input_file, RETROFIT_DAP_UNZIP_PATTERN)
1950 ab_partitions_file = os.path.join(input_tmp, *AB_PARTITIONS.split('/'))
[all …]
Dbuild_super_image.py173 input_tmp = common.UnzipTemp(inp, UNZIP_PATTERN)
174 return BuildSuperImageFromExtractedTargetFiles(input_tmp, out)