/build/make/tools/releasetools/ |
D | test_validate_target_files.py | 60 input_tmp = common.MakeTempDir() 61 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 62 boot_image = os.path.join(input_tmp, 'IMAGES', 'boot.img') 71 ValidateVerifiedBootImages(input_tmp, info_dict, options) 75 input_tmp = common.MakeTempDir() 76 os.mkdir(os.path.join(input_tmp, 'IMAGES')) 77 boot_image = os.path.join(input_tmp, 'IMAGES', 'boot.img') 87 AssertionError, ValidateVerifiedBootImages, input_tmp, info_dict, 92 input_tmp = common.MakeTempDir() 93 os.mkdir(os.path.join(input_tmp, 'IMAGES')) [all …]
|
D | add_img_to_target_files | 152 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img") 158 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn) 175 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img, 178 block_list = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.map") 179 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img, 189 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system_other.img") 194 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img) 201 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.img") 207 ofile = open(os.path.join(OPTIONS.input_tmp, "VENDOR", fn), "w") 224 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img, [all …]
|
D | add_img_to_target_files.py | 152 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img") 158 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn) 175 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img, 178 block_list = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.map") 179 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img, 189 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system_other.img") 194 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img) 201 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.img") 207 ofile = open(os.path.join(OPTIONS.input_tmp, "VENDOR", fn), "w") 224 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img, [all …]
|
D | validate_target_files.py | 57 def ValidateFileAgainstSha1(input_tmp, file_name, file_path, expected_sha1): argument 61 unpacked_name = os.path.join(input_tmp, file_path) 69 def ValidateFileConsistency(input_zip, input_tmp, info_dict): argument 77 image = common.GetSparseImage(which, input_tmp, input_zip, True) 112 input_tmp, which.upper(), entry[(len(prefix) + 1):]) 136 def ValidateInstallRecoveryScript(input_tmp, info_dict): argument 172 if not os.path.exists(os.path.join(input_tmp, script_path)): 177 with open(os.path.join(input_tmp, script_path), 'r') as script: 202 input_tmp, 'recovery.img', recovery_img, recovery_sha1) 215 ValidateFileAgainstSha1(input_tmp, file_name='boot.img', [all …]
|
D | check_target_files_vintf.py | 54 def GetDirmap(input_tmp): argument 58 target_files_path = os.path.join(input_tmp, target_files_rel_path) 93 def GetArgsForKernel(input_tmp): argument 94 version_path = os.path.join(input_tmp, 'META/kernel_version.txt') 95 config_path = os.path.join(input_tmp, 'META/kernel_configs.txt') 108 def CheckVintfFromExtractedTargetFiles(input_tmp, info_dict=None): argument 122 info_dict = common.LoadInfoDict(input_tmp) 128 dirmap = GetDirmap(input_tmp) 131 kernel_args = GetArgsForKernel(input_tmp) 195 input_tmp = common.UnzipTemp(inp, GetVintfFileList() + UNZIP_PATTERN) [all …]
|
D | test_add_img_to_target_files.py | 35 OPTIONS.input_tmp = common.MakeTempDir() 40 path = os.path.join(OPTIONS.input_tmp, prefix) 49 images_path = os.path.join(OPTIONS.input_tmp, 'IMAGES') 62 radio_path = os.path.join(OPTIONS.input_tmp, 'RADIO') 144 meta_path = os.path.join(OPTIONS.input_tmp, 'META') 179 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') 197 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') 231 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') 255 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') 286 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') [all …]
|
D | ota_from_target_files.py | 524 OPTIONS.input_tmp, "OTA", recovery_two_step_img_name) 675 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip, 738 input_tmp=OPTIONS.input_tmp, 778 OPTIONS.input_tmp, "RECOVERY") 831 CheckVintfIfTrebleEnabled(OPTIONS.input_tmp, target_info) 834 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT") 1685 input_tmp = common.UnzipTemp(input_file, UNZIP_PATTERN) 1687 unzipped_file = os.path.join(input_tmp, *info.filename.split('/')) 1782 input_tmp = common.UnzipTemp(input_file, RETROFIT_DAP_UNZIP_PATTERN) 1787 ab_partitions_file = os.path.join(input_tmp, *AB_PARTITIONS.split('/')) [all …]
|
D | ota_from_target_files | 524 OPTIONS.input_tmp, "OTA", recovery_two_step_img_name) 675 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip, 738 input_tmp=OPTIONS.input_tmp, 778 OPTIONS.input_tmp, "RECOVERY") 831 CheckVintfIfTrebleEnabled(OPTIONS.input_tmp, target_info) 834 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT") 1685 input_tmp = common.UnzipTemp(input_file, UNZIP_PATTERN) 1687 unzipped_file = os.path.join(input_tmp, *info.filename.split('/')) 1782 input_tmp = common.UnzipTemp(input_file, RETROFIT_DAP_UNZIP_PATTERN) 1787 ab_partitions_file = os.path.join(input_tmp, *AB_PARTITIONS.split('/')) [all …]
|
D | img_from_target_files.py | 164 input_tmp = common.UnzipTemp(input_file) 167 BuildSuperImage(input_tmp, super_file)
|
D | img_from_target_files | 164 input_tmp = common.UnzipTemp(input_file) 167 BuildSuperImage(input_tmp, super_file)
|
D | build_super_image.py | 177 input_tmp = common.UnzipTemp(inp, UNZIP_PATTERN) 178 return BuildSuperImageFromExtractedTargetFiles(input_tmp, out)
|
D | common.py | 1138 OPTIONS.input_tmp, dir_name, os.path.basename(image_path))
|