Home
last modified time | relevance | path

Searched refs:eocd (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/util/apk/
DSignatureInfo.java39 public final ByteBuffer eocd; field in SignatureInfo
42 long eocdOffset, ByteBuffer eocd) { in SignatureInfo() argument
47 this.eocd = eocd; in SignatureInfo()
DApkSigningBlockUtils.java62 ByteBuffer eocd = eocdAndOffsetInFile.first; in findSignature() local
69 long centralDirOffset = getCentralDirOffset(eocd, eocdOffset); in findSignature()
84 eocd); in findSignature()
151 ByteBuffer eocdBuf = signatureInfo.eocd.duplicate(); in verifyIntegrityFor1MbChunkBasedAlgorithm()
154 DataSource eocd = new ByteBufferDataSource(eocdBuf); in verifyIntegrityFor1MbChunkBasedAlgorithm() local
167 new DataSource[] {beforeApkSigningBlock, centralDir, eocd}); in verifyIntegrityFor1MbChunkBasedAlgorithm()
367 static long getCentralDirOffset(ByteBuffer eocd, long eocdOffset) in getCentralDirOffset() argument
370 long centralDirOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocd); in getCentralDirOffset()
376 long centralDirSize = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocd); in getCentralDirOffset()
DZipUtils.java133 ByteBuffer eocd = buf.slice(); in findZipEndOfCentralDirectoryRecord() local
134 eocd.order(ByteOrder.LITTLE_ENDIAN); in findZipEndOfCentralDirectoryRecord()
135 return Pair.create(eocd, bufOffsetInFile + eocdOffsetInBuf); in findZipEndOfCentralDirectoryRecord()
/frameworks/base/core/java/android/os/
DRecoverySystem.java243 byte[] eocd = new byte[commentSize + 22]; in verifyPackage()
245 raf.readFully(eocd); in verifyPackage()
249 if (eocd[0] != (byte)0x50 || eocd[1] != (byte)0x4b || in verifyPackage()
250 eocd[2] != (byte)0x05 || eocd[3] != (byte)0x06) { in verifyPackage()
254 for (int i = 4; i < eocd.length-3; ++i) { in verifyPackage()
255 if (eocd[i ] == (byte)0x50 && eocd[i+1] == (byte)0x4b && in verifyPackage()
256 eocd[i+2] == (byte)0x05 && eocd[i+3] == (byte)0x06) { in verifyPackage()
263 … new PKCS7(new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart)); in verifyPackage()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt71505 Landroid/util/apk/SignatureInfo;->eocd:Ljava/nio/ByteBuffer;