Searched refs:SignatureSchemeVersion (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureVerifier.java | 28 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion; 66 @SignatureSchemeVersion int minSignatureSchemeVersion) in verify() 69 if (minSignatureSchemeVersion > SignatureSchemeVersion.SIGNING_BLOCK_V3) { in verify() 95 signerSigs, SignatureSchemeVersion.SIGNING_BLOCK_V3, in verify() 99 if (minSignatureSchemeVersion >= SignatureSchemeVersion.SIGNING_BLOCK_V3) { in verify() 113 if (minSignatureSchemeVersion > SignatureSchemeVersion.SIGNING_BLOCK_V2) { in verify() 127 signerSigs, SignatureSchemeVersion.SIGNING_BLOCK_V2); in verify() 130 if (minSignatureSchemeVersion >= SignatureSchemeVersion.SIGNING_BLOCK_V2) { in verify() 144 if (minSignatureSchemeVersion > SignatureSchemeVersion.JAR) { in verify() 229 return new PackageParser.SigningDetails(lastSigs, SignatureSchemeVersion.JAR); in verifyV1Signature() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/ |
D | BackupUtilsTest.java | 102 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() 122 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse() 206 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_equalSignatures_returnsTrue() 229 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_extraSignatureInTarget_returnsTrue() 251 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_extraSignatureInStored_returnsFalse() 274 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_oneNonMatchingSignature_returnsFalse() 298 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureNoRotation_returnsTrue() 323 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureWithRotationAssumeDataCapability_returnsTrue() 351 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureWithRotationAssumeNoDataCapability_returnsFalse()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | AppBackupUtilsTest.java | 403 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_disallowsUnsignedApps_storedSignatureNull_returnsFalse() 423 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_disallowsUnsignedApps_storedSignatureEmpty_returnsFalse() 504 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_equalSignatures_returnsTrue() 527 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_extraSignatureInTarget_returnsTrue() 550 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_extraSignatureInStored_returnsFalse() 573 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_oneNonMatchingSignature_returnsFalse() 596 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureNoRotation_returnsTrue() 621 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureWithRotationAssumeDataCapability_returnsTrue() 649 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in signaturesMatch_singleStoredSignatureWithRotationAssumeNoDataCapability_returnsFalse()
|
D | TarBackupReaderTest.java | 379 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore() 416 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept() 454 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_restoreAnyVersion_returnsAccept() 495 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept() 539 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk() 579 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSignatures.java | 27 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion; 126 signatureSchemeVersion = SignatureSchemeVersion.UNKNOWN; in readXml()
|
D | PackageInstallerSession.java | 1196 PackageParser.SigningDetails.SignatureSchemeVersion.JAR); in validateInstallLocked()
|
D | PackageManagerService.java | 181 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion; 8497 != SignatureSchemeVersion.UNKNOWN) { 17180 < SignatureSchemeVersion.SIGNING_BLOCK_V2) {
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1508 int minSignatureScheme = SigningDetails.SignatureSchemeVersion.JAR; in collectCertificates() 1511 minSignatureScheme = SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V2; in collectCertificates() 5653 @IntDef({SigningDetails.SignatureSchemeVersion.UNKNOWN, 5654 SigningDetails.SignatureSchemeVersion.JAR, 5655 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V2, 5656 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3}) 5657 public @interface SignatureSchemeVersion { annotation in PackageParser.SigningDetails 5666 @SignatureSchemeVersion 5733 new SigningDetails(null, SignatureSchemeVersion.UNKNOWN, null, null, null); 5737 @SignatureSchemeVersion int signatureSchemeVersion, in SigningDetails() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 1049 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in genPackage()
|