Home
last modified time | relevance | path

Searched refs:certificates (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java59 private ImmutableList<String> certificates; field in SimulatorService
161 public void setCertificatesList(ImmutableList<String> certificates) { in setCertificatesList() argument
162 this.certificates = certificates; in setCertificatesList()
180 return isCertificateValid(messageDigest.digest(signature.toByteArray()), this.certificates); in hasAccessToService()
200 byte[] clientCerfificate, ImmutableList<String> certificates) { in isCertificateValid() argument
201 for (String certificate : certificates) { in isCertificateValid()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialog.java449 String[] certificates = mKeyStore.list(prefix); in loadCertificates() local
451 if (certificates == null || certificates.length == 0) { in loadCertificates()
452 certificates = new String[] {first}; in loadCertificates()
454 String[] array = new String[certificates.length + 1]; in loadCertificates()
456 System.arraycopy(certificates, 0, array, 1, certificates.length); in loadCertificates()
457 certificates = array; in loadCertificates()
461 context, android.R.layout.simple_spinner_item, certificates); in loadCertificates()
465 for (int i = 1; i < certificates.length; ++i) { in loadCertificates()
466 if (certificates[i].equals(selected)) { in loadCertificates()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java517 String[] certificates = mKeyStore.list(prefix); in loadCertificates() local
519 if (certificates == null || certificates.length == 0) { in loadCertificates()
520 certificates = new String[] {first}; in loadCertificates()
522 String[] array = new String[certificates.length + 1]; in loadCertificates()
524 System.arraycopy(certificates, 0, array, 1, certificates.length); in loadCertificates()
525 certificates = array; in loadCertificates()
529 context, android.R.layout.simple_spinner_item, certificates); in loadCertificates()
533 for (int i = 1; i < certificates.length; ++i) { in loadCertificates()
534 if (certificates[i].equals(selected)) { in loadCertificates()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java206 Certificate[] certificates = keyStore.getCertificateChain(alias); in maybeUpdateClientKeyForEAPConfiguration() local
207 if (certificates == null) { in maybeUpdateClientKeyForEAPConfiguration()
210 if (!isCertificateChainValidType(certificates)) { in maybeUpdateClientKeyForEAPConfiguration()
217 (PrivateKey) key, castX509Certificates(certificates)); in maybeUpdateClientKeyForEAPConfiguration()
220 private boolean isCertificateChainValidType(Certificate[] certificates) { in isCertificateChainValidType() argument
221 return !Arrays.stream(certificates).anyMatch(c -> !(c instanceof X509Certificate)); in isCertificateChainValidType()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCertActivity.java177 JSONArray certificates = jsonObj.getJSONArray("certificates"); in doInBackground() local
180 for (int i = 0; i < certificates.length(); i++) { in doInBackground()
181 JSONObject cert = certificates.getJSONObject(i); in doInBackground()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsDialogBuilder.java281 List<X509Certificate> certificates = mDelegate.getX509CertsFromCertHolder(certHolder); in getCertLayout() local
282 if (certificates != null) { in getCertLayout()
283 for (X509Certificate certificate : certificates) { in getCertLayout()
DTrustedCredentialsSettings.java948 List<X509Certificate> certificates = null; in getX509CertsFromCertHolder() local
956 certificates = new ArrayList<X509Certificate>(n); in getX509CertsFromCertHolder()
960 certificates.add(certificate); in getX509CertsFromCertHolder()
967 return certificates; in getX509CertsFromCertHolder()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java281 List<X509Certificate> certificates = mDelegate.getX509CertsFromCertHolder(certHolder); in getCertLayout() local
282 if (certificates != null) { in getCertLayout()
283 for (X509Certificate certificate : certificates) { in getCertLayout()
DTrustedCredentialsSettings.java948 List<X509Certificate> certificates = null; in getX509CertsFromCertHolder() local
956 certificates = new ArrayList<X509Certificate>(n); in getX509CertsFromCertHolder()
960 certificates.add(certificate); in getX509CertsFromCertHolder()
967 return certificates; in getX509CertsFromCertHolder()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list264 Install certificates;install_credentials
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...