Home
last modified time | relevance | path

Searched refs:blockId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV3Verifier.java177 private static SignatureInfo findSignature(RandomAccessFile apk, int blockId) in findSignature() argument
179 return ApkSigningBlockUtils.findSignature(apk, blockId); in findSignature()
200 private VerifiedSigner verify(SignatureInfo signatureInfo, int blockId) in verify() argument
202 mBlockId = blockId; in verify()
236 if (blockId == APK_SIGNATURE_SCHEME_V3_BLOCK_ID) { in verify()
264 blockId); in verify()
563 public final int blockId; field in ApkSignatureSchemeV3Verifier.VerifiedSigner
568 int blockId) { in VerifiedSigner() argument
573 this.blockId = blockId; in VerifiedSigner()
DApkSigningBlockUtils.java69 static SignatureInfo findSignature(RandomAccessFile apk, int blockId) in findSignature() argument
88 blockId); in findSignature()
751 static ByteBuffer findApkSignatureSchemeBlock(ByteBuffer apkSigningBlock, int blockId) in findApkSignatureSchemeBlock() argument
783 if (id == blockId) { in findApkSignatureSchemeBlock()
790 "No block with ID " + blockId + " in APK Signing Block."); in findApkSignatureSchemeBlock()
DApkSignatureSchemeV4Verifier.java171 if (v3BlockId == signingInfoBlock.blockId) { in findSigningInfoForBlockId()
176 "Failed to read V4 signature block: " + signingInfoBlock.blockId, e); in findSigningInfoForBlockId()
DApkSignatureVerifier.java282 v3BlockId = v3Signer.blockId; in verifyV4Signature()
/frameworks/base/core/java/android/os/incremental/
DV4Signature.java124 public final int blockId; field in V4Signature.SigningInfoBlock
127 public SigningInfoBlock(int blockId, byte[] signingInfo) { in SigningInfoBlock() argument
128 this.blockId = blockId; in SigningInfoBlock()
133 int blockId = buffer.getInt(); in fromByteBuffer() local
135 return new SigningInfoBlock(blockId, signingInfo); in fromByteBuffer()
/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java399 int blockId = inputStream.readInt(); in getTotalDataSizeLocked() local
400 if (blockId == PARTITION_TYPE_MARKER) { in getTotalDataSizeLocked()