Searched refs:knownCerts (Results 1 – 7 of 7) sorted by relevance
47 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()
51 Set<String> knownCerts; field in ParsedPermission95 return knownCerts; in getKnownCerts()101 this.knownCerts = Set.of(knownCert.toUpperCase(Locale.US)); in setKnownCert()104 protected void setKnownCerts(String[] knownCerts) { in setKnownCerts() argument105 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()
101 final String[] knownCerts = res.getStringArray(knownCertsResource); in parsePermission() local102 if (knownCerts != null) { in parsePermission()103 permission.setKnownCerts(knownCerts); in parsePermission()111 if (permission.knownCerts == null) { in parsePermission()
485 public @Nullable Set<String> knownCerts; field in PermissionInfo686 sForStringSet.parcel(knownCerts, dest, parcelableFlags); in writeToParcel()747 knownCerts = sForStringSet.unparcel(source); in PermissionInfo()
346 return mPermissionInfo.knownCerts; in getKnownCerts()
680 pi.knownCerts = p.getKnownCerts(); in generatePermissionInfo()
874 field public static final int knownCerts = 16844330; // 0x101062a