Home
last modified time | relevance | path

Searched refs:Eap (Results 1 – 22 of 22) 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/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
384 if (!saver.saveValue(EAP_KEY, Eap.strings[mEapMethod])) { in saveToSupplicant()
388 if (mEapMethod != Eap.TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant()
389 boolean is_autheap = mEapMethod == Eap.TTLS && mPhase2Method == Phase2.GTC; in saveToSupplicant()
418 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant()
439 case Eap.TLS: in setEapMethod()
440 case Eap.UNAUTH_TLS: in setEapMethod()
443 case Eap.PEAP: in setEapMethod()
[all …]
DWifiConfiguration.java1362 && 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/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()
1486 EnterpriseConfig eapConfig = new EnterpriseConfig(Eap.TTLS) in testEnterpriseConfigAdded()
1499 EnterpriseConfig eapConfig = new EnterpriseConfig(Eap.TTLS); in testEnterpriseConfigEapChangeDetected()
1500 EnterpriseConfig peapConfig = new EnterpriseConfig(Eap.PEAP); in testEnterpriseConfigEapChangeDetected()
1511 EnterpriseConfig eapConfig = new EnterpriseConfig(Eap.TTLS).setPhase2(Phase2.MSCHAPV2); in testEnterpriseConfigPhase2ChangeDetected()
1512 EnterpriseConfig papConfig = new EnterpriseConfig(Eap.TTLS).setPhase2(Phase2.PAP); in testEnterpriseConfigPhase2ChangeDetected()
1523 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.java215 when(enterpriseConfig.getEapMethod()).thenReturn(WifiEnterpriseConfig.Eap.PEAP); in setConfigPasspoint()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java365 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()
/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.java841 (enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS || in addOrUpdateNetwork()
842 enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS)) { in addOrUpdateNetwork()
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()
DWifiConfigStore.java823 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in addOrUpdateNetwork()
1097 return (method == WifiEnterpriseConfig.Eap.SIM in isSimConfig()
1098 || method == WifiEnterpriseConfig.Eap.AKA in isSimConfig()
1099 || method == WifiEnterpriseConfig.Eap.AKA_PRIME); in isSimConfig()
DWifiMonitor.java1330 data.protocol = WifiEnterpriseConfig.Eap.SIM; in handleRequests()
1336 data.protocol = WifiEnterpriseConfig.Eap.AKA; in handleRequests()
DWifiStateMachine.java5589 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()
6366 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) in buildIdentity()
/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.txt24470 public static final class WifiEnterpriseConfig.Eap {
Dtest-current.txt24539 public static final class WifiEnterpriseConfig.Eap {
Dsystem-current.txt26723 public static final class WifiEnterpriseConfig.Eap {