Home
last modified time | relevance | path

Searched refs:aliases (Results 1 – 24 of 24) sorted by relevance

/packages/apps/KeyChain/robotests/src/com/android/keychain/internal/
DGrantsDatabaseTest.java270 String[] aliases = {"alias-1", "alias-2", "alias-3"};
271 for (String alias : aliases) {
277 … RuntimeEnvironment.application, createExistingKeysProvider(aliases, EXISTING_ALIAS));
278 for (String alias : aliases) {
294 String[] aliases = {"alias-1", "alias-2", "alias-3"};
295 for (String alias : aliases) {
306 createExistingKeysProvider(aliases, selectableAlias, EXISTING_ALIAS));
307 for (String alias : aliases) {
326 String[] aliases = {"alias-1", "alias-2", "alias-3"};
327 for (String alias : aliases) {
[all …]
/packages/apps/Settings/src/com/android/settings/utils/
DAndroidKeystoreAliasLoader.java62 final Enumeration<String> aliases; in AndroidKeystoreAliasLoader() local
70 aliases = keyStore.aliases(); in AndroidKeystoreAliasLoader()
77 while (aliases.hasMoreElements()) { in AndroidKeystoreAliasLoader()
78 final String alias = aliases.nextElement(); in AndroidKeystoreAliasLoader()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java721 public void setCaCertificateAliases(@Nullable String[] aliases) { in setCaCertificateAliases() argument
722 if (aliases == null) { in setCaCertificateAliases()
724 } else if (aliases.length == 1) { in setCaCertificateAliases()
726 setCaCertificateAlias(aliases[0]); in setCaCertificateAliases()
730 for (int i = 0; i < aliases.length; i++) { in setCaCertificateAliases()
734 sb.append(encodeCaCertificateAlias(CA_CERTIFICATE + aliases[i])); in setCaCertificateAliases()
765 String[] aliases = TextUtils.split(values, CA_CERT_ALIAS_DELIMITER); in getCaCertificateAliases() local
766 for (int i = 0; i < aliases.length; i++) { in getCaCertificateAliases()
767 aliases[i] = decodeCaCertificateAlias(aliases[i]); in getCaCertificateAliases()
768 if (aliases[i].startsWith(CA_CERTIFICATE)) { in getCaCertificateAliases()
[all …]
/packages/modules/DnsResolver/
Dgethnamaddr.cpp142 std::vector<char*> aliases; in getanswer() local
227 aliases.push_back(bp); in getanswer()
289 aliases.push_back(bp); in getanswer()
368 aliases.push_back(nullptr); in getanswer()
369 qlen = aliases.size() * sizeof(*hent->h_aliases); in getanswer()
372 memcpy(bp, aliases.data(), qlen); in getanswer()
537 std::vector<char*> aliases; in netbsd_gethostent_r() local
586 aliases.push_back(cp); in netbsd_gethostent_r()
594 anum = aliases.size(); in netbsd_gethostent_r()
605 for (size_t i = 0; i < anum; i++) HENT_SCOPY(hent->h_aliases[i], aliases[i], buf, buflen); in netbsd_gethostent_r()
Dsethostent.cpp72 char* aliases[MAXALIASES]; in _hf_gethtbyname2() local
122 HENT_SCOPY(aliases[anum], hp->h_aliases[anum], ptr, len); in _hf_gethtbyname2()
166 HENT_SCOPY(hp->h_aliases[i], aliases[i], ptr, len); in _hf_gethtbyname2()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java183 String[] aliases = mEnterpriseConfig.getCaCertificateAliases(); in testLoadSingleCaCertificateAlias() local
184 assertEquals(aliases.length, 1); in testLoadSingleCaCertificateAlias()
185 assertEquals(aliases[0], alias); in testLoadSingleCaCertificateAlias()
207 String[] aliases = mEnterpriseConfig.getCaCertificateAliases(); in testLoadMultipleCaCertificates() local
208 assertEquals(aliases.length, 2); in testLoadMultipleCaCertificates()
209 assertEquals(aliases[0], alias0); in testLoadMultipleCaCertificates()
210 assertEquals(aliases[1], alias1); in testLoadMultipleCaCertificates()
648 X509Certificate caCertificate, String[] aliases, String domainSuffixMatch, in createEnterpriseConfig() argument
654 config.setCaCertificateAliases(aliases); in createEnterpriseConfig()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java275 List<String> aliases = Collections.list(keyStore.aliases()); in findAliasFromKeystore() local
276 if (aliases.isEmpty()) { in findAliasFromKeystore()
279 if (aliases.size() != 1) { in findAliasFromKeystore()
283 return aliases.get(0); in findAliasFromKeystore()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java397 Enumeration<String> aliases = keystore.aliases(); in extractPkcs12Internal() local
398 if (!aliases.hasMoreElements()) { in extractPkcs12Internal()
403 while (aliases.hasMoreElements()) { in extractPkcs12Internal()
404 String alias = aliases.nextElement(); in extractPkcs12Internal()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java438 final Enumeration<String> aliases = mKeyStore.aliases(); in doInBackground() local
439 while (aliases.hasMoreElements()) { in doInBackground()
440 final String alias = aliases.nextElement(); in doInBackground()
574 private CertificateAdapter(KeyStore keyStore, Context context, List<String> aliases) { in CertificateAdapter() argument
575 mAliases = aliases; in CertificateAdapter()
576 mSubjects.addAll(Collections.nCopies(aliases.size(), (String) null)); in CertificateAdapter()
DKeyChainService.java188 final Enumeration<String> aliases = mKeyStore.aliases(); in getExistingKeyAliases() local
189 while (aliases.hasMoreElements()) { in getExistingKeyAliases()
190 final String alias = aliases.nextElement(); in getExistingKeyAliases()
664 for (String alias : mTrustedCertificateStore.aliases()) {
822 List<String> aliases = new ArrayList<String>(chain.size());
828 aliases.add(alias);
831 return aliases;
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DAliasLoaderTest.java275 private void prepareKeyStoreWithAliases(ImmutableList<String> aliases) { in prepareKeyStoreWithAliases() argument
276 when(mKeyStoreSpi.engineAliases()).thenReturn(Collections.enumeration(aliases)); in prepareKeyStoreWithAliases()
277 for (int i = 0; i < aliases.size(); i++) { in prepareKeyStoreWithAliases()
278 when(mKeyStoreSpi.engineIsKeyEntry(aliases.get(i))).thenReturn(true); in prepareKeyStoreWithAliases()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java236 String[] aliases = config.getCaCertificateAliases(); in removeKeys() local
237 if (aliases == null || aliases.length == 0) { in removeKeys()
241 for (String ca : aliases) { in removeKeys()
/packages/apps/Settings/src/com/android/settings/security/
DResetCredentialsPreferenceController.java86 && mKeyStore.aliases().hasMoreElements()) in onResume()
88 && mWifiKeyStore.aliases().hasMoreElements()); in onResume()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java716 List<String> aliases = mTab.getAliases(service); in doInBackground() local
720 max += aliases.size(); in doInBackground()
721 aliasesByProfileId.put(profileId, aliases); in doInBackground()
726 List<String> aliases = aliasesByProfileId.get(profileId); in doInBackground() local
732 if (shouldSkipProfile(profile) || aliases == null in doInBackground()
739 final int aliasMax = aliases.size(); in doInBackground()
741 String alias = aliases.get(j); in doInBackground()
DUserCredentialsSettings.java301 Enumeration<String> aliases = keyStore.aliases(); in getCredentialsForUid() local
302 while (aliases.hasMoreElements()) { in getCredentialsForUid()
303 String alias = aliases.nextElement(); in getCredentialsForUid()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DConfigParser.java466 String alias = ks.aliases().nextElement(); in parsePkcs12()
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile185 # This tag can be used to specify a number of aliases that acts
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile185 # This tag can be used to specify a number of aliases that acts
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in231 # This tag can be used to specify a number of aliases that act as commands in
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses10888 aliases for its own annotations, are licensed under the MIT License.
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Des_wordlist.combined.gz