/build/make/tools/releasetools/ |
D | test_validate_target_files.py | 59 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 …]
|
D | add_img_to_target_files | 140 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 …]
|
D | add_img_to_target_files.py | 140 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 …]
|
D | img_from_target_files | 69 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 …]
|
D | img_from_target_files.py | 69 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 …]
|
D | validate_target_files.py | 56 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 …]
|
D | test_add_img_to_target_files.py | 35 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 …]
|
D | ota_from_target_files | 684 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 …]
|
D | ota_from_target_files.py | 684 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 …]
|
D | build_super_image.py | 173 input_tmp = common.UnzipTemp(inp, UNZIP_PATTERN) 174 return BuildSuperImageFromExtractedTargetFiles(input_tmp, out)
|