Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java255 private int mEapMethod = Eap.NONE;
386 public static final class Eap { class in WifiEnterpriseConfig
413 private Eap() {} in Eap() method in WifiEnterpriseConfig.Eap
487 boolean shouldNotWriteAnonIdentity = mEapMethod == WifiEnterpriseConfig.Eap.SIM in saveToSupplicant()
488 || mEapMethod == WifiEnterpriseConfig.Eap.AKA in saveToSupplicant()
489 || mEapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME; in saveToSupplicant()
499 if (!saver.saveValue(EAP_KEY, Eap.strings[mEapMethod])) { in saveToSupplicant()
503 if (mEapMethod != Eap.TLS && mEapMethod != Eap.UNAUTH_TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant()
504 boolean is_autheap = mEapMethod == Eap.TTLS && mPhase2Method == Phase2.GTC; in saveToSupplicant()
533 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant()
[all …]
DWifiNetworkSpecifier.java377 if (enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.TLS) { in setWpa3Enterprise192BitModeConfig()
444 && mWpa3EnterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS in setSecurityParamsInWifiConfiguration()
DWifiNetworkSuggestion.java438 if (enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.TLS) { in setWpa3Enterprise192BitModeConfig()
920 && mWpa3EnterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS in setSecurityParamsInWifiConfiguration()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java29 import android.net.wifi.WifiEnterpriseConfig.Eap;
268 mEnterpriseConfig.setEapMethod(Eap.PEAP); in eapPhase2MethodForTls()
274 mEnterpriseConfig.setEapMethod(Eap.TTLS); in eapPhase2MethodForTls()
279 mEnterpriseConfig.setEapMethod(Eap.TLS); in eapPhase2MethodForTls()
287 mEnterpriseConfig.setEapMethod(Eap.PEAP); in eapPhase2None()
300 mEnterpriseConfig.setEapMethod(Eap.PEAP); in peapGtcToTtls()
305 mEnterpriseConfig.setEapMethod(Eap.TTLS); in peapGtcToTtls()
313 mEnterpriseConfig.setEapMethod(Eap.TTLS); in ttlsGtcToPeap()
318 mEnterpriseConfig.setEapMethod(Eap.PEAP); in ttlsGtcToPeap()
326 mEnterpriseConfig.setEapMethod(Eap.PEAP); in peapSimAkaAkaPrime()
[all …]
DWifiNetworkSuggestionTest.java285 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
320 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithStandardApi()
356 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBRsaCerts()
395 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBEccCerts()
432 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetwork()
468 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetworWith192BitApi()
503 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetwork()
539 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
574 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForEapNetworkWithoutCa()
592 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForEapNetworkWithoutMatch()
[all …]
DWifiNetworkSpecifierTest.java116 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
153 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork()
187 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi()
222 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBRsaCerts()
260 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBEccCerts()
296 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetwork()
330 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetwork()
365 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetworkWith192BitApi()
400 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
DWifiConfigurationTest.java283 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testGetKeyIdForCredentials()
290 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in testGetKeyIdForCredentials()
298 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PWD); in testGetKeyIdForCredentials()
306 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testGetKeyIdForCredentials()
344 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testGetKeyIdForCredentialsForSuggestion()
351 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in testGetKeyIdForCredentialsForSuggestion()
359 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PWD); in testGetKeyIdForCredentialsForSuggestion()
367 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testGetKeyIdForCredentialsForSuggestion()
969 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testAddEnterpriseTypeToEnterpriseConfiguration()
987 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testAddPersonalTypeToEnterpriseConfig()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java79 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigAdded()
93 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS); in testEnterpriseConfigEapChangeDetected()
94 EnterpriseConfig peapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.PEAP); in testEnterpriseConfigEapChangeDetected()
106 new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigPhase2ChangeDetected()
109 new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigPhase2ChangeDetected()
121 EnterpriseConfig eapConfigNoCerts = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testCaCertificateAddedDetected()
125 EnterpriseConfig eapConfig1Cert = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testCaCertificateAddedDetected()
139 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testDifferentCaCertificateDetected()
144 EnterpriseConfig eapConfigNewCert = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testDifferentCaCertificateDetected()
158 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testCaCertificateChangesDetected()
[all …]
DWifiCarrierInfoManagerTest.java501 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityEapSim()
508 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapSim()
525 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getSimIdentityEapAka()
532 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAka()
549 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA_PRIME, in getSimIdentityEapAkaPrime()
556 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAkaPrime()
596 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentity_WithRfc4648()
633 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentityFailed()
652 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentity2DigitMnc()
668 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityUnknownMccMnc()
[all …]
DWifiConfigurationTestUtil.java173 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in generateWifiConfig()
183 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PEAP); in generateWifiConfig()
202 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in generateWifiConfig()
413 WifiEnterpriseConfig.Eap.NONE, in createEapNetwork()
426 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createEapNetwork()
445 WifiEnterpriseConfig.Eap.NONE, in createWpa2Wpa3EnterpriseNetwork()
454 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createWpa2Wpa3EnterpriseNetwork()
483 configuration.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in createEapSuiteBNetwork()
517 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in createWapiCertNetwork()
603 config.setEapMethod(WifiEnterpriseConfig.Eap.PEAP); in createPEAPWifiEnterpriseConfigWithGTCPhase2()
[all …]
DWifiConfigManagerTest.java1725 network.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testUpdateWifiEnterpriseConfig()
2151 assertFalse(eapNetwork.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS); in testUpdateEnterpriseConfigClearsHasEverConnected()
2152 eapNetwork.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testUpdateEnterpriseConfigClearsHasEverConnected()
4750 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks()
4752 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks()
4806 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()
4817 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()
4860 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity()
4865 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity()
6406 baseConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testAddUpgradableNetworkForWpa2Wpa3Enterprise()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java251 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.PAP); in testEAP_PEAP_PAP()
260 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_PEAP_NONE()
269 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_Phase2_Empty()
278 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_Phase2_Null()
287 wifiConf, WifiEnterpriseConfig.Eap.TLS, WifiEnterpriseConfig.Phase2.MSCHAP); in testEAP_TLS_MSCHAP()
296 wifiConf, WifiEnterpriseConfig.Eap.TTLS, WifiEnterpriseConfig.Phase2.MSCHAPV2); in testEAP_TTLS_MSCHAPV2()
305 wifiConf, WifiEnterpriseConfig.Eap.PWD, WifiEnterpriseConfig.Phase2.GTC); in testEAP_PWD_GTC()
314 wifiConf, WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.SIM); in testEAP_SIM_SIM()
323 wifiConf, WifiEnterpriseConfig.Eap.AKA, WifiEnterpriseConfig.Phase2.AKA); in testEAP_AKA_AKA()
332 wifiConf, WifiEnterpriseConfig.Eap.AKA_PRIME, in testEAP_AKA_PRIME_AKA_PRIME()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java36 import android.net.wifi.WifiEnterpriseConfig.Eap;
580 eapMethodSpinner.setSelection(Eap.PEAP); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
584 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.PEAP); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
589 eapMethodSpinner.setSelection(Eap.TTLS); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
593 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.TTLS); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition()
666 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2Gtc_shouldContainGtcMethod()
683 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2Sim_shouldContainSimMethod()
700 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2Aka_shouldContainAkaMethod()
717 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2AkaPrime_shouldContainAkaPrimeMethod()
735 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPeapPhase2Unknown_shouldContainNoneMethod()
[all …]
DWifiConfigControllerTest.java33 import android.net.wifi.WifiEnterpriseConfig.Eap;
530 when(mockWifiEnterpriseConfig.getEapMethod()).thenReturn(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
540 eapMethodSpinner.setSelection(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
544 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
549 eapMethodSpinner.setSelection(Eap.TTLS); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
553 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.TTLS); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java78 map.put("PEAP", WifiEnterpriseConfig.Eap.PEAP); in buildEapMethodsMap()
79 map.put("TLS", WifiEnterpriseConfig.Eap.TLS); in buildEapMethodsMap()
80 map.put("TTLS", WifiEnterpriseConfig.Eap.TTLS); in buildEapMethodsMap()
81 map.put("PWD", WifiEnterpriseConfig.Eap.PWD); in buildEapMethodsMap()
82 map.put("SIM", WifiEnterpriseConfig.Eap.SIM); in buildEapMethodsMap()
83 map.put("AKA", WifiEnterpriseConfig.Eap.AKA); in buildEapMethodsMap()
84 map.put("AKA_PRIME", WifiEnterpriseConfig.Eap.AKA_PRIME); in buildEapMethodsMap()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java630 case WifiEnterpriseConfig.Eap.TTLS: in convertFromWifiConfig()
634 case WifiEnterpriseConfig.Eap.TLS: in convertFromWifiConfig()
639 case WifiEnterpriseConfig.Eap.SIM: in convertFromWifiConfig()
643 case WifiEnterpriseConfig.Eap.AKA: in convertFromWifiConfig()
647 case WifiEnterpriseConfig.Eap.AKA_PRIME: in convertFromWifiConfig()
920 config.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in buildEnterpriseConfigForUserCredential()
954 config.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in buildEnterpriseConfigForCertCredential()
971 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in buildEnterpriseConfigForSimCredential()
974 eapMethod = WifiEnterpriseConfig.Eap.SIM; in buildEnterpriseConfigForSimCredential()
977 eapMethod = WifiEnterpriseConfig.Eap.AKA; in buildEnterpriseConfigForSimCredential()
[all …]
DOsuNetworkConnection.java199 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.UNAUTH_TLS); in connect()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java258 WifiEnterpriseConfig.Eap.WAPI_CERT); in loadWifiConfiguration()
469 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in saveWifiConfiguration()
470 if (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.WAPI_CERT) { in saveWifiConfiguration()
1092 return WifiEnterpriseConfig.Eap.PEAP; in supplicantToWifiConfigurationEapMethod()
1094 return WifiEnterpriseConfig.Eap.TLS; in supplicantToWifiConfigurationEapMethod()
1096 return WifiEnterpriseConfig.Eap.TTLS; in supplicantToWifiConfigurationEapMethod()
1098 return WifiEnterpriseConfig.Eap.PWD; in supplicantToWifiConfigurationEapMethod()
1100 return WifiEnterpriseConfig.Eap.SIM; in supplicantToWifiConfigurationEapMethod()
1102 return WifiEnterpriseConfig.Eap.AKA; in supplicantToWifiConfigurationEapMethod()
1104 return WifiEnterpriseConfig.Eap.AKA_PRIME; in supplicantToWifiConfigurationEapMethod()
[all …]
DWifiCarrierInfoManager.java130 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.AKA, "0"); in EAP_METHOD_PREFIX.put()
131 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.SIM, "1"); in EAP_METHOD_PREFIX.put()
132 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.AKA_PRIME, "6"); in EAP_METHOD_PREFIX.put()
983 return WifiEnterpriseConfig.Eap.NONE; in getSimMethodForConfig()
986 if (eapMethod == WifiEnterpriseConfig.Eap.PEAP) { in getSimMethodForConfig()
990 eapMethod = WifiEnterpriseConfig.Eap.SIM; in getSimMethodForConfig()
993 eapMethod = WifiEnterpriseConfig.Eap.AKA; in getSimMethodForConfig()
996 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in getSimMethodForConfig()
DWifiMonitor.java444 new SimAuthRequestData(networkId, WifiEnterpriseConfig.Eap.SIM, ssid, data)); in broadcastNetworkGsmAuthRequestEvent()
459 new SimAuthRequestData(networkId, WifiEnterpriseConfig.Eap.AKA, ssid, data)); in broadcastNetworkUmtsAuthRequestEvent()
DWifiConfigurationUtil.java1179 || config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.TLS)) { in validateEnterpriseConfig()
1183 if (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.PEAP in validateEnterpriseConfig()
1184 || config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS) { in validateEnterpriseConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java114 private static final int TEST_EAP_TYPE = WifiEnterpriseConfig.Eap.SIM;
371 assertEquals(WifiEnterpriseConfig.Eap.TTLS, wifiEnterpriseConfig.getEapMethod()); in verifyWifiConfigWithTestData()
417 assertEquals(WifiEnterpriseConfig.Eap.TLS, wifiEnterpriseConfig.getEapMethod()); in verifyWifiConfigWithTestData()
446 assertEquals(WifiEnterpriseConfig.Eap.SIM, in verifyWifiConfigWithTestData()
450 assertEquals(WifiEnterpriseConfig.Eap.AKA, in verifyWifiConfigWithTestData()
454 assertEquals(WifiEnterpriseConfig.Eap.AKA_PRIME, in verifyWifiConfigWithTestData()
1376 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in convertFromWifiConfigWithUserCredential()
1403 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in convertFromWifiConfigWithSimCredential()
1427 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in convertFromWifiConfigWithCertCredential()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java33 import android.net.wifi.WifiEnterpriseConfig.Eap;
649 case Eap.PEAP: in getConfig()
674 case Eap.TTLS: in getConfig()
755 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig()
758 } else if (eapMethod == Eap.PWD) { in getConfig()
1018 mEapMethodSpinner.setSelection(Eap.TLS); in showSecurityFields()
1064 case Eap.PEAP: in showSecurityFields()
1086 case Eap.TTLS: in showSecurityFields()
DWifiConfigController.java32 import android.net.wifi.WifiEnterpriseConfig.Eap;
669 case Eap.PEAP: in getConfig()
694 case Eap.TTLS: in getConfig()
770 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig()
773 } else if (eapMethod == Eap.PWD) { in getConfig()
1038 mEapMethodSpinner.setSelection(Eap.TLS); in showSecurityFields()
1085 case Eap.PEAP: in showSecurityFields()
1107 case Eap.TTLS: in showSecurityFields()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java79 private static final int TEST_EAP_METHOD = WifiEnterpriseConfig.Eap.PEAP;
450 String.format(XML_STRING_EAP_METHOD_REPLACE_FORMAT, WifiEnterpriseConfig.Eap.NONE)); in testWifiEnterpriseConfigSerializeDeserializeThrowsIllegalArgException()

12