Home
last modified time | relevance | path

Searched refs:output_zip (Results 1 – 8 of 8) sorted by relevance

/build/tools/releasetools/
Dimg_from_target_files52 def CopyInfo(output_zip): argument
54 output_zip.write(os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"),
80 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
81 CopyInfo(output_zip)
95 common.ZipWriteStr(output_zip, i, f.read())
117 boot_image.AddToZip(output_zip)
121 recovery_image.AddToZip(output_zip)
128 add_img_to_target_files.AddSystem(output_zip, prefix="")
132 add_img_to_target_files.AddVendor(output_zip, prefix="")
136 add_img_to_target_files.AddUserdata(output_zip, prefix="")
[all …]
Dimg_from_target_files.py52 def CopyInfo(output_zip): argument
54 output_zip.write(os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"),
80 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
81 CopyInfo(output_zip)
95 common.ZipWriteStr(output_zip, i, f.read())
117 boot_image.AddToZip(output_zip)
121 recovery_image.AddToZip(output_zip)
128 add_img_to_target_files.AddSystem(output_zip, prefix="")
132 add_img_to_target_files.AddVendor(output_zip, prefix="")
136 add_img_to_target_files.AddUserdata(output_zip, prefix="")
[all …]
Dadd_img_to_target_files.py49 def AddSystem(output_zip, prefix="IMAGES/"): argument
56 common.ZipWriteStr(output_zip, prefix + "system.img", f.read())
58 common.ZipWriteStr(output_zip, prefix + "system.map", f.read())
67 def AddVendor(output_zip, prefix="IMAGES/"): argument
74 common.ZipWriteStr(output_zip, prefix + "vendor.img", f.read())
76 common.ZipWriteStr(output_zip, prefix + "vendor.map", f.read())
131 def AddUserdata(output_zip, prefix="IMAGES/"): argument
159 output_zip.write(img.name, prefix + "userdata.img")
165 def AddCache(output_zip, prefix="IMAGES/"): argument
191 output_zip.write(img.name, prefix + "cache.img")
[all …]
Dadd_img_to_target_files49 def AddSystem(output_zip, prefix="IMAGES/"): argument
56 common.ZipWriteStr(output_zip, prefix + "system.img", f.read())
58 common.ZipWriteStr(output_zip, prefix + "system.map", f.read())
67 def AddVendor(output_zip, prefix="IMAGES/"): argument
74 common.ZipWriteStr(output_zip, prefix + "vendor.img", f.read())
76 common.ZipWriteStr(output_zip, prefix + "vendor.map", f.read())
131 def AddUserdata(output_zip, prefix="IMAGES/"): argument
159 output_zip.write(img.name, prefix + "userdata.img")
165 def AddCache(output_zip, prefix="IMAGES/"): argument
191 output_zip.write(img.name, prefix + "cache.img")
[all …]
Dota_from_target_files338 def CopyPartitionFiles(itemset, input_zip, output_zip=None, substitute=None): argument
362 if output_zip is not None:
367 output_zip.writestr(info2, data)
463 def WriteFullOTAPackage(input_zip, output_zip): argument
489 output_zip=output_zip,
534 common.ZipWriteStr(output_zip, "recovery.img", recovery_img.data)
555 WritePolicyConfig(OPTIONS.info_dict["selinux_fc"], output_zip)
569 system_diff.WriteScript(script, output_zip)
577 symlinks = CopyPartitionFiles(system_items, input_zip, output_zip)
585 common.ZipWriteStr(output_zip, "recovery/" + fn, data)
[all …]
Dedify_generator.py335 def AddToZip(self, input_zip, output_zip, input_path=None): argument
343 common.ZipWriteStr(output_zip, "META-INF/com/google/android/updater-script",
350 common.ZipWriteStr(output_zip, "META-INF/com/google/android/update-binary",
Dcommon.py1041 def WriteScript(self, script, output_zip, progress=None): argument
1045 self._WriteUpdate(script, output_zip)
1056 self._WriteUpdate(script, output_zip)
1064 def _WriteUpdate(self, script, output_zip): argument
1067 ZipWriteStr(output_zip, partition + ".transfer.list", f.read())
1069 ZipWriteStr(output_zip, partition + ".new.dat", f.read())
1071 ZipWriteStr(output_zip, partition + ".patch.dat", f.read(),
Dsign_target_files_apks469 output_zip = zipfile.ZipFile(args[1], "w")
479 ProcessTargetFiles(input_zip, output_zip, misc_info,
483 output_zip.close()