/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) 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 …]
|
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 | add_img_to_target_files.py | 116 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img") 122 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn) 139 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img, 142 block_list = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.map") 143 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img, 152 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system_other.img") 157 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img) 164 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.img") 170 ofile = open(os.path.join(OPTIONS.input_tmp, "VENDOR", fn), "w") 187 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img, [all …]
|
D | add_img_to_target_files | 116 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.img") 122 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn) 139 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img, 142 block_list = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system.map") 143 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system", img, 152 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "system_other.img") 157 CreateImage(OPTIONS.input_tmp, OPTIONS.info_dict, "system_other", img) 164 img = OutputFile(output_zip, OPTIONS.input_tmp, "IMAGES", "vendor.img") 170 ofile = open(os.path.join(OPTIONS.input_tmp, "VENDOR", fn), "w") 187 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img, [all …]
|
D | check_target_files_vintf.py | 55 def GetDirmap(input_tmp): argument 59 target_files_path = os.path.join(input_tmp, target_files_rel_path) 94 def GetArgsForKernel(input_tmp): argument 95 version_path = os.path.join(input_tmp, 'META/kernel_version.txt') 96 config_path = os.path.join(input_tmp, 'META/kernel_configs.txt') 106 def CheckVintfFromExtractedTargetFiles(input_tmp, info_dict=None): argument 120 info_dict = common.LoadInfoDict(input_tmp) 126 dirmap = GetDirmap(input_tmp) 129 kernel_args = GetArgsForKernel(input_tmp) 193 input_tmp = common.UnzipTemp(inp, GetVintfFileList() + UNZIP_PATTERN) [all …]
|
D | test_add_img_to_target_files.py | 36 OPTIONS.input_tmp = common.MakeTempDir() 41 path = os.path.join(OPTIONS.input_tmp, prefix) 50 images_path = os.path.join(OPTIONS.input_tmp, 'IMAGES') 63 radio_path = os.path.join(OPTIONS.input_tmp, 'RADIO') 145 meta_path = os.path.join(OPTIONS.input_tmp, 'META') 178 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') 195 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') 230 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') 254 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') 285 care_map_file = os.path.join(OPTIONS.input_tmp, 'META', 'care_map.pb') [all …]
|
D | non_ab_ota.py | 83 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip, 146 input_tmp=OPTIONS.input_tmp, 186 OPTIONS.input_tmp, "RECOVERY") 239 CheckVintfIfTrebleEnabled(OPTIONS.input_tmp, target_info) 242 "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT") 564 OPTIONS.input_tmp = OPTIONS.extracted_input 567 OPTIONS.input_tmp = common.UnzipTemp(target_file, UNZIP_PATTERN) 568 OPTIONS.target_tmp = OPTIONS.input_tmp 576 from_input = os.path.join(OPTIONS.input_tmp, "META", "releasetools.py") 657 OPTIONS.input_tmp, "OTA", recovery_two_step_img_name)
|
D | build_super_image.py | 177 input_tmp = common.UnzipTemp(inp, UNZIP_PATTERN) 178 return BuildSuperImageFromExtractedTargetFiles(input_tmp, out)
|
D | img_from_target_files.py | 168 input_tmp = common.UnzipTemp(input_file) 171 BuildSuperImage(input_tmp, super_file)
|
D | img_from_target_files | 168 input_tmp = common.UnzipTemp(input_file) 171 BuildSuperImage(input_tmp, super_file)
|
D | ota_from_target_files.py | 704 input_tmp = common.UnzipTemp(input_file, UNZIP_PATTERN) 706 unzipped_file = os.path.join(input_tmp, *info.filename.split('/')) 878 input_tmp = common.UnzipTemp(input_file, RETROFIT_DAP_UNZIP_PATTERN) 883 ab_partitions_file = os.path.join(input_tmp, *AB_PARTITIONS.split('/')) 924 unzipped_file = os.path.join(input_tmp, *src.split('/'))
|
D | common.py | 1506 OPTIONS.input_tmp, dir_name, os.path.basename(chained_image)) 3995 shutil.copy(temp_care_map, os.path.join(OPTIONS.input_tmp, care_map_path))
|