Lines Matching refs:common
1 import common
59 img = common.File(trunc_to_null(name), data[start_offset:end_offset+1])
96 if common.OPTIONS.full_radio:
110 radio_type, radio_device = common.GetTypeAndDevice("/modem", info.info_dict)
130 tf = common.File("bootloader.img", target_bootloader_img)
131 sf = common.File("bootloader.img", source_bootloader_img)
142 assert common.OPTIONS.full_radio == False
144 tf = common.File("radio.img", tf)
147 if not sf or common.OPTIONS.full_radio:
154 sf = common.File("radio.img", sf)
224 b = common.BlockDifference("modem", common.DataImage(tf.data),
225 common.DataImage(sf.data))
260 _, device = common.GetTypeAndDevice("/"+image.name, info.info_dict)
265 common.ZipWriteStr(info.output_zip, filename, image.data)
278 common.ZipWriteStr(info.output_zip, "bootloader-flag.txt",
280 common.ZipWriteStr(info.output_zip, "bootloader-flag-clear.txt", "\0" * 32)
282 _, misc_device = common.GetTypeAndDevice("/misc", info.info_dict)