Home
last modified time | relevance | path

Searched refs:SignatureSchemeVersion (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/util/apk/
DApkSignatureVerifier.java28 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion;
66 @SignatureSchemeVersion int minSignatureSchemeVersion) in verify()
69 if (minSignatureSchemeVersion > SignatureSchemeVersion.SIGNING_BLOCK_V3) { in verify()
93 signerSigs, SignatureSchemeVersion.SIGNING_BLOCK_V3, in verify()
97 if (minSignatureSchemeVersion >= SignatureSchemeVersion.SIGNING_BLOCK_V3) { in verify()
111 if (minSignatureSchemeVersion > SignatureSchemeVersion.SIGNING_BLOCK_V2) { in verify()
125 signerSigs, SignatureSchemeVersion.SIGNING_BLOCK_V2); in verify()
128 if (minSignatureSchemeVersion >= SignatureSchemeVersion.SIGNING_BLOCK_V2) { in verify()
142 if (minSignatureSchemeVersion > SignatureSchemeVersion.JAR) { in verify()
227 return new PackageParser.SigningDetails(lastSigs, SignatureSchemeVersion.JAR); in verifyV1Signature()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java100 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse()
119 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse()
202 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_equalSignatures_returnsTrue()
224 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_extraSignatureInTarget_returnsTrue()
245 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_extraSignatureInStored_returnsFalse()
267 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_oneNonMatchingSignature_returnsFalse()
290 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureNoRotation_returnsTrue()
314 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureWithRotationAssumeDataCapability_returnsTrue()
341 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureWithRotationAssumeNoDataCapability_returnsFalse()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java437 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse()
456 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse()
536 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_equalSignatures_returnsTrue()
558 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_extraSignatureInTarget_returnsTrue()
580 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_extraSignatureInStored_returnsFalse()
602 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_oneNonMatchingSignature_returnsFalse()
624 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureNoRotation_returnsTrue()
648 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureWithRotationAssumeDataCapability_returnsTrue()
675 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureWithRotationAssumeNoDataCapability_returnsFalse()
DTarBackupReaderTest.java381 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
418 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
456 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
497 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept()
541 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk()
581 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSignaturesTest.java182 PackageParser.SigningDetails.SignatureSchemeVersion.UNKNOWN); in testReadXmlWithMissingSigsCount()
189 PackageParser.SigningDetails.SignatureSchemeVersion.UNKNOWN, in testReadXmlWithMissingSchemeVersion()
199 PackageParser.SigningDetails.SignatureSchemeVersion.UNKNOWN, in testReadXmlWithSigningLineageWithMissingSchemeVersion()
DBaseShortcutManagerTest.java1062 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in genPackage()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java21 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion;
128 signatureSchemeVersion = SignatureSchemeVersion.UNKNOWN; in readXml()
DStagingManager.java36 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion;
132 newSigningDetails = ApkSignatureVerifier.verify(apexPath, SignatureSchemeVersion.JAR); in validateApexSignature()
150 existingApexPkg.applicationInfo.sourceDir, SignatureSchemeVersion.JAR); in validateApexSignature()
DPackageInstallerSession.java1625 PackageParser.SigningDetails.SignatureSchemeVersion.JAR); in validateApkInstallLocked()
DPackageManagerService.java180 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion;
9031 != SignatureSchemeVersion.UNKNOWN) {
16883 < SignatureSchemeVersion.SIGNING_BLOCK_V2) {
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java183 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in testBackupManifest_withSignatures_writesCorrectSignatures()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1565 int minSignatureScheme = SigningDetails.SignatureSchemeVersion.JAR; in collectCertificates()
1568 minSignatureScheme = SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V2; in collectCertificates()
5969 @IntDef({SigningDetails.SignatureSchemeVersion.UNKNOWN,
5970 SigningDetails.SignatureSchemeVersion.JAR,
5971 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V2,
5972 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3})
5973 public @interface SignatureSchemeVersion { annotation in SigningDetails
5983 @SignatureSchemeVersion
6033 new SigningDetails(null, SignatureSchemeVersion.UNKNOWN, null, null);
6037 @SignatureSchemeVersion int signatureSchemeVersion, in SigningDetails()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt15701 Landroid/content/pm/PackageParser$SigningDetails$SignatureSchemeVersion;->JAR:I
15702 Landroid/content/pm/PackageParser$SigningDetails$SignatureSchemeVersion;->SIGNING_BLOCK_V2:I
15703 Landroid/content/pm/PackageParser$SigningDetails$SignatureSchemeVersion;->SIGNING_BLOCK_V3:I
15704 Landroid/content/pm/PackageParser$SigningDetails$SignatureSchemeVersion;->UNKNOWN:I