Home
last modified time | relevance | path

Searched refs:Eap (Results 1 – 23 of 23) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java23 import android.net.wifi.WifiEnterpriseConfig.Eap;
165 mEnterpriseConfig.setEapMethod(Eap.PEAP); in eapPhase2MethodForTls()
171 mEnterpriseConfig.setEapMethod(Eap.TTLS); in eapPhase2MethodForTls()
176 mEnterpriseConfig.setEapMethod(Eap.TLS); in eapPhase2MethodForTls()
184 mEnterpriseConfig.setEapMethod(Eap.PEAP); in eapPhase2None()
197 mEnterpriseConfig.setEapMethod(Eap.PEAP); in peapGtcToTtls()
202 mEnterpriseConfig.setEapMethod(Eap.TTLS); in peapGtcToTtls()
210 mEnterpriseConfig.setEapMethod(Eap.TTLS); in ttlsGtcToPeap()
215 mEnterpriseConfig.setEapMethod(Eap.PEAP); in ttlsGtcToPeap()
224 enterpriseConfig.setEapMethod(Eap.TTLS); in copyConstructor()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java62 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) { in buildIdentity()
64 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) { in buildIdentity()
66 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) { in buildIdentity()
111 return eapMethod == WifiEnterpriseConfig.Eap.SIM in isSimEapMethod()
112 || eapMethod == WifiEnterpriseConfig.Eap.AKA in isSimEapMethod()
113 || eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME; in isSimEapMethod()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java140 private int mEapMethod = Eap.NONE;
288 public static final class Eap { class in WifiEnterpriseConfig
312 private Eap() {} in Eap() method in WifiEnterpriseConfig.Eap
380 boolean shouldNotWriteAnonIdentity = mEapMethod == WifiEnterpriseConfig.Eap.SIM in saveToSupplicant()
381 || mEapMethod == WifiEnterpriseConfig.Eap.AKA in saveToSupplicant()
382 || mEapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME; in saveToSupplicant()
392 if (!saver.saveValue(EAP_KEY, Eap.strings[mEapMethod])) { in saveToSupplicant()
396 if (mEapMethod != Eap.TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant()
397 boolean is_autheap = mEapMethod == Eap.TTLS && mPhase2Method == Phase2.GTC; in saveToSupplicant()
426 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant()
[all …]
DWifiConfiguration.java1381 && enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE; in isPasspoint()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DCredential.java200 case WifiEnterpriseConfig.Eap.TLS:
202 case WifiEnterpriseConfig.Eap.TTLS:
220 case WifiEnterpriseConfig.Eap.SIM:
222 case WifiEnterpriseConfig.Eap.AKA:
224 case WifiEnterpriseConfig.Eap.AKA_PRIME:
228 if (eapMethod >= 0 && eapMethod < WifiEnterpriseConfig.Eap.strings.length) {
229 methodName = WifiEnterpriseConfig.Eap.strings[eapMethod];
/frameworks/base/packages/Osu/src/com/android/configparse/
DConfigBuilder.java231 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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java377 return WifiEnterpriseConfig.Eap.TTLS; in remapEAPMethod()
379 return WifiEnterpriseConfig.Eap.TLS; in remapEAPMethod()
381 return WifiEnterpriseConfig.Eap.SIM; in remapEAPMethod()
383 return WifiEnterpriseConfig.Eap.AKA; in remapEAPMethod()
385 return WifiEnterpriseConfig.Eap.AKA_PRIME; in remapEAPMethod()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java33 import android.net.wifi.WifiEnterpriseConfig.Eap;
778 testSaveLoadSingleEapNetwork("eap network", new EnterpriseConfig(Eap.TTLS) in testSaveLoadEapNetworks()
782 testSaveLoadSingleEapNetwork("eap network", new EnterpriseConfig(Eap.TTLS) in testSaveLoadEapNetworks()
933 eap = Eap.strings[eapMethod]; in EnterpriseConfig()
1492 EnterpriseConfig eapConfig = new EnterpriseConfig(Eap.TTLS) in testEnterpriseConfigAdded()
1505 EnterpriseConfig eapConfig = new EnterpriseConfig(Eap.TTLS); in testEnterpriseConfigEapChangeDetected()
1506 EnterpriseConfig peapConfig = new EnterpriseConfig(Eap.PEAP); in testEnterpriseConfigEapChangeDetected()
1517 EnterpriseConfig eapConfig = new EnterpriseConfig(Eap.TTLS).setPhase2(Phase2.MSCHAPV2); in testEnterpriseConfigPhase2ChangeDetected()
1518 EnterpriseConfig papConfig = new EnterpriseConfig(Eap.TTLS).setPhase2(Phase2.PAP); in testEnterpriseConfigPhase2ChangeDetected()
1529 EnterpriseConfig eapConfigNoCerts = new EnterpriseConfig(Eap.TTLS) in testCaCertificateAddedDetected()
[all …]
DWifiConfigurationTestUtil.java58 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in generateWifiConfig()
DPasspointManagementObjectManagerTest.java95 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in addMoFromWifiConfig()
DWifiQualifiedNetworkSelectorTest.java247 when(enterpriseConfig.getEapMethod()).thenReturn(WifiEnterpriseConfig.Eap.PEAP); in setConfigPasspoint()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java292 return WifiEnterpriseConfig.Eap.TLS; in getEapMethod()
295 return WifiEnterpriseConfig.Eap.TTLS; in getEapMethod()
298 return WifiEnterpriseConfig.Eap.PEAP; in getEapMethod()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java888 (enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS || in addOrUpdateNetwork()
889 enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS)) { in addOrUpdateNetwork()
1880 || enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.NONE ) { in checkPasspointValidity()
1883 if ((enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS || in checkPasspointValidity()
1884 enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS || in checkPasspointValidity()
1885 enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.PEAP) && in checkPasspointValidity()
DWifiMonitor.java1331 data.protocol = WifiEnterpriseConfig.Eap.SIM; in handleRequests()
1337 data.protocol = WifiEnterpriseConfig.Eap.AKA; in handleRequests()
DWifiStateMachine.java5721 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in processMessage()
5763 if (requestData.protocol == WifiEnterpriseConfig.Eap.SIM) { in processMessage()
5765 } else if (requestData.protocol == WifiEnterpriseConfig.Eap.AKA in processMessage()
5766 || requestData.protocol == WifiEnterpriseConfig.Eap.AKA_PRIME) { in processMessage()
6491 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) in buildIdentity()
6493 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) in buildIdentity()
6495 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) in buildIdentity()
DWifiConfigStore.java848 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in addOrUpdateNetwork()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DWifiNetworkAdapter.java307 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.UNAUTH_TLS); in connect()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1047 NO DOC BLOCK: android.net.wifi.WifiEnterpriseConfig.Eap Field AKA
1802 NO DOC BLOCK: android.net.wifi.WifiEnterpriseConfig.Eap Field SIM
/frameworks/base/
Dcompiled-classes-phone2853 android.net.wifi.WifiEnterpriseConfig$Eap
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17992 public static final class WifiEnterpriseConfig.Eap {
/frameworks/base/api/
Dcurrent.txt24570 public static final class WifiEnterpriseConfig.Eap {
Dsystem-current.txt26872 public static final class WifiEnterpriseConfig.Eap {
Dtest-current.txt24644 public static final class WifiEnterpriseConfig.Eap {