Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java23 import android.net.wifi.WifiEnterpriseConfig.Eap;
24 import android.net.wifi.WifiEnterpriseConfig.Phase2;
45 private WifiEnterpriseConfig mEnterpriseConfig;
49 mEnterpriseConfig = new WifiEnterpriseConfig(); in setUp()
92 WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias0), in testSaveMultipleCaCertificates()
93WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias1))); in testSaveMultipleCaCertificates()
102 WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias0), in testLoadMultipleCaCertificates()
103WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias1))); in testLoadMultipleCaCertificates()
111 return mEnterpriseConfig.getFieldValue(WifiEnterpriseConfig.CA_CERT_KEY, ""); in getCaCertField()
115 mEnterpriseConfig.setFieldValue(WifiEnterpriseConfig.CA_CERT_KEY, value); in setCaCertField()
[all …]
/frameworks/base/packages/Osu/src/com/android/configparse/
DConfigBuilder.java6 import android.net.wifi.WifiEnterpriseConfig;
66 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildConfig()
116 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildTTLSConfig()
158 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildTLSConfig()
214 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in buildBaseConfiguration()
231 return WifiEnterpriseConfig.Eap.TTLS; in remapEAPMethod()
233 return WifiEnterpriseConfig.Eap.TLS; in remapEAPMethod()
235 return WifiEnterpriseConfig.Eap.SIM; in remapEAPMethod()
237 return WifiEnterpriseConfig.Eap.AKA; in remapEAPMethod()
239 return WifiEnterpriseConfig.Eap.AKA_PRIME; in remapEAPMethod()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java6 import android.net.wifi.WifiEnterpriseConfig;
204 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildConfig()
254 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildTTLSConfig()
296 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildTLSConfig()
352 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in buildBaseConfiguration()
365 return WifiEnterpriseConfig.Eap.TTLS; in remapEAPMethod()
367 return WifiEnterpriseConfig.Eap.TLS; in remapEAPMethod()
369 return WifiEnterpriseConfig.Eap.SIM; in remapEAPMethod()
371 return WifiEnterpriseConfig.Eap.AKA; in remapEAPMethod()
373 return WifiEnterpriseConfig.Eap.AKA_PRIME; in remapEAPMethod()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DCredential.java3 import android.net.wifi.WifiEnterpriseConfig;
132 public Credential(WifiEnterpriseConfig enterpriseConfig, KeyStore keyStore, boolean update) in Credential()
200 case WifiEnterpriseConfig.Eap.TLS:
202 case WifiEnterpriseConfig.Eap.TTLS:
206 case WifiEnterpriseConfig.Phase2.PAP:
209 case WifiEnterpriseConfig.Phase2.MSCHAP:
212 case WifiEnterpriseConfig.Phase2.MSCHAPV2:
220 case WifiEnterpriseConfig.Eap.SIM:
222 case WifiEnterpriseConfig.Eap.AKA:
224 case WifiEnterpriseConfig.Eap.AKA_PRIME:
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java26 import android.net.wifi.WifiEnterpriseConfig;
128 if (phase2 == null) phase2 = WifiEnterpriseConfig.Phase2.NONE; in createEapConfig()
292 return WifiEnterpriseConfig.Eap.TLS; in getEapMethod()
295 return WifiEnterpriseConfig.Eap.TTLS; in getEapMethod()
298 return WifiEnterpriseConfig.Eap.PEAP; in getEapMethod()
310 return WifiEnterpriseConfig.Phase2.PAP; in getPhase2()
313 return WifiEnterpriseConfig.Phase2.MSCHAP; in getPhase2()
316 return WifiEnterpriseConfig.Phase2.MSCHAPV2; in getPhase2()
319 return WifiEnterpriseConfig.Phase2.GTC; in getPhase2()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java43 public class WifiEnterpriseConfig implements Parcelable { class
145 public WifiEnterpriseConfig() { in WifiEnterpriseConfig() method in WifiEnterpriseConfig
154 public WifiEnterpriseConfig(WifiEnterpriseConfig source) { in WifiEnterpriseConfig() method in WifiEnterpriseConfig
217 public static final Creator<WifiEnterpriseConfig> CREATOR =
218 new Creator<WifiEnterpriseConfig>() {
219 public WifiEnterpriseConfig createFromParcel(Parcel in) {
220 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig();
282 public WifiEnterpriseConfig[] newArray(int size) {
283 return new WifiEnterpriseConfig[size];
949 public String getKeyId(WifiEnterpriseConfig current) { in getKeyId()
DWifiEnterpriseConfig.aidl19 parcelable WifiEnterpriseConfig;
DWifiConfiguration.java350 public WifiEnterpriseConfig enterpriseConfig;
1341 enterpriseConfig = new WifiEnterpriseConfig(); in WifiConfiguration()
1362 && enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE; in isPasspoint()
1858 enterpriseConfig = new WifiEnterpriseConfig(source.enterpriseConfig); in WifiConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java23 import android.net.wifi.WifiEnterpriseConfig;
184 private static boolean needsKeyStore(WifiEnterpriseConfig config) { in needsKeyStore()
196 private static boolean needsSoftwareBackedKeyStore(WifiEnterpriseConfig config) { in needsSoftwareBackedKeyStore()
351 config.enterpriseConfig = new WifiEnterpriseConfig(); in readNetworkVariables()
464 private boolean installKeys(WifiEnterpriseConfig existingConfig, WifiEnterpriseConfig config, in installKeys()
560 private void removeKeys(WifiEnterpriseConfig config) { in removeKeys()
757 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in updateNetworkKeys()
823 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in addOrUpdateNetwork()
1097 return (method == WifiEnterpriseConfig.Eap.SIM in isSimConfig()
1098 || method == WifiEnterpriseConfig.Eap.AKA in isSimConfig()
[all …]
DWifiServiceImpl.java57 import android.net.wifi.WifiEnterpriseConfig;
838 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in addOrUpdateNetwork()
841 (enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS || in addOrUpdateNetwork()
842 enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS)) { in addOrUpdateNetwork()
2023 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in checkPasspointValidity()
2026 || enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.NONE ) { in checkPasspointValidity()
2029 if ((enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS || in checkPasspointValidity()
2030 enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS || in checkPasspointValidity()
2031 enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.PEAP) && in checkPasspointValidity()
DWifiMonitor.java21 import android.net.wifi.WifiEnterpriseConfig;
1330 data.protocol = WifiEnterpriseConfig.Eap.SIM; in handleRequests()
1336 data.protocol = WifiEnterpriseConfig.Eap.AKA; in handleRequests()
DWifiStateMachine.java67 import android.net.wifi.WifiEnterpriseConfig;
5589 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in processMessage()
5601 && (eapMethod == WifiEnterpriseConfig.Eap.SIM in processMessage()
5602 || eapMethod == WifiEnterpriseConfig.Eap.AKA in processMessage()
5603 || eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME)) { in processMessage()
5642 if (requestData.protocol == WifiEnterpriseConfig.Eap.SIM) { in processMessage()
5644 } else if (requestData.protocol == WifiEnterpriseConfig.Eap.AKA in processMessage()
5645 || requestData.protocol == WifiEnterpriseConfig.Eap.AKA_PRIME) { in processMessage()
6362 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) in buildIdentity()
6364 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) in buildIdentity()
[all …]
DWifiConfigManager.java40 import android.net.wifi.WifiEnterpriseConfig;
2198 protected boolean wasEnterpriseConfigChange(WifiEnterpriseConfig originalEnterpriseConfig, in wasEnterpriseConfigChange()
2199 WifiEnterpriseConfig currentEnterpriseConfig) { in wasEnterpriseConfigChange()
3064 static boolean needsSoftwareBackedKeyStore(WifiEnterpriseConfig config) {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DPasspointManagementObjectManagerTest.java25 import android.net.wifi.WifiEnterpriseConfig;
94 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in addMoFromWifiConfig()
95 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in addMoFromWifiConfig()
96 enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addMoFromWifiConfig()
DWifiConfigurationTestUtil.java20 import android.net.wifi.WifiEnterpriseConfig;
58 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in generateWifiConfig()
DWifiConfigManagerTest.java32 import android.net.wifi.WifiEnterpriseConfig;
33 import android.net.wifi.WifiEnterpriseConfig.Eap;
34 import android.net.wifi.WifiEnterpriseConfig.Phase2;
828 unquote(networkVariables.get(WifiEnterpriseConfig.EAP_KEY))); in testSaveLoadSingleEapNetwork()
830 unquote(networkVariables.get(WifiEnterpriseConfig.PHASE2_KEY))); in testSaveLoadSingleEapNetwork()
832 unquote(networkVariables.get(WifiEnterpriseConfig.IDENTITY_KEY))); in testSaveLoadSingleEapNetwork()
834 unquote(networkVariables.get(WifiEnterpriseConfig.PASSWORD_KEY))); in testSaveLoadSingleEapNetwork()
836 unquote(networkVariables.get(WifiEnterpriseConfig.CA_CERT_KEY))); in testSaveLoadSingleEapNetwork()
905 } else if (caCertVariable.startsWith(WifiEnterpriseConfig.CA_CERT_PREFIX)) { in assertSavedCaCerts()
906 aliases.add(caCertVariable.substring(WifiEnterpriseConfig.CA_CERT_PREFIX.length())); in assertSavedCaCerts()
[all …]
DWifiQualifiedNetworkSelectorTest.java40 import android.net.wifi.WifiEnterpriseConfig;
214 WifiEnterpriseConfig enterpriseConfig = mock(WifiEnterpriseConfig.class); in setConfigPasspoint()
215 when(enterpriseConfig.getEapMethod()).thenReturn(WifiEnterpriseConfig.Eap.PEAP); in setConfigPasspoint()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DWifiNetworkAdapter.java10 import android.net.wifi.WifiEnterpriseConfig;
257 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in updateNetwork()
306 config.enterpriseConfig = new WifiEnterpriseConfig(); in connect()
307 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.UNAUTH_TLS); in connect()
/frameworks/base/docs/html-intl/intl/zh-cn/preview/features/
Dafw.jd479 <code>WifiEnterpriseConfig.setCaCertificates()</code>
483 <code>WifiEnterpriseConfig.getCaCertificates()</code>
/frameworks/base/docs/html-intl/intl/ja/preview/features/
Dafw.jd475 <code>WifiEnterpriseConfig.setCaCertificates()</code>
479 <code>WifiEnterpriseConfig.getCaCertificates()</code>
/frameworks/base/docs/html-intl/intl/ko/preview/features/
Dafw.jd475 <code>WifiEnterpriseConfig.setCaCertificates()</code>
479 <code>WifiEnterpriseConfig.getCaCertificates()</code>
/frameworks/base/docs/html-intl/intl/in/preview/features/
Dafw.jd475 <code>WifiEnterpriseConfig.setCaCertificates()</code>
479 <code>WifiEnterpriseConfig.getCaCertificates()</code>
/frameworks/base/docs/html/preview/features/
Dafw.jd478 <code>WifiEnterpriseConfig.setCaCertificates()</code>
482 <code>WifiEnterpriseConfig.getCaCertificates()</code>
/frameworks/base/docs/html-intl/intl/pt-br/preview/features/
Dafw.jd475 <code>WifiEnterpriseConfig.setCaCertificates()</code>
479 <code>WifiEnterpriseConfig.getCaCertificates()</code>
/frameworks/base/docs/html-intl/intl/es/preview/features/
Dafw.jd475 <code>WifiEnterpriseConfig.setCaCertificates()</code>
479 <code>WifiEnterpriseConfig.getCaCertificates()</code>

12