Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtilsLite.java52 ByteBuffer eocdBuf = eocdAndOffsetInFile.getFirst(); in findZipSections() local
54 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in findZipSections()
55 long cdStartOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocdBuf); in findZipSections()
62 long cdSizeBytes = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocdBuf); in findZipSections()
71 int cdRecordCount = ZipUtils.getZipEocdCentralDirectoryTotalRecordCount(eocdBuf); in findZipSections()
78 eocdBuf); in findZipSections()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java114 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in generateVerityTreeRootHash() local
115 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in generateVerityTreeRootHash()
116 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in generateVerityTreeRootHash()
117 eocdBuf.flip(); in generateVerityTreeRootHash()
118 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in generateVerityTreeRootHash()
121 DataSources.asDataSource(eocdBuf))); in generateVerityTreeRootHash()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java836 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in copyWithModifiedCDOffset() local
837 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in copyWithModifiedCDOffset()
838 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in copyWithModifiedCDOffset()
839 eocdBuf.flip(); in copyWithModifiedCDOffset()
840 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in copyWithModifiedCDOffset()
841 return DataSources.asDataSource(eocdBuf); in copyWithModifiedCDOffset()