Lines Matching refs:info
11 def FullOTA_InstallEnd(info): argument
13 bootloader_img = info.input_zip.read("RADIO/bootloader.img")
17 WriteBootloader(info, bootloader_img)
19 radio_img = FindRadio(info.input_zip)
21 WriteRadio(info, radio_img)
26 def IncrementalOTA_VerifyEnd(info): argument
27 target_radio_img = FindRadio(info.target_zip)
28 source_radio_img = FindRadio(info.source_zip)
31 info.script.CacheFreeSpaceCheck(len(source_radio_img))
32 radio_type, radio_device = common.GetTypeAndDevice("/radio", info.info_dict)
33 info.script.PatchCheck("%s:%s:%d:%s:%d:%s" % (
39 def IncrementalOTA_InstallEnd(info): argument
41 target_bootloader_img = info.target_zip.read("RADIO/bootloader.img")
43 source_bootloader_img = info.source_zip.read("RADIO/bootloader.img")
50 WriteBootloader(info, target_bootloader_img)
54 tf = FindRadio(info.target_zip)
61 sf = FindRadio(info.source_zip)
65 WriteRadio(info, tf.data)
78 WriteRadio(info, tf.data)
80 common.ZipWriteStr(info.output_zip, "radio.img.p", d)
81 info.script.Print("Patching radio...")
83 "/radio", info.info_dict)
84 info.script.ApplyPatch(
90 def WriteRadio(info, radio_img): argument
91 info.script.Print("Writing radio...")
92 common.ZipWriteStr(info.output_zip, "radio.img", radio_img)
93 _, device = common.GetTypeAndDevice("/radio", info.info_dict)
94 info.script.AppendExtra(
114 def WriteBootloader(info, bootloader): argument
115 info.script.Print("Writing bootloader...")
147 common.ZipWriteStr(info.output_zip, "bootloader-flag.txt",
149 common.ZipWriteStr(info.output_zip, "bootloader-flag-clear.txt", "\0" * 32)
151 _, misc_device = common.GetTypeAndDevice("/misc", info.info_dict)
153 info.script.AppendExtra(
160 fp = info.info_dict["build.prop"]["ro.build.fingerprint"]
169 _, device = common.GetTypeAndDevice("/"+i, info.info_dict)
173 common.ZipWriteStr(info.output_zip, "bootloader.%s.img" % (i,),
176 info.script.AppendExtra('package_extract_file("bootloader.%s.img", "%s");' %
179 info.script.AppendExtra(
186 _, device = common.GetTypeAndDevice("/"+i+"b", info.info_dict)
187 info.script.AppendExtra(