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;
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/
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.java1086 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.java40 import android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion;
216 existingApexPkg.applicationInfo.sourceDir, SignatureSchemeVersion.JAR); in validateApexSignature()
DPackageInstallerSession.java2152 PackageParser.SigningDetails.SignatureSchemeVersion.JAR); in validateApkInstallLocked()
/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.java1376 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/
DSigningDetailsTest.java23 import static android.content.pm.PackageParser.SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_…
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageUtils.java2746 minSignatureScheme = SigningDetails.SignatureSchemeVersion.SIGNING_BLOCK_V2;
2755 baseCodePath, SigningDetails.SignatureSchemeVersion.JAR);