Lines Matching refs:payload
41 def WriteDataBlob(payload: Payload, outfp: BinaryIO, read_size=1024*64):
42 for i in range(0, payload.total_data_length, read_size):
43 blob = payload.ReadDataBlob(
44 i, min(i+read_size, payload.total_data_length)-i)
49 for payload in payloads:
50 WriteDataBlob(payload, outfp)
116 for payload in payloads:
117 manifest = payload.manifest
132 "OTA %s has duplicate partition with some of the previous OTAs", payload.name)
179 payload = update_payload.Payload(output_ota)
180 payload.CheckOpDataHash()
185 for payload in payloads:
186 for group in payload.manifest.dynamic_partition_metadata.groups:
191 partition_to_ota[part] = payload