Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DZipUtils.java275 long cdSizeBytes = apkSections.getZipCentralDirectorySizeBytes(); in parseZipCentralDirectory() local
276 if (cdSizeBytes > Integer.MAX_VALUE) { in parseZipCentralDirectory()
277 throw new ApkFormatException("ZIP Central Directory too large: " + cdSizeBytes); in parseZipCentralDirectory()
280 ByteBuffer cd = apk.getByteBuffer(cdOffset, (int) cdSizeBytes); in parseZipCentralDirectory()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtilsLite.java62 long cdSizeBytes = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocdBuf); in findZipSections() local
63 long cdEndOffset = cdStartOffset + cdSizeBytes; in findZipSections()
75 cdSizeBytes, in findZipSections()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java857 long cdSizeBytes = apkSections.getZipCentralDirectorySizeBytes(); in getZipCentralDirectory() local
858 if (cdSizeBytes > Integer.MAX_VALUE) { in getZipCentralDirectory()
859 throw new ApkFormatException("ZIP Central Directory too large: " + cdSizeBytes); in getZipCentralDirectory()
862 ByteBuffer cd = apk.getByteBuffer(cdOffset, (int) cdSizeBytes); in getZipCentralDirectory()