/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() 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/ |
D | BackupUtilsTest.java | 100 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/ |
D | AppBackupUtilsTest.java | 437 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()
|
D | TarBackupReaderTest.java | 381 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/ |
D | PackageSignaturesTest.java | 182 PackageParser.SigningDetails.SignatureSchemeVersion.UNKNOWN); in testReadXmlWithMissingSigsCount() 189 PackageParser.SigningDetails.SignatureSchemeVersion.UNKNOWN, in testReadXmlWithMissingSchemeVersion() 199 PackageParser.SigningDetails.SignatureSchemeVersion.UNKNOWN, in testReadXmlWithSigningLineageWithMissingSchemeVersion()
|
D | BaseShortcutManagerTest.java | 1062 PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in genPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSignatures.java | 21 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion; 128 signatureSchemeVersion = SignatureSchemeVersion.UNKNOWN; in readXml()
|
D | StagingManager.java | 36 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion; 132 newSigningDetails = ApkSignatureVerifier.verify(apexPath, SignatureSchemeVersion.JAR); in validateApexSignature() 150 existingApexPkg.applicationInfo.sourceDir, SignatureSchemeVersion.JAR); in validateApexSignature()
|
D | PackageInstallerSession.java | 1625 PackageParser.SigningDetails.SignatureSchemeVersion.JAR); in validateApkInstallLocked()
|
D | PackageManagerService.java | 180 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/ |
D | AppMetadataBackupWriterTest.java | 183 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, in testBackupManifest_withSignatures_writesCorrectSignatures()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1565 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/ |
D | hiddenapi-greylist-max-o.txt | 15701 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
|