Home
last modified time | relevance | path

Searched refs:headerId (Results 1 – 3 of 3) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DExtraField.java123 public Segment getSingleSegment(int headerId) throws IOException { in getSingleSegment() argument
126 .filter(s -> s.getHeaderId() == headerId) in getSingleSegment()
133 throw new IOException(found.size() + " segments with header ID " + headerId + "found"); in getSingleSegment()
150 int headerId = LittleEndianUtils.readUnsigned2Le(buffer); in parseSegments() local
155 + headerId in parseSegments()
164 + headerId in parseSegments()
173 SegmentFactory factory = identifySegmentFactory(headerId); in parseSegments()
174 Segment seg = factory.make(headerId, data); in parseSegments()
225 private static SegmentFactory identifySegmentFactory(int headerId) { in identifySegmentFactory() argument
226 if (headerId == ALIGNMENT_ZIP_EXTRA_DATA_FIELD_HEADER_ID) { in identifySegmentFactory()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/
DCentralDirectoryInfo.java256 int headerId = ByteArrayUtil.getInt(data, currPos, 2); in CentralDirectoryInfo() local
258 if (headerId == ZIP64_EXTRA_FIELD_HEADER_ID) { in CentralDirectoryInfo()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java816 short headerId = extra.getShort(); in getInputJarEntryDataAlignmentMultiple() local
822 if (headerId != ALIGNMENT_ZIP_EXTRA_DATA_FIELD_HEADER_ID) { in getInputJarEntryDataAlignmentMultiple()
860 short headerId = original.getShort(); in createExtraFieldToAlignData() local
866 if (((headerId == 0) && (dataSize == 0)) in createExtraFieldToAlignData()
867 || (headerId == ALIGNMENT_ZIP_EXTRA_DATA_FIELD_HEADER_ID)) { in createExtraFieldToAlignData()