Lines Matching full:with
4 # you may not use this file except in compliance with the License.
67 # Write the current metadata entry with placeholders.
68 with zipfile.ZipFile(input_file, allowZip64=True) as input_zip:
88 with zipfile.ZipFile(prelim_signing, allowZip64=True) as prelim_signing_zip:
96 # (with an incomplete metadata entry) to allow that to happen. Then compute
103 # Even with the preliminary signing, the entry orders may change
125 with zipfile.ZipFile(output_file, allowZip64=True) as output_zip:
156 with open('{}.pb'.format(output), 'w') as f:
158 with open(output, 'w') as f:
164 """Update the fields of the DeviceState proto with build info."""
201 # TODO(xunchang) set the boot image's version with kmi. Note the boot
374 with zipfile.ZipFile(input_file.filename, allowZip64=True) as input_zip:
407 can be fetched directly with the package URL along with the offset/size info.
413 the whole package signing (with signapk.jar) will possibly reorder the ZIP
425 # The second pass, by replacing the placeholders with actual data.
440 """Computes and returns a property-files string with placeholders.
449 A string with placeholders for the metadata offset/size info, e.g.
458 """Finalizes a property-files string with actual METADATA offset/size info.
460 The input ZIP file has been signed, with the ZIP entries in the desired
462 the ZIP entry offsets and construct the property-files string with actual
538 # (i.e. ~9 GiB), with a max of 4-digit for the length. Note that all the
554 that they can download the payload metadata directly with the info.