Home
last modified time | relevance | path

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

12

/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DWiFiKeyManager.java42 Enumeration<String> aliases = mKeyStore.aliases(); in enableClientAuth() local
43 while (aliases.hasMoreElements()) { in enableClientAuth()
44 String alias = aliases.nextElement(); in enableClientAuth()
92 List<AliasEntry> aliases = new ArrayList<>(); in chooseClientAlias() local
100 aliases.add(new AliasEntry(preference, aliasAndKey[0])); in chooseClientAlias()
109 aliases.add(new AliasEntry(preference, aliasAndKey[0])); in chooseClientAlias()
113 Collections.sort(aliases); in chooseClientAlias()
114 return aliases.isEmpty() ? null : aliases.get(0).getAlias(); in chooseClientAlias()
119 List<String> aliases = new ArrayList<>(); in getClientAliases() local
125 aliases.add(aliasAndKey[0]); in getClientAliases()
[all …]
DOSUManager.java191 Enumeration<String> aliases = keyStore.aliases(); in loadKeyStore() local
192 while (aliases.hasMoreElements()) { in loadKeyStore()
193 Log.d("ZXC", "KS Alias '" + aliases.nextElement() + "'"); in loadKeyStore()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java608 public void setCaCertificateAliases(@Nullable String[] aliases) { in setCaCertificateAliases() argument
609 if (aliases == null) { in setCaCertificateAliases()
611 } else if (aliases.length == 1) { in setCaCertificateAliases()
613 setCaCertificateAlias(aliases[0]); in setCaCertificateAliases()
617 for (int i = 0; i < aliases.length; i++) { in setCaCertificateAliases()
621 sb.append(encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + aliases[i])); in setCaCertificateAliases()
649 String[] aliases = TextUtils.split(values, CA_CERT_ALIAS_DELIMITER); in getCaCertificateAliases() local
650 for (int i = 0; i < aliases.length; i++) { in getCaCertificateAliases()
651 aliases[i] = decodeCaCertificateAlias(aliases[i]); in getCaCertificateAliases()
652 if (aliases[i].startsWith(Credentials.CA_CERTIFICATE)) { in getCaCertificateAliases()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java80 String[] aliases = mEnterpriseConfig.getCaCertificateAliases(); in testLoadSingleCaCertificateAlias() local
81 assertEquals(aliases.length, 1); in testLoadSingleCaCertificateAlias()
82 assertEquals(aliases[0], alias); in testLoadSingleCaCertificateAlias()
104 String[] aliases = mEnterpriseConfig.getCaCertificateAliases(); in testLoadMultipleCaCertificates() local
105 assertEquals(aliases.length, 2); in testLoadMultipleCaCertificates()
106 assertEquals(aliases[0], alias0); in testLoadMultipleCaCertificates()
107 assertEquals(aliases[1], alias1); in testLoadMultipleCaCertificates()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java40 aliases = new ArrayList<Alias>(); in Config()
43 public List<Alias> aliases; field in FontListParser.Config
112 config.aliases.add(readAlias(parser)); in readFamilies()
DTypeface.java365 for (FontListParser.Alias alias : fontConfig.aliases) { in init()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java139 Enumeration<String> aliases = ks.aliases(); in parse() local
140 while (aliases.hasMoreElements()) { in parse()
141 String alias = aliases.nextElement(); in parse()
/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyPairGeneratorTest.java88 String[] aliases = mAndroidKeyStore.list(""); in setupPassword() local
89 assertNotNull(aliases); in setupPassword()
90 assertEquals(0, aliases.length); in setupPassword()
DAndroidKeyStoreTest.java744 final Enumeration<String> aliases = mKeyStore.aliases(); in assertAliases() local
750 while (aliases.hasMoreElements()) { in assertAliases()
752 final String alias = aliases.nextElement(); in assertAliases()
784 mKeyStore.aliases(); in testKeyStore_Aliases_NotInitialized_Encrypted_Failure()
/frameworks/base/core/java/android/security/net/config/
DTrustedCertificateStoreAdapter.java93 public Set<String> aliases() { in aliases() method in TrustedCertificateStoreAdapter
DKeyStoreCertificateSource.java59 for (Enumeration<String> en = mKeyStore.aliases(); en.hasMoreElements();) { in ensureInitialized()
/frameworks/compile/libbcc/tests/libbcc/
Dtbaa.ll4 ; RUN: opt -load libbcc.so -kernelexp -tbaa -aa-eval -print-no-aliases -evaluate-aa-metadata < %s -…
Dtbaa-through-alloca.ll4 ; RUN: opt -load libbcc.so -kernelexp -inline -tbaa -aa-eval -print-may-aliases -evaluate-aa-metada…
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java878 private void asserCaCertsAliasesMatch(X509Certificate[] certs, String[] aliases) { in asserCaCertsAliasesMatch() argument
879 assertEquals(certs.length, aliases.length); in asserCaCertsAliasesMatch()
880 List<String> aliasList = new ArrayList<String>(Arrays.asList(aliases)); in asserCaCertsAliasesMatch()
902 ArrayList<String> aliases = new ArrayList<String>(); in assertSavedCaCerts() local
906 aliases.add(caCertVariable.substring(WifiEnterpriseConfig.CA_CERT_PREFIX.length())); in assertSavedCaCerts()
914 aliases.add(alias.substring(Credentials.CA_CERTIFICATE.length())); in assertSavedCaCerts()
919 asserCaCertsAliasesMatch(eapConfig.caCerts, aliases.toArray(new String[aliases.size()])); in assertSavedCaCerts()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java779 final Set<String> aliases = new HashSet<String>(rawAliases.length); in getUniqueAliases() local
787 aliases.add(new String(alias.substring(idx + 1))); in getUniqueAliases()
790 return aliases; in getUniqueAliases()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java573 String[] aliases = config.getCaCertificateAliases(); in removeKeys() local
575 if (aliases != null) { in removeKeys()
576 for (String ca : aliases) { in removeKeys()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetManagerServiceTest.java56 ArrayMap<String, Long> aliases = pksd.getAliases(); in testPackageKeySetDataConstructorUnassignend() local
57 assertNotNull(aliases); in testPackageKeySetDataConstructorUnassignend()
58 assertEquals(0, aliases.size()); in testPackageKeySetDataConstructorUnassignend()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java288 for (String alias : store.aliases()) { in testUserAddedCaOptIn()
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-alias-element.jd62 application components, including activity aliases. The
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl147 void uninstallCaCerts(in ComponentName admin, in String[] aliases); in uninstallCaCerts() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2781 List<ParcelableString> aliases = conn.getService().getUserCaAliases().getList(); in getInstalledCaCertificates() local
2782 List<String> result = new ArrayList<>(aliases.size()); in getInstalledCaCertificates()
2783 for (int i = 0; i < aliases.size(); i++) { in getInstalledCaCertificates()
2784 result.add(aliases.get(i).string); in getInstalledCaCertificates()
4342 public void uninstallCaCerts(ComponentName admin, String[] aliases) { in uninstallCaCerts() argument
4350 for (int i = 0 ; i < aliases.length; i++) { in uninstallCaCerts()
4351 keyChainConnection.getService().deleteCaCertificate(aliases[i]); in uninstallCaCerts()
/frameworks/base/docs/html/guide/topics/resources/
Daccessing-resources.jd275 <p>You can even use resources in XML to create aliases. For example, you can create a
/frameworks/base/docs/html/training/multiscreen/
Dscreensizes.jd292 configurations, the app uses layout aliases to match them to
/frameworks/base/docs/html/training/articles/
Dkeystore.jd178 java.security.KeyStore#aliases()} method:</p>
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd511 those that require column aliases, you should use

12