/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureVerifier.java | 28 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion; 67 @SignatureSchemeVersion int minSignatureSchemeVersion) in verify() 92 @SignatureSchemeVersion int minSignatureSchemeVersion, boolean verifyFull) in verifySignatures() 95 if (minSignatureSchemeVersion > SignatureSchemeVersion.SIGNING_BLOCK_V4) { in verifySignatures() 107 if (minSignatureSchemeVersion >= SignatureSchemeVersion.SIGNING_BLOCK_V4) { in verifySignatures() 113 if (minSignatureSchemeVersion > SignatureSchemeVersion.SIGNING_BLOCK_V3) { in verifySignatures() 124 @SignatureSchemeVersion int minSignatureSchemeVersion, boolean verifyFull) in verifyV3AndBelowSignatures() 131 if (minSignatureSchemeVersion >= SignatureSchemeVersion.SIGNING_BLOCK_V3) { in verifyV3AndBelowSignatures() 138 if (minSignatureSchemeVersion > SignatureSchemeVersion.SIGNING_BLOCK_V2) { in verifyV3AndBelowSignatures() 150 if (minSignatureSchemeVersion >= SignatureSchemeVersion.SIGNING_BLOCK_V2) { in verifyV3AndBelowSignatures() [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 | 1086 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 | 40 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion; 216 existingApexPkg.applicationInfo.sourceDir, SignatureSchemeVersion.JAR); in validateApexSignature()
|
D | PackageInstallerSession.java | 2152 PackageParser.SigningDetails.SignatureSchemeVersion.JAR); in validateApkInstallLocked()
|
/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 | 1376 minSignatureScheme = SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V2; in collectCertificates() 1384 apkPath, SigningDetails.SignatureSchemeVersion.JAR); in collectCertificates() 5890 @IntDef({SigningDetails.SignatureSchemeVersion.UNKNOWN, 5891 SigningDetails.SignatureSchemeVersion.JAR, 5892 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V2, 5893 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V3, 5894 SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V4}) 5895 public @interface SignatureSchemeVersion { annotation in SigningDetails 5906 @SignatureSchemeVersion 5956 new SigningDetails(null, SignatureSchemeVersion.UNKNOWN, null, null); [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | SigningDetailsTest.java | 23 import static android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_…
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ParsingPackageUtils.java | 2746 minSignatureScheme = SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V2; 2755 baseCodePath, SigningDetails.SignatureSchemeVersion.JAR);
|