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/internal/util/
DVerityTreeBuilder.java72 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in generateVerityTreeRootHash() local
73 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in generateVerityTreeRootHash()
74 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in generateVerityTreeRootHash()
75 eocdBuf.flip(); in generateVerityTreeRootHash()
76 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in generateVerityTreeRootHash()
79 DataSources.asDataSource(eocdBuf))); in generateVerityTreeRootHash()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java60 ByteBuffer eocdBuf = eocdAndOffsetInFile.getFirst(); in findZipSections() local
62 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in findZipSections()
63 long cdStartOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocdBuf); in findZipSections()
70 long cdSizeBytes = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocdBuf); in findZipSections()
79 int cdRecordCount = ZipUtils.getZipEocdCentralDirectoryTotalRecordCount(eocdBuf); in findZipSections()
86 eocdBuf); in findZipSections()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java977 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in copyWithModifiedCDOffset() local
978 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in copyWithModifiedCDOffset()
979 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in copyWithModifiedCDOffset()
980 eocdBuf.flip(); in copyWithModifiedCDOffset()
981 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in copyWithModifiedCDOffset()
982 return DataSources.asDataSource(eocdBuf); in copyWithModifiedCDOffset()