Searched refs:AndroidSdkVersion (Results 1 – 11 of 11) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | SignatureAlgorithm.java | 19 import com.android.apksig.internal.util.AndroidSdkVersion; 41 AndroidSdkVersion.N, 42 AndroidSdkVersion.M), 56 AndroidSdkVersion.N, 57 AndroidSdkVersion.M), 65 AndroidSdkVersion.N, 66 AndroidSdkVersion.INITIAL_RELEASE), 74 AndroidSdkVersion.N, 75 AndroidSdkVersion.INITIAL_RELEASE), 83 AndroidSdkVersion.N, [all …]
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 34 import com.android.apksig.internal.util.AndroidSdkVersion; 300 "v1v2v3-with-rsa-2048-lineage-3-signers.apk", AndroidSdkVersion.O)); in testSignaturesIgnoredForMaxSDK() 303 "v1v2v3-with-rsa-2048-lineage-3-signers.apk", AndroidSdkVersion.M)); in testSignaturesIgnoredForMaxSDK() 310 "v2-only-with-dsa-sha256-%s.apk", DSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted() 312 "v2-only-with-ecdsa-sha256-%s.apk", EC_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted() 314 "v2-only-with-rsa-pkcs1-sha256-%s.apk", RSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted() 321 "v2-only-with-ecdsa-sha512-%s.apk", EC_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted() 323 "v2-only-with-rsa-pkcs1-sha512-%s.apk", RSA_KEY_NAMES, AndroidSdkVersion.N); in testV2OneSignerOneSignatureAccepted() 330 "v3-only-with-dsa-sha256-%s.apk", DSA_KEY_NAMES, AndroidSdkVersion.P); in testV3OneSignerOneSignatureAccepted() 332 "v3-only-with-ecdsa-sha256-%s.apk", EC_KEY_NAMES, AndroidSdkVersion.P); in testV3OneSignerOneSignatureAccepted() [all …]
|
D | ApkSignerTest.java | 40 import com.android.apksig.internal.util.AndroidSdkVersion; 230 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() 240 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() 249 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() 302 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() 311 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() 320 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() 351 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() 360 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() 369 .setMinSdkVersionForRotation(AndroidSdkVersion.P) in generateGoldenFiles() [all …]
|
D | SourceStampVerifierTest.java | 29 import com.android.apksig.internal.util.AndroidSdkVersion; 279 Result verificationResult = verifySourceStamp("v3-only-with-stamp.apk", AndroidSdkVersion.P, in verifySourceStamp_noTimestamp_returnsDefaultValue() 280 AndroidSdkVersion.P); in verifySourceStamp_noTimestamp_returnsDefaultValue()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeConstants.java | 19 import com.android.apksig.internal.util.AndroidSdkVersion; 29 public static final int MIN_SDK_WITH_V3_SUPPORT = AndroidSdkVersion.P; 30 public static final int MIN_SDK_WITH_V31_SUPPORT = AndroidSdkVersion.T; 37 public static final int DEFAULT_ROTATION_MIN_SDK_VERSION = AndroidSdkVersion.T;
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 46 import com.android.apksig.internal.util.AndroidSdkVersion; 203 if (maxSdkVersion >= AndroidSdkVersion.N) { in verify() 236 zipSections, Math.max(minSdkVersion, AndroidSdkVersion.P), in verify() 267 if (minSdkVersion < AndroidSdkVersion.P || foundApkSigSchemeIds.isEmpty()) { in verify() 276 Math.max(minSdkVersion, AndroidSdkVersion.N), in verify() 306 if (maxSdkVersion >= AndroidSdkVersion.O) { in verify() 328 if ((minSdkVersion < AndroidSdkVersion.N) || (foundApkSigSchemeIds.isEmpty())) { in verify() 370 Math.max(minSdkVersion, AndroidSdkVersion.R), in verify() 642 if (maxSdkVersion >= AndroidSdkVersion.P) { in getSupportedSchemeNames() 644 } else if (maxSdkVersion >= AndroidSdkVersion.N) { in getSupportedSchemeNames() [all …]
|
D | SourceStampVerifier.java | 39 import com.android.apksig.internal.util.AndroidSdkVersion; 215 if (mMaxSdkVersion >= AndroidSdkVersion.P) { in verifySourceStamp() 233 if (mMaxSdkVersion >= AndroidSdkVersion.N && (mMinSdkVersion < AndroidSdkVersion.P || in verifySourceStamp() 252 if (mMinSdkVersion < AndroidSdkVersion.N in verifySourceStamp()
|
D | SigningCertificateLineage.java | 30 import com.android.apksig.internal.util.AndroidSdkVersion; 500 int minSdkVersion = AndroidSdkVersion.P; // lineage introduced in P in calculateMinSdkVersion() 1089 if (mMinSdkVersion < AndroidSdkVersion.P) { in build() 1090 mMinSdkVersion = AndroidSdkVersion.P; in build()
|
D | DefaultApkSignerEngine.java | 44 import com.android.apksig.internal.util.AndroidSdkVersion; 423 || currentMinSdk <= AndroidSdkVersion.P) { in processV3Configs() 428 if (currentMinSdk > AndroidSdkVersion.P && currentMinSdk > mMinSdkVersion) { in processV3Configs() 500 if (current <= mMinSdkVersion || current <= AndroidSdkVersion.P) { in getMinSdkFromV3SignatureAlgorithms()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 45 import com.android.apksig.internal.util.AndroidSdkVersion; 526 if (minSdkVersion < AndroidSdkVersion.N) { in verifySigBlockAgainstSigFile() 716 if (minSdkVersion < AndroidSdkVersion.KITKAT) { in verifySignerInfoAgainstSigFile() 732 + AndroidSdkVersion.KITKAT); in verifySignerInfoAgainstSigFile() 739 if (maxSdkVersion >= AndroidSdkVersion.N) { in verifySignerInfoAgainstSigFile() 851 if (maxSdkVersion >= AndroidSdkVersion.N) { in verifySigFileAgainstManifest() 1147 if (minSdkVersion < AndroidSdkVersion.JELLY_BEAN_MR2) { in getDigestsToVerify() 1183 if (maxSdkVersion >= AndroidSdkVersion.JELLY_BEAN_MR2) { in getDigestsToVerify() 1253 "SHA-384", AndroidSdkVersion.GINGERBREAD); 1255 "SHA-512", AndroidSdkVersion.GINGERBREAD);
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | AndroidSdkVersion.java | 22 public abstract class AndroidSdkVersion { class 25 private AndroidSdkVersion() {} in AndroidSdkVersion() method in AndroidSdkVersion
|