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.java42 public final @NonNull ByteBuffer eocd; field in SignatureInfo
45 long centralDirOffset, long eocdOffset, @NonNull ByteBuffer eocd) { in SignatureInfo() argument
50 this.eocd = eocd; in SignatureInfo()
DZipUtils.java135 ByteBuffer eocd = buf.slice(); in findZipEndOfCentralDirectoryRecord() local
136 eocd.order(ByteOrder.LITTLE_ENDIAN); in findZipEndOfCentralDirectoryRecord()
137 return Pair.create(eocd, bufOffsetInFile + eocdOffsetInBuf); in findZipEndOfCentralDirectoryRecord()
DApkSigningBlockUtils.java73 ByteBuffer eocd = eocdAndOffsetInFile.first; in findSignature() local
80 long centralDirOffset = getCentralDirOffset(eocd, eocdOffset); in findSignature()
95 eocd); in findSignature()
211 ByteBuffer eocdBuf = signatureInfo.eocd.duplicate(); in computeContentDigestsPer1MbChunk()
214 DataSource eocd = new ByteBufferDataSource(eocdBuf); in computeContentDigestsPer1MbChunk() local
217 new DataSource[]{beforeApkSigningBlock, centralDir, eocd}); in computeContentDigestsPer1MbChunk()
404 static long getCentralDirOffset(ByteBuffer eocd, long eocdOffset) in getCentralDirOffset() argument
407 long centralDirOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocd); in getCentralDirOffset()
413 long centralDirSize = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocd); in getCentralDirOffset()
/frameworks/base/core/java/android/os/
DRecoverySystem.java307 byte[] eocd = new byte[commentSize + 22]; in verifyPackage()
309 raf.readFully(eocd); in verifyPackage()
313 if (eocd[0] != (byte)0x50 || eocd[1] != (byte)0x4b || in verifyPackage()
314 eocd[2] != (byte)0x05 || eocd[3] != (byte)0x06) { in verifyPackage()
318 for (int i = 4; i < eocd.length-3; ++i) { in verifyPackage()
319 if (eocd[i ] == (byte)0x50 && eocd[i+1] == (byte)0x4b && in verifyPackage()
320 eocd[i+2] == (byte)0x05 && eocd[i+3] == (byte)0x06) { in verifyPackage()
327 … new PKCS7(new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart)); in verifyPackage()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt56839 Landroid/util/apk/SignatureInfo;->eocd:Ljava/nio/ByteBuffer;