Home | History | Annotate | Download | only in shamu

Lines Matching refs:info

80 def FullOTA_InstallEnd(info):
82 bootloader_img = info.input_zip.read("RADIO/bootloader.img")
86 WriteBootloader(info, bootloader_img)
88 radio_img = FindRadio(info.input_zip)
90 WriteRadio(info, radio_img)
94 def IncrementalOTA_VerifyEnd(info):
95 target_radio_img = FindRadio(info.target_zip)
96 source_radio_img = FindRadio(info.source_zip)
103 info.script.CacheFreeSpaceCheck(len(source_modem_img.data))
104 radio_type, radio_device = common.GetTypeAndDevice("/modem", info.info_dict)
105 info.script.PatchCheck("%s:%s:%d:%s:%d:%s" % (
110 def IncrementalOTA_InstallEnd(info):
112 target_bootloader_img = info.target_zip.read("RADIO/bootloader.img")
114 source_bootloader_img = info.source_zip.read("RADIO/bootloader.img")
122 WriteBootloader(info, target_bootloader_img)
126 WriteIncrementalBootloader(info, tf, sf)
130 tf = FindRadio(info.target_zip)
137 sf = FindRadio(info.source_zip)
142 WriteRadio(info, tf.data)
149 WriteIncrementalRadio(info, tf, sf)
151 def WriteIncrementalBootloader(info, target_imagefile, source_imagefile):
160 return WriteBootloader(info, target_imagefile.data)
177 WriteBootloader(info, target_imagefile.data, blacklist)
179 def WriteIncrementalRadio(info, target_imagefile, source_imagefile):
196 WriteIncrementalModemPartition(info, target_modem_img, source_modem_img)
208 WriteMotobootPartitionImages(info, target_radio_img, blacklist)
210 def WriteIncrementalModemPartition(info, target_modem_image, source_modem_image):
217 b.WriteScript(info.script, info.output_zip)
220 def WriteRadio(info, radio_img):
221 info.script.Print("Writing radio...")
228 WriteMotobootPartitionImages(info, motoboot_image)
230 def WriteMotobootPartitionImages(info, motoboot_image, blacklist = []):
231 WriteGroupedImages(info, motoboot_image.name, motoboot_image.unpacked_images, blacklist)
233 def WriteGroupedImages(info, group_name, images, blacklist = []):
241 WritePartitionImage(info, i, group_name)
243 def WritePartitionImage(info, image, group_name = None):
250 _, device = common.GetTypeAndDevice("/"+image.name, info.info_dict)
255 common.ZipWriteStr(info.output_zip, filename, image.data)
257 info.script.AppendExtra('package_extract_file("%s", "%s");' %
260 def WriteBootloader(info, bootloader, blacklist = DEFAULT_BOOTLOADER_OTA_BLACKLIST):
261 info.script.Print("Writing bootloader...")
268 common.ZipWriteStr(info.output_zip, "bootloader-flag.txt",
270 common.ZipWriteStr(info.output_zip, "bootloader-flag-clear.txt", "\0" * 32)
272 _, misc_device = common.GetTypeAndDevice("/misc", info.info_dict)
274 info.script.AppendExtra(
280 WriteMotobootPartitionImages(info, motoboot_image, blacklist)
282 info.script.AppendExtra(