/build/tools/releasetools/ |
D | img_from_target_files | 44 def CopyInfo(output_zip): argument 47 output_zip, os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"), 73 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED) 74 CopyInfo(output_zip) 90 output_zip, os.path.join(images_path, image), image) 112 boot_image.AddToZip(output_zip) 116 recovery_image.AddToZip(output_zip) 123 add_img_to_target_files.AddSystem(output_zip, prefix="") 127 add_img_to_target_files.AddVendor(output_zip, prefix="") 131 add_img_to_target_files.AddUserdata(output_zip, prefix="") [all …]
|
D | img_from_target_files.py | 44 def CopyInfo(output_zip): argument 47 output_zip, os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"), 73 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED) 74 CopyInfo(output_zip) 90 output_zip, os.path.join(images_path, image), image) 112 boot_image.AddToZip(output_zip) 116 recovery_image.AddToZip(output_zip) 123 add_img_to_target_files.AddSystem(output_zip, prefix="") 127 add_img_to_target_files.AddVendor(output_zip, prefix="") 131 add_img_to_target_files.AddUserdata(output_zip, prefix="") [all …]
|
D | add_img_to_target_files | 44 def AddSystem(output_zip, prefix="IMAGES/", recovery_img=None, boot_img=None): argument 66 common.ZipWrite(output_zip, imgname, prefix + "system.img") 67 common.ZipWrite(output_zip, block_list, prefix + "system.map") 76 def AddVendor(output_zip, prefix="IMAGES/"): argument 88 common.ZipWrite(output_zip, imgname, prefix + "vendor.img") 89 common.ZipWrite(output_zip, block_list, prefix + "vendor.map") 155 def AddUserdata(output_zip, prefix="IMAGES/"): argument 188 common.ZipWrite(output_zip, img.name, prefix + "userdata.img") 194 def AddCache(output_zip, prefix="IMAGES/"): argument 225 common.ZipWrite(output_zip, img.name, prefix + "cache.img") [all …]
|
D | add_img_to_target_files.py | 44 def AddSystem(output_zip, prefix="IMAGES/", recovery_img=None, boot_img=None): argument 66 common.ZipWrite(output_zip, imgname, prefix + "system.img") 67 common.ZipWrite(output_zip, block_list, prefix + "system.map") 76 def AddVendor(output_zip, prefix="IMAGES/"): argument 88 common.ZipWrite(output_zip, imgname, prefix + "vendor.img") 89 common.ZipWrite(output_zip, block_list, prefix + "vendor.map") 155 def AddUserdata(output_zip, prefix="IMAGES/"): argument 188 common.ZipWrite(output_zip, img.name, prefix + "userdata.img") 194 def AddCache(output_zip, prefix="IMAGES/"): argument 225 common.ZipWrite(output_zip, img.name, prefix + "cache.img") [all …]
|
D | ota_from_target_files | 352 def CopyPartitionFiles(itemset, input_zip, output_zip=None, substitute=None): argument 378 if output_zip is not None: 383 common.ZipWriteStr(output_zip, info2, data) 487 def WriteFullOTAPackage(input_zip, output_zip): argument 515 output_zip=output_zip, 561 common.ZipWriteStr(output_zip, "recovery.img", recovery_img.data) 586 WritePolicyConfig(OPTIONS.info_dict["selinux_fc"], output_zip) 601 system_diff.WriteScript(script, output_zip) 609 symlinks = CopyPartitionFiles(system_items, input_zip, output_zip) 617 common.ZipWriteStr(output_zip, "recovery/" + fn, data) [all …]
|
D | ota_from_target_files.py | 352 def CopyPartitionFiles(itemset, input_zip, output_zip=None, substitute=None): argument 378 if output_zip is not None: 383 common.ZipWriteStr(output_zip, info2, data) 487 def WriteFullOTAPackage(input_zip, output_zip): argument 515 output_zip=output_zip, 561 common.ZipWriteStr(output_zip, "recovery.img", recovery_img.data) 586 WritePolicyConfig(OPTIONS.info_dict["selinux_fc"], output_zip) 601 system_diff.WriteScript(script, output_zip) 609 symlinks = CopyPartitionFiles(system_items, input_zip, output_zip) 617 common.ZipWriteStr(output_zip, "recovery/" + fn, data) [all …]
|
D | edify_generator.py | 363 def AddToZip(self, input_zip, output_zip, input_path=None): argument 371 common.ZipWriteStr(output_zip, "META-INF/com/google/android/updater-script", 378 common.ZipWriteStr(output_zip, "META-INF/com/google/android/update-binary",
|
D | sign_target_files_apks | 478 output_zip = zipfile.ZipFile(args[1], "w") 488 ProcessTargetFiles(input_zip, output_zip, misc_info, 492 common.ZipClose(output_zip)
|
D | sign_target_files_apks.py | 478 output_zip = zipfile.ZipFile(args[1], "w") 488 ProcessTargetFiles(input_zip, output_zip, misc_info, 492 common.ZipClose(output_zip)
|
D | common.py | 1198 def WriteScript(self, script, output_zip, progress=None): argument 1207 self._WriteUpdate(script, output_zip) 1278 def _WriteUpdate(self, script, output_zip): argument 1279 ZipWrite(output_zip, 1282 ZipWrite(output_zip, 1285 ZipWrite(output_zip,
|