Home
last modified time | relevance | path

Searched refs:knownCerts (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPermissionInfoTest.java47 permissionInfo.knownCerts = new ArraySet<>(2); in createFromParcel_returnsKnownCerts()
48 permissionInfo.knownCerts.add(KNOWN_CERT_DIGEST_1); in createFromParcel_returnsKnownCerts()
49 permissionInfo.knownCerts.add(KNOWN_CERT_DIGEST_2); in createFromParcel_returnsKnownCerts()
56 assertNotNull(unparceledPermissionInfo.knownCerts); in createFromParcel_returnsKnownCerts()
57 assertEquals(2, unparceledPermissionInfo.knownCerts.size()); in createFromParcel_returnsKnownCerts()
58 assertTrue(unparceledPermissionInfo.knownCerts.contains(KNOWN_CERT_DIGEST_1)); in createFromParcel_returnsKnownCerts()
59 assertTrue(unparceledPermissionInfo.knownCerts.contains(KNOWN_CERT_DIGEST_2)); in createFromParcel_returnsKnownCerts()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedPermission.java51 Set<String> knownCerts; field in ParsedPermission
95 return knownCerts; in getKnownCerts()
101 this.knownCerts = Set.of(knownCert.toUpperCase(Locale.US)); in setKnownCert()
104 protected void setKnownCerts(String[] knownCerts) { in setKnownCerts() argument
105 this.knownCerts = new ArraySet<>(); in setKnownCerts()
106 for (String knownCert : knownCerts) { in setKnownCerts()
107 this.knownCerts.add(knownCert.toUpperCase(Locale.US)); in setKnownCerts()
139 sForStringSet.parcel(knownCerts, dest, flags); in writeToParcel()
152 this.knownCerts = sForStringSet.unparcel(in); in ParsedPermission()
DParsedPermissionUtils.java101 final String[] knownCerts = res.getStringArray(knownCertsResource); in parsePermission() local
102 if (knownCerts != null) { in parsePermission()
103 permission.setKnownCerts(knownCerts); in parsePermission()
111 if (permission.knownCerts == null) { in parsePermission()
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java485 public @Nullable Set<String> knownCerts; field in PermissionInfo
686 sForStringSet.parcel(knownCerts, dest, parcelableFlags); in writeToParcel()
747 knownCerts = sForStringSet.unparcel(source); in PermissionInfo()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermission.java346 return mPermissionInfo.knownCerts; in getKnownCerts()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageInfoWithoutStateUtils.java680 pi.knownCerts = p.getKnownCerts(); in generatePermissionInfo()
/frameworks/base/core/api/
Dcurrent.txt874 field public static final int knownCerts = 16844330; // 0x101062a