Home
last modified time | relevance | path

Searched refs:CertCapabilities (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DSigningDetails.java96 value = {CertCapabilities.INSTALLED_DATA,
97 CertCapabilities.SHARED_USER_ID,
98 CertCapabilities.PERMISSION,
99 CertCapabilities.ROLLBACK})
100 public @interface CertCapabilities { annotation in SigningDetails
579 @CertCapabilities int flags) { in hasCommonSignerWithCapability()
626 @CertCapabilities int flags) { in checkCapability()
647 @CertCapabilities int flags) throws CertificateException { in checkCapabilityRecover()
684 public boolean hasCertificate(@NonNull Signature signature, @CertCapabilities int flags) { in hasCertificate()
733 public boolean checkCapability(@Nullable String sha256String, @CertCapabilities int flags) { in checkCapability()
[all …]
DPackageParser.java5997 value = {CertCapabilities.INSTALLED_DATA,
5998 CertCapabilities.SHARED_USER_ID,
5999 CertCapabilities.PERMISSION,
6000 CertCapabilities.ROLLBACK})
6001 public @interface CertCapabilities { annotation in PackageParser.SigningDetails
6386 @CertCapabilities int flags) { in hasCommonSignerWithCapability()
6432 public boolean checkCapability(SigningDetails oldDetails, @CertCapabilities int flags) { in checkCapability()
6455 @CertCapabilities int flags) throws CertificateException { in checkCapabilityRecover()
6493 public boolean hasCertificate(Signature signature, @CertCapabilities int flags) { in hasCertificate()
6543 public boolean checkCapability(String sha256String, @CertCapabilities int flags) { in checkCapability()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageSignaturesTest.java109 {SigningDetails.CertCapabilities.INSTALLED_DATA,
110 SigningDetails.CertCapabilities.SHARED_USER_ID,
111 SigningDetails.CertCapabilities.PERMISSION,
112 SigningDetails.CertCapabilities.ROLLBACK};
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java23 import static android.content.pm.SigningDetails.CertCapabilities.SHARED_USER_ID;
486 @SigningDetails.CertCapabilities int flags) { in matchSignaturesRecover()
510 SigningDetails.CertCapabilities.INSTALLED_DATA) in matchSignatureInSystem()
513 SigningDetails.CertCapabilities.ROLLBACK)) { in matchSignatureInSystem()
556 SigningDetails.CertCapabilities.INSTALLED_DATA) in verifySignatures()
559 SigningDetails.CertCapabilities.ROLLBACK); in verifySignatures()
579 SigningDetails.CertCapabilities.INSTALLED_DATA) in verifySignatures()
584 SigningDetails.CertCapabilities.ROLLBACK); in verifySignatures()
620 SigningDetails.CertCapabilities.SHARED_USER_ID) in verifySignatures()
624 SigningDetails.CertCapabilities.SHARED_USER_ID); in verifySignatures()
[all …]
DPackageSessionVerifier.java152 SigningDetails.CertCapabilities.INSTALLED_DATA) in checkApexSignature()
154 SigningDetails.CertCapabilities.ROLLBACK)) { in checkApexSignature()
DReconcilePackageUtils.java194 SigningDetails.CertCapabilities.PERMISSION)) { in reconcilePackages()
DInstallPackageHelper.java1761 SigningDetails.CertCapabilities.INSTALLED_DATA) in preparePackageLI()
1763 SigningDetails.CertCapabilities.ROLLBACK)) { in preparePackageLI()
2077 SigningDetails.CertCapabilities.PERMISSION)) { in doesSignatureMatchForPermissions()
2081 SigningDetails.CertCapabilities.PERMISSION)) { in doesSignatureMatchForPermissions()
4185 SigningDetails.CertCapabilities.INSTALLED_DATA) in scanSystemPackageLI()
4188 SigningDetails.CertCapabilities.ROLLBACK)) { in scanSystemPackageLI()
DApexManager.java904 SigningDetails.CertCapabilities.INSTALLED_DATA)) { in checkApexSignature()
DInstantAppRegistry.java421 SigningDetails.CertCapabilities.INSTALLED_DATA)) {
DPackageManagerService.java6694 SigningDetails.CertCapabilities.PERMISSION); in isPlatformSigned()
6705 SigningDetails.CertCapabilities.INSTALLED_DATA); in isDataRestoreSafe()
6716 SigningDetails.CertCapabilities.INSTALLED_DATA); in isDataRestoreSafe()
6721 @SigningDetails.CertCapabilities int capability) { in hasSignatureCapability()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DSigningDetailsTest.java21 import static android.content.pm.SigningDetails.CertCapabilities.AUTH;
22 import static android.content.pm.SigningDetails.CertCapabilities.INSTALLED_DATA;
23 import static android.content.pm.SigningDetails.CertCapabilities.PERMISSION;
24 import static android.content.pm.SigningDetails.CertCapabilities.ROLLBACK;
25 import static android.content.pm.SigningDetails.CertCapabilities.SHARED_USER_ID;
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java32 import android.content.pm.SigningDetails.CertCapabilities;
890 @CertCapabilities int capability); in hasSignatureCapability()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt1215 SigningDetails.CertCapabilities.PERMISSION in <lambda>()
1220 SigningDetails.CertCapabilities.PERMISSION in <lambda>()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java71 import android.content.pm.SigningDetails.CertCapabilities;
5070 && !pmi.hasSignatureCapability(targetUid, authUid, CertCapabilities.AUTH)) {
5882 serviceInfo.uid, callingUid, CertCapabilities.AUTH)) {
5923 serviceInfo.uid, callingUid, CertCapabilities.AUTH)) {
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java3372 SigningDetails.CertCapabilities.PERMISSION)
3376 SigningDetails.CertCapabilities.PERMISSION);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12809 Landroid/content/pm/PackageParser$SigningDetails$CertCapabilities;->AUTH:I
12810 Landroid/content/pm/PackageParser$SigningDetails$CertCapabilities;->INSTALLED_DATA:I
12811 Landroid/content/pm/PackageParser$SigningDetails$CertCapabilities;->PERMISSION:I
12812 Landroid/content/pm/PackageParser$SigningDetails$CertCapabilities;->ROLLBACK:I
12813 Landroid/content/pm/PackageParser$SigningDetails$CertCapabilities;->SHARED_USER_ID:I