Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/apk/
DSignatureInfo.java33 public final long centralDirOffset; field in SignatureInfo
41 SignatureInfo(ByteBuffer signatureBlock, long apkSigningBlockOffset, long centralDirOffset, in SignatureInfo() argument
45 this.centralDirOffset = centralDirOffset; in SignatureInfo()
DApkSigningBlockUtils.java69 long centralDirOffset = getCentralDirOffset(eocd, eocdOffset); in findSignature() local
71 findApkSigningBlock(apk, centralDirOffset); in findSignature()
82 centralDirOffset, in findSignature()
146 apkFileDescriptor, signatureInfo.centralDirOffset, in verifyIntegrityFor1MbChunkBasedAlgorithm()
147 signatureInfo.eocdOffset - signatureInfo.centralDirOffset); in verifyIntegrityFor1MbChunkBasedAlgorithm()
319 long signingBlockSize = signatureInfo.centralDirOffset in parseVerityDigestAndVerifySourceLength()
390 long centralDirOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocd); in getCentralDirOffset() local
391 if (centralDirOffset > eocdOffset) { in getCentralDirOffset()
393 "ZIP Central Directory offset out of range: " + centralDirOffset in getCentralDirOffset()
397 if (centralDirOffset + centralDirSize != eocdOffset) { in getCentralDirOffset()
[all …]
DApkVerityBuilder.java72 signatureInfo.centralDirOffset - signatureInfo.apkSigningBlockOffset; in generateApkVerity()
136 signatureInfo.centralDirOffset - signatureInfo.apkSigningBlockOffset; in calculateFsveritySignatureInternal()
270 new MemoryMappedFileDataSource(apk.getFD(), signatureInfo.centralDirOffset, in generateApkVerityDigestAtLeafLevel()
271 eocdCdOffsetFieldPosition - signatureInfo.centralDirOffset), in generateApkVerityDigestAtLeafLevel()
452 if ((signatureInfo.centralDirOffset - signatureInfo.apkSigningBlockOffset) in assertSigningBlockAlignedAndHasFullPages()
456 + (signatureInfo.centralDirOffset - signatureInfo.apkSigningBlockOffset)); in assertSigningBlockAlignedAndHasFullPages()