/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 401 private int mEapMethod = Eap.NONE; 645 public static final class Eap { class in WifiEnterpriseConfig 672 private Eap() {} in Eap() method in WifiEnterpriseConfig.Eap 746 boolean shouldNotWriteAnonIdentity = mEapMethod == WifiEnterpriseConfig.Eap.SIM in saveToSupplicant() 747 || mEapMethod == WifiEnterpriseConfig.Eap.AKA in saveToSupplicant() 748 || mEapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME; in saveToSupplicant() 762 if (!saver.saveValue(EAP_KEY, Eap.strings[mEapMethod])) { in saveToSupplicant() 766 if (mEapMethod != Eap.TLS && mEapMethod != Eap.UNAUTH_TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant() 767 boolean is_autheap = mEapMethod == Eap.TTLS && mPhase2Method == Phase2.GTC; in saveToSupplicant() 798 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant() [all …]
|
D | WifiNetworkSpecifier.java | 410 if (enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.TLS) { in setWpa3Enterprise192BitModeConfig() 498 && mWpa3EnterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS in setSecurityParamsInWifiConfiguration()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiEnterpriseConfigTest.java | 32 import android.net.wifi.WifiEnterpriseConfig.Eap; 305 mEnterpriseConfig.setEapMethod(Eap.PEAP); in eapPhase2MethodForTls() 311 mEnterpriseConfig.setEapMethod(Eap.TTLS); in eapPhase2MethodForTls() 316 mEnterpriseConfig.setEapMethod(Eap.TLS); in eapPhase2MethodForTls() 324 mEnterpriseConfig.setEapMethod(Eap.PEAP); in eapPhase2None() 337 mEnterpriseConfig.setEapMethod(Eap.PEAP); in peapGtcToTtls() 342 mEnterpriseConfig.setEapMethod(Eap.TTLS); in peapGtcToTtls() 350 mEnterpriseConfig.setEapMethod(Eap.TTLS); in ttlsGtcToPeap() 355 mEnterpriseConfig.setEapMethod(Eap.PEAP); in ttlsGtcToPeap() 363 mEnterpriseConfig.setEapMethod(Eap.PEAP); in peapSimAkaAkaPrime() [all …]
|
D | WifiNetworkSuggestionTest.java | 290 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork() 325 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithStandardApi() 361 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBRsaCerts() 400 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBEccCerts() 437 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetwork() 473 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetworWith192BitApi() 508 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetwork() 544 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBEccEapNetworkWith192BitApi() 579 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForEapNetworkWithoutCa() 597 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForEapNetworkWithoutMatch() [all …]
|
D | WifiNetworkSpecifierTest.java | 119 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 156 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork() 190 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi() 225 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBRsaCerts() 263 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBEccCerts() 299 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetwork() 333 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetwork() 368 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3SuiteBRsaEapNetworkWith192BitApi() 403 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3SuiteBEccEapNetworkWith192BitApi()
|
D | WifiConfigurationTest.java | 347 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testGetKeyIdForCredentials() 354 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in testGetKeyIdForCredentials() 362 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PWD); in testGetKeyIdForCredentials() 370 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testGetKeyIdForCredentials() 408 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testGetKeyIdForCredentialsForSuggestion() 415 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in testGetKeyIdForCredentialsForSuggestion() 423 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PWD); in testGetKeyIdForCredentialsForSuggestion() 431 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testGetKeyIdForCredentialsForSuggestion() 1101 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testAddEnterpriseTypeToEnterpriseConfiguration() 1119 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testAddPersonalTypeToEnterpriseConfig() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProviderTest.java | 251 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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 112 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigAdded() 126 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS); in testEnterpriseConfigEapChangeDetected() 127 EnterpriseConfig peapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.PEAP); in testEnterpriseConfigEapChangeDetected() 139 new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigPhase2ChangeDetected() 142 new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigPhase2ChangeDetected() 154 EnterpriseConfig eapConfigNoCerts = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testCaCertificateAddedDetected() 158 EnterpriseConfig eapConfig1Cert = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testCaCertificateAddedDetected() 172 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testDifferentCaCertificateDetected() 177 EnterpriseConfig eapConfigNewCert = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testDifferentCaCertificateDetected() 191 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testCaCertificateChangesDetected() [all …]
|
D | WifiCarrierInfoManagerTest.java | 667 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityEapSim() 674 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapSim() 691 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getSimIdentityEapAka() 698 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAka() 715 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA_PRIME, in getSimIdentityEapAkaPrime() 722 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAkaPrime() 763 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentity_WithRfc4648() 785 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentityWithOobPseudonymEnabled() 823 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getEncryptedIdentityFailed() 842 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentity2DigitMnc() [all …]
|
D | WifiConfigurationTestUtil.java | 177 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in generateWifiConfig() 187 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PEAP); in generateWifiConfig() 207 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in generateWifiConfig() 427 WifiEnterpriseConfig.Eap.NONE, in createEapNetwork() 440 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createEapNetwork() 459 WifiEnterpriseConfig.Eap.NONE, in createWpa2Wpa3EnterpriseNetwork() 468 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createWpa2Wpa3EnterpriseNetwork() 497 configuration.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in createEapSuiteBNetwork() 531 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in createWapiCertNetwork() 617 config.setEapMethod(WifiEnterpriseConfig.Eap.PEAP); in createPEAPWifiEnterpriseConfigWithGTCPhase2() [all …]
|
D | InsecureEapNetworkHandlerTest.java | 713 WifiEnterpriseConfig.Eap.TTLS, WifiEnterpriseConfig.Phase2.MSCHAPV2)); in prepareWifiConfiguration() 748 && (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS in setupTest() 749 || config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.PEAP) in setupTest() 759 && (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS in setupTest() 760 || config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.PEAP) in setupTest() 1057 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in verifyUserApprovalIsNotNeededWithDifferentTargetConfig() 1268 WifiEnterpriseConfig.Eap.TTLS, WifiEnterpriseConfig.Phase2.MSCHAPV2)); in configureTofuWithAidlVersion2Value()
|
D | WifiConfigManagerTest.java | 1974 network.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testUpdateWifiEnterpriseConfig() 2040 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testEnterpriseConfigTofuStateMerge() 2051 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PEAP); in testEnterpriseConfigTofuStateMerge() 2497 assertFalse(eapNetwork.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS); in testUpdateEnterpriseConfigClearsHasEverConnected() 2498 eapNetwork.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testUpdateEnterpriseConfigClearsHasEverConnected() 5218 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks() 5220 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks() 5274 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities() 5285 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities() 5328 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 78 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/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigController2Test.java | 41 import android.net.wifi.WifiEnterpriseConfig.Eap; 639 eapMethodSpinner.setSelection(Eap.PEAP); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 643 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.PEAP); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 648 eapMethodSpinner.setSelection(Eap.TTLS); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 652 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.TTLS); in selectEapMethod_savedWifiEntry_shouldGetCorrectPosition() 730 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2Gtc_shouldContainGtcMethod() 748 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2Sim_shouldContainSimMethod() 766 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2Aka_shouldContainAkaMethod() 784 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPhase2AkaPrime_shouldContainAkaPrimeMethod() 803 eapMethodSpinner.setSelection(Eap.PEAP); in getEapConfig_withPeapPhase2Unknown_shouldContainNoneMethod() [all …]
|
D | WifiConfigControllerTest.java | 36 import android.net.wifi.WifiEnterpriseConfig.Eap; 573 when(mockWifiEnterpriseConfig.getEapMethod()).thenReturn(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 583 eapMethodSpinner.setSelection(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 587 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.PEAP); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 592 eapMethodSpinner.setSelection(Eap.TTLS); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition() 596 assertThat(wifiConfiguration.enterpriseConfig.getEapMethod()).isEqualTo(Eap.TTLS); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 685 case WifiEnterpriseConfig.Eap.TTLS: in convertFromWifiConfig() 689 case WifiEnterpriseConfig.Eap.TLS: in convertFromWifiConfig() 694 case WifiEnterpriseConfig.Eap.SIM: in convertFromWifiConfig() 698 case WifiEnterpriseConfig.Eap.AKA: in convertFromWifiConfig() 702 case WifiEnterpriseConfig.Eap.AKA_PRIME: in convertFromWifiConfig() 988 config.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in buildEnterpriseConfigForUserCredential() 1022 config.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in buildEnterpriseConfigForCertCredential() 1039 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in buildEnterpriseConfigForSimCredential() 1042 eapMethod = WifiEnterpriseConfig.Eap.SIM; in buildEnterpriseConfigForSimCredential() 1045 eapMethod = WifiEnterpriseConfig.Eap.AKA; in buildEnterpriseConfigForSimCredential() [all …]
|
D | OsuNetworkConnection.java | 199 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.UNAUTH_TLS); in connect()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHalAidlImpl.java | 292 WifiEnterpriseConfig.Eap.WAPI_CERT); in loadWifiConfiguration() 536 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in saveWifiConfiguration() 537 if (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.WAPI_CERT) { in saveWifiConfiguration() 765 && eapConfig.getEapMethod() != WifiEnterpriseConfig.Eap.PEAP in saveWifiEnterpriseConfig() 1134 return WifiEnterpriseConfig.Eap.PEAP; in supplicantToWifiConfigurationEapMethod() 1136 return WifiEnterpriseConfig.Eap.TLS; in supplicantToWifiConfigurationEapMethod() 1138 return WifiEnterpriseConfig.Eap.TTLS; in supplicantToWifiConfigurationEapMethod() 1140 return WifiEnterpriseConfig.Eap.PWD; in supplicantToWifiConfigurationEapMethod() 1142 return WifiEnterpriseConfig.Eap.SIM; in supplicantToWifiConfigurationEapMethod() 1144 return WifiEnterpriseConfig.Eap.AKA; in supplicantToWifiConfigurationEapMethod() [all …]
|
D | SupplicantStaNetworkHalHidlImpl.java | 259 WifiEnterpriseConfig.Eap.WAPI_CERT); in loadWifiConfiguration() 480 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in saveWifiConfiguration() 481 if (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.WAPI_CERT) { in saveWifiConfiguration() 1105 return WifiEnterpriseConfig.Eap.PEAP; in supplicantToWifiConfigurationEapMethod() 1107 return WifiEnterpriseConfig.Eap.TLS; in supplicantToWifiConfigurationEapMethod() 1109 return WifiEnterpriseConfig.Eap.TTLS; in supplicantToWifiConfigurationEapMethod() 1111 return WifiEnterpriseConfig.Eap.PWD; in supplicantToWifiConfigurationEapMethod() 1113 return WifiEnterpriseConfig.Eap.SIM; in supplicantToWifiConfigurationEapMethod() 1115 return WifiEnterpriseConfig.Eap.AKA; in supplicantToWifiConfigurationEapMethod() 1117 return WifiEnterpriseConfig.Eap.AKA_PRIME; in supplicantToWifiConfigurationEapMethod() [all …]
|
D | WifiCarrierInfoManager.java | 149 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.AKA, "0"); in EAP_METHOD_PREFIX.put() 150 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.SIM, "1"); in EAP_METHOD_PREFIX.put() 151 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.AKA_PRIME, "6"); in EAP_METHOD_PREFIX.put() 1211 return WifiEnterpriseConfig.Eap.NONE; in getSimMethodForConfig() 1214 if (eapMethod == WifiEnterpriseConfig.Eap.PEAP) { in getSimMethodForConfig() 1218 eapMethod = WifiEnterpriseConfig.Eap.SIM; in getSimMethodForConfig() 1221 eapMethod = WifiEnterpriseConfig.Eap.AKA; in getSimMethodForConfig() 1224 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in getSimMethodForConfig()
|
D | WifiMonitor.java | 488 new SimAuthRequestData(networkId, WifiEnterpriseConfig.Eap.SIM, ssid, data)); in broadcastNetworkGsmAuthRequestEvent() 503 new SimAuthRequestData(networkId, WifiEnterpriseConfig.Eap.AKA, ssid, data)); in broadcastNetworkUmtsAuthRequestEvent()
|
D | WifiConfigurationUtil.java | 1201 || config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.TLS)) { in validateEnterpriseConfig() 1205 if (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.PEAP in validateEnterpriseConfig() 1206 || config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS) { in validateEnterpriseConfig()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 32 import android.net.wifi.WifiEnterpriseConfig.Eap; 694 case Eap.PEAP: in getConfig() 719 case Eap.TTLS: in getConfig() 795 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig() 798 } else if (eapMethod == Eap.PWD) { in getConfig() 1070 mEapMethodSpinner.setSelection(Eap.TLS); in showSecurityFields() 1117 case Eap.PEAP: in showSecurityFields() 1139 case Eap.TTLS: in showSecurityFields()
|
D | WifiConfigController2.java | 33 import android.net.wifi.WifiEnterpriseConfig.Eap; 700 case Eap.PEAP: in getConfig() 725 case Eap.TTLS: in getConfig() 811 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig() 814 } else if (eapMethod == Eap.PWD) { in getConfig() 1087 mEapMethodSpinner.setSelection(Eap.TLS); in showSecurityFields() 1131 case Eap.PEAP: in showSecurityFields() 1153 case Eap.TTLS: in showSecurityFields()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 118 private static final int TEST_EAP_TYPE = WifiEnterpriseConfig.Eap.SIM; 380 assertEquals(WifiEnterpriseConfig.Eap.TTLS, wifiEnterpriseConfig.getEapMethod()); in verifyWifiConfigWithTestData() 426 assertEquals(WifiEnterpriseConfig.Eap.TLS, wifiEnterpriseConfig.getEapMethod()); in verifyWifiConfigWithTestData() 455 assertEquals(WifiEnterpriseConfig.Eap.SIM, in verifyWifiConfigWithTestData() 459 assertEquals(WifiEnterpriseConfig.Eap.AKA, in verifyWifiConfigWithTestData() 463 assertEquals(WifiEnterpriseConfig.Eap.AKA_PRIME, in verifyWifiConfigWithTestData() 1397 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in convertFromWifiConfigWithUserCredential() 1424 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in convertFromWifiConfigWithSimCredential() 1448 wifiConfig.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in convertFromWifiConfigWithCertCredential()
|