Home
last modified time | relevance | path

Searched refs:certs (Results 1 – 14 of 14) sorted by relevance

/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java134 ArrayList<byte[]> certs = new ArrayList<byte[]>(mCaCerts.size() + 1); in onSaveStates() local
136 certs.add(mUserCert.getEncoded()); in onSaveStates()
139 certs.add(cert.getEncoded()); in onSaveStates()
141 outStates.putByteArray(CERTS_KEY, Util.toBytes(certs)); in onSaveStates()
158 ArrayList<byte[]> certs = Util.fromBytes(savedStates.getByteArray(CERTS_KEY)); in onRestoreStates() local
159 for (byte[] cert : certs) { in onRestoreStates()
437 Certificate[] certs = entry.getCertificateChain(); in installFrom() local
438 Log.d(TAG, "# certs extracted = " + certs.length); in installFrom()
439 mCaCerts = new ArrayList<X509Certificate>(certs.length); in installFrom()
440 for (Certificate c : certs) { in installFrom()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java204 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(MY_USER_ID)); in getNumberOfOwnerInstalledCaCertsForCurrentUser() local
205 if (certs == null) { in getNumberOfOwnerInstalledCaCertsForCurrentUser()
208 return certs.size(); in getNumberOfOwnerInstalledCaCertsForCurrentUser()
217 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(userId)); in getNumberOfOwnerInstalledCaCertsForManagedProfile() local
218 if (certs == null) { in getNumberOfOwnerInstalledCaCertsForManagedProfile()
221 return certs.size(); in getNumberOfOwnerInstalledCaCertsForManagedProfile()
DCaCertsPreferenceControllerBase.java39 final int certs = getNumberOfCaCerts(); in updateState() local
41 R.plurals.enterprise_privacy_number_ca_certs, certs, certs)); in updateState()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java193 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(MY_USER_ID)); in getNumberOfOwnerInstalledCaCertsForCurrentUser() local
194 if (certs == null) { in getNumberOfOwnerInstalledCaCertsForCurrentUser()
197 return certs.size(); in getNumberOfOwnerInstalledCaCertsForCurrentUser()
206 final List<String> certs = mDpm.getOwnerInstalledCaCerts(new UserHandle(userId)); in getNumberOfOwnerInstalledCaCertsForManagedProfile() local
207 if (certs == null) { in getNumberOfOwnerInstalledCaCertsForManagedProfile()
210 return certs.size(); in getNumberOfOwnerInstalledCaCertsForManagedProfile()
DCaCertsPreferenceControllerBase.java39 final int certs = getNumberOfCaCerts(); in updateState() local
41 R.plurals.enterprise_privacy_number_ca_certs, certs, certs)); in updateState()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp41 static bssl::UniquePtr<X509> stringToX509Certs(const char* certs) { in stringToX509Certs() argument
42 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(certs, strlen(certs))); in stringToX509Certs()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java1404 ArrayList<String> certs = new ArrayList<String>(); in loadCertificates() local
1405 certs.add(mUnspecifiedCertString); in loadCertificates()
1407 certs.add(mMultipleCertSetString); in loadCertificates()
1410 certs.add(mUseSystemCertsString); in loadCertificates()
1420 certs.addAll(Arrays.stream(certificateNames) in loadCertificates()
1432 certs.add(noCertificateString); in loadCertificates()
1436 if (certs.size() == 2) { in loadCertificates()
1437 certs.remove(mUnspecifiedCertString); in loadCertificates()
1445 certs.toArray(new String[certs.size()])); in loadCertificates()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java1346 ArrayList<String> certs = new ArrayList<String>(); in loadCertificates() local
1347 certs.add(mUnspecifiedCertString); in loadCertificates()
1349 certs.add(mMultipleCertSetString); in loadCertificates()
1352 certs.add(mUseSystemCertsString); in loadCertificates()
1355 certs.addAll( in loadCertificates()
1360 certs.add(noCertificateString); in loadCertificates()
1364 certs.toArray(new String[certs.size()])); in loadCertificates()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsSettings.java817 final List<CertHolder> certs = mCertHoldersByUserId.get(certHolder.mProfileId); in remove() local
818 if (certs != null) { in remove()
819 certs.remove(certHolder); in remove()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java817 final List<CertHolder> certs = mCertHoldersByUserId.get(certHolder.mProfileId); in remove() local
818 if (certs != null) { in remove()
819 certs.remove(certHolder); in remove()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c1172 static int ipp_server_cert_cb(http_t *http, void *tls, cups_array_t *certs, void *user_data) { in ipp_server_cert_cb() argument
1176 http_credential_t *credential = cupsArrayFirst(certs); in ipp_server_cert_cb()
/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, ...