Home | History | Annotate | Download | only in releasetools

Lines Matching refs:output_zip

50 def AddUserdata(output_zip):
51 """Create an empty userdata image and store it in output_zip."""
83 output_zip.write(img.name, "userdata.img")
89 def AddSystem(output_zip):
91 output_zip."""
135 common.ZipWriteStr(output_zip, "system.img", data)
138 def CopyInfo(output_zip):
140 output_zip.write(os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"),
167 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
169 common.AddBoot(output_zip, OPTIONS.info_dict)
170 common.AddRecovery(output_zip, OPTIONS.info_dict)
171 AddSystem(output_zip)
172 AddUserdata(output_zip)
173 CopyInfo(output_zip)
176 output_zip.close()