Lines Matching refs:info
11 def FullOTA_InstallEnd(info):
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)
25 DDR_img = FindDDR(info.input_zip)
27 WriteDDR(info, DDR_img)
32 def IncrementalOTA_VerifyEnd(info):
33 target_radio_img = FindRadio(info.target_zip)
34 source_radio_img = FindRadio(info.source_zip)
37 info.script.CacheFreeSpaceCheck(len(source_radio_img))
38 radio_type, radio_device = common.GetTypeAndDevice("/radio", info.info_dict)
39 info.script.PatchCheck("%s:%s:%d:%s:%d:%s" % (
45 def IncrementalOTA_InstallEnd(info):
47 target_bootloader_img = info.target_zip.read("RADIO/bootloader.img")
49 source_bootloader_img = info.source_zip.read("RADIO/bootloader.img")
56 WriteBootloader(info, target_bootloader_img)
60 df = FindDDR(info.target_zip)
65 WriteDDR(info, df.data)
67 tf = FindRadio(info.target_zip)
74 sf = FindRadio(info.source_zip)
78 WriteRadio(info, tf.data)
91 WriteRadio(info, tf.data)
93 common.ZipWriteStr(info.output_zip, "radio.img.p", d)
94 info.script.Print("Patching radio...")
96 "/radio", info.info_dict)
97 info.script.ApplyPatch(
103 def WriteRadio(info, radio_img):
104 info.script.Print("Writing radio...")
105 common.ZipWriteStr(info.output_zip, "radio.img", radio_img)
106 _, device = common.GetTypeAndDevice("/radio", info.info_dict)
107 info.script.AppendExtra(
117 def WriteDDR(info, DDR_img):
118 info.script.Print("Writing DDR...")
119 common.ZipWriteStr(info.output_zip, "DDR.bin", DDR_img)
120 info.script.AppendExtra(
139 def WriteBootloader(info, bootloader):
140 info.script.Print("Writing bootloader...")
172 common.ZipWriteStr(info.output_zip, "bootloader-flag.txt",
174 common.ZipWriteStr(info.output_zip, "bootloader-flag-clear.txt", "\0" * 32)
176 _, misc_device = common.GetTypeAndDevice("/misc", info.info_dict)
178 info.script.AppendExtra(
185 fp = info.info_dict["build.prop"]["ro.build.fingerprint"]
194 _, device = common.GetTypeAndDevice("/"+i, info.info_dict)
198 common.ZipWriteStr(info.output_zip, "bootloader.%s.img" % (i,),
201 info.script.AppendExtra('package_extract_file("bootloader.%s.img", "%s");' %
204 info.script.AppendExtra(
211 _, device = common.GetTypeAndDevice("/"+i+"b", info.info_dict)
212 info.script.AppendExtra(