Home
last modified time | relevance | path

Searched refs:verifyForMinSdkVersion (Results 1 – 2 of 2) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/
DApkVerifierTest.java480 verifyForMinSdkVersion( in testV2UnknownPairIgnoredInApkSigningBlock()
490 verifyForMinSdkVersion( in testV3UnknownPairIgnoredInApkSigningBlock()
500 verifyForMinSdkVersion( in testV2UnknownSignatureAlgorithmsIgnored()
510 verifyForMinSdkVersion( in testV3UnknownSignatureAlgorithmsIgnored()
528 verifyForMinSdkVersion("v2-only-unknown-additional-attr.apk", AndroidSdkVersion.N)); in testV2UnknownAdditionalAttributeIgnored()
537 verifyForMinSdkVersion("v3-only-unknown-additional-attr.apk", AndroidSdkVersion.P)); in testV3UnknownAdditionalAttributeIgnored()
542verifyForMinSdkVersion("v2v3-unknown-additional-attr.apk", AndroidSdkVersion.P)); } in testV3UnknownAdditionalAttributeIgnored()
605 assertVerified(verifyForMinSdkVersion("v2-only-two-signers.apk", AndroidSdkVersion.N)); in testTwoSignersAccepted()
733 verifyForMinSdkVersion("v2-only-max-sized-eocd-comment.apk", AndroidSdkVersion.N)); in testMaxSizedZipEocdCommentAccepted()
740 verifyForMinSdkVersion("empty-unsigned.apk", 1); in testEmptyApk()
[all …]
DApkSignerTest.java584 assertVerified(verifyForMinSdkVersion(out, 1)); in testRsaSignedVerifies()
588 assertVerified(verifyForMinSdkVersion(out, 18)); in testRsaSignedVerifies()
591 verifyForMinSdkVersion(out, 17), Issue.JAR_SIG_UNSUPPORTED_SIG_ALG); in testRsaSignedVerifies()
602 assertVerified(verifyForMinSdkVersion(out, 1)); in testDsaSignedVerifies()
606 assertVerified(verifyForMinSdkVersion(out, 21)); in testDsaSignedVerifies()
609 verifyForMinSdkVersion(out, 20), Issue.JAR_SIG_UNSUPPORTED_SIG_ALG); in testDsaSignedVerifies()
621 assertVerified(verifyForMinSdkVersion(out, 18)); in testEcSignedVerifies()
624 verifyForMinSdkVersion(out, 17), Issue.JAR_SIG_UNSUPPORTED_SIG_ALG); in testEcSignedVerifies()
967 private static ApkVerifier.Result verifyForMinSdkVersion(DataSource apk, int minSdkVersion) in verifyForMinSdkVersion() method in ApkSignerTest