Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DSignatureInfo.java36 public final long eocdOffset; field in SignatureInfo
42 long eocdOffset, ByteBuffer eocd) { in SignatureInfo() argument
46 this.eocdOffset = eocdOffset; in SignatureInfo()
DApkSigningBlockUtils.java63 long eocdOffset = eocdAndOffsetInFile.second; in findSignature() local
64 if (ZipUtils.isZip64EndOfCentralDirectoryLocatorPresent(apk, eocdOffset)) { in findSignature()
69 long centralDirOffset = getCentralDirOffset(eocd, eocdOffset); in findSignature()
83 eocdOffset, in findSignature()
147 signatureInfo.eocdOffset - signatureInfo.centralDirOffset); in verifyIntegrityFor1MbChunkBasedAlgorithm()
387 static long getCentralDirOffset(ByteBuffer eocd, long eocdOffset) in getCentralDirOffset() argument
391 if (centralDirOffset > eocdOffset) { in getCentralDirOffset()
394 + ". ZIP End of Central Directory offset: " + eocdOffset); in getCentralDirOffset()
397 if (centralDirOffset + centralDirSize != eocdOffset) { in getCentralDirOffset()
DApkVerityBuilder.java158 signingBlockSize, signatureInfo.eocdOffset); in calculateFsveritySignatureInternal()
268 signatureInfo.eocdOffset + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET; in generateApkVerityDigestAtLeafLevel()
359 long signingBlockSize, long eocdOffset) { in generateFsverityExtensions() argument
400 buffer.putLong(eocdOffset + ZIP_EOCD_CENTRAL_DIR_OFFSET_FIELD_OFFSET); // offset in generateFsverityExtensions()