/build/make/tools/releasetools/ |
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...] |
img_from_target_files | 69 def CopyInfo(input_tmp, output_zip): 72 output_zip, os.path.join(input_tmp, "OTA", "android-info.txt"), 76 def CopyUserImages(input_tmp, output_zip): 81 input_tmp: path to the unzipped input. 90 images_path = os.path.join(input_tmp, "IMAGES") 109 def WriteSuperImages(input_tmp, output_zip): 120 input_tmp: path to the unzipped input. 128 images_path = os.path.join(input_tmp, "OTA") 140 BuildSuperImage(input_tmp, super_file) 172 OPTIONS.input_tmp = common.UnzipTemp(args[0] [all...] |
img_from_target_files.py | 69 def CopyInfo(input_tmp, output_zip): 72 output_zip, os.path.join(input_tmp, "OTA", "android-info.txt"), 76 def CopyUserImages(input_tmp, output_zip): 81 input_tmp: path to the unzipped input. 90 images_path = os.path.join(input_tmp, "IMAGES") 109 def WriteSuperImages(input_tmp, output_zip): 120 input_tmp: path to the unzipped input. 128 images_path = os.path.join(input_tmp, "OTA") 140 BuildSuperImage(input_tmp, super_file) 172 OPTIONS.input_tmp = common.UnzipTemp(args[0] [all...] |
validate_target_files.py | 56 def ValidateFileAgainstSha1(input_tmp, file_name, file_path, expected_sha1): 60 unpacked_name = os.path.join(input_tmp, file_path) 68 def ValidateFileConsistency(input_zip, input_tmp, info_dict): 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): 161 if not os.path.exists(os.path.join(input_tmp, script_path)): 162 logging.info('%s does not exist in 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 [all...] |
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...] |
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...] |
test_add_img_to_target_files.py | 35 OPTIONS.input_tmp = common.MakeTempDir() 51 """Creates images under OPTIONS.input_tmp/prefix.""" 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' [all...] |
ota_from_target_files | 684 OPTIONS.input_tmp, "IMAGES", recovery_two_step_img_name) 688 OPTIONS.input_tmp, "RECOVERY") [all...] |
ota_from_target_files.py | 684 OPTIONS.input_tmp, "IMAGES", recovery_two_step_img_name) 688 OPTIONS.input_tmp, "RECOVERY") [all...] |
build_super_image.py | 173 input_tmp = common.UnzipTemp(inp, UNZIP_PATTERN) 174 return BuildSuperImageFromExtractedTargetFiles(input_tmp, out)
|
/device/google/cuttlefish/shared/ |
releasetools.py | 31 def GetUserImages(input_tmp, input_zip): 32 return {partition: GetUserImage(partition, input_tmp, input_zip) 34 if os.path.exists(os.path.join(input_tmp, 39 images = GetUserImages(info.input_tmp, info.input_zip)
|