Home
last modified time | relevance | path

Searched refs:Phase2 (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DTelephonyUtilTest.java47 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityEapSim()
50 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM))); in getSimIdentityEapSim()
61 WifiEnterpriseConfig.Eap.AKA, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityEapAka()
64 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.AKA))); in getSimIdentityEapAka()
75 WifiEnterpriseConfig.Eap.AKA_PRIME, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityEapAkaPrime()
78 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.AKA_PRIME))); in getSimIdentityEapAkaPrime()
89 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentity2DigitMnc()
100 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityUnknownMccMnc()
107 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityWithNoTelephonyManager()
118 WifiEnterpriseConfig.Eap.TTLS, WifiEnterpriseConfig.Phase2.SIM))); in getSimIdentityNonTelephonyConfig()
[all …]
DXmlUtilTest.java72 private static final int TEST_PHASE2_METHOD = WifiEnterpriseConfig.Phase2.MSCHAPV2;
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java147 private int mPhase2Method = Phase2.NONE;
290 public static final class Phase2 { class in WifiEnterpriseConfig
313 private Phase2() {} in Phase2() method in WifiEnterpriseConfig.Phase2
376 if (mEapMethod != Eap.TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant()
377 boolean is_autheap = mEapMethod == Eap.TTLS && mPhase2Method == Phase2.GTC; in saveToSupplicant()
378 String prefix = is_autheap ? Phase2.AUTHEAP_PREFIX : Phase2.AUTH_PREFIX; in saveToSupplicant()
379 String value = convertToQuotedString(prefix + Phase2.strings[mPhase2Method]); in saveToSupplicant()
381 } else if (mPhase2Method == Phase2.NONE) { in saveToSupplicant()
410 if (phase2Method.startsWith(Phase2.AUTH_PREFIX)) { in loadFromSupplicant()
411 phase2Method = phase2Method.substring(Phase2.AUTH_PREFIX.length()); in loadFromSupplicant()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java28 import android.net.wifi.WifiEnterpriseConfig.Phase2;
251 mEnterpriseConfig.setPhase2Method(Phase2.MSCHAPV2); in eapPhase2MethodForTls()
270 mEnterpriseConfig.setPhase2Method(Phase2.MSCHAPV2); in eapPhase2None()
275 mEnterpriseConfig.setPhase2Method(Phase2.NONE); in eapPhase2None()
283 mEnterpriseConfig.setPhase2Method(Phase2.GTC); in peapGtcToTtls()
296 mEnterpriseConfig.setPhase2Method(Phase2.GTC); in ttlsGtcToPeap()
309 mEnterpriseConfig.setPhase2Method(Phase2.SIM); in peapSimAkaAkaPrime()
313 mEnterpriseConfig.setPhase2Method(Phase2.AKA); in peapSimAkaAkaPrime()
316 mEnterpriseConfig.setPhase2Method(Phase2.AKA_PRIME); in peapSimAkaAkaPrime()
329 enterpriseConfig.setPhase2Method(Phase2.GTC); in copyConstructor()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java80 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testEnterpriseConfigAdded()
107 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testEnterpriseConfigPhase2ChangeDetected()
110 .setPhase2(WifiEnterpriseConfig.Phase2.PAP); in testEnterpriseConfigPhase2ChangeDetected()
122 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateAddedDetected()
126 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateAddedDetected()
140 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testDifferentCaCertificateDetected()
145 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testDifferentCaCertificateDetected()
159 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateChangesDetected()
164 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateChangesDetected()
178 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testWifiEnterpriseConfigNoChanges()
[all …]
DWifiConfigurationTestUtil.java406 config.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in createPEAPWifiEnterpriseConfigWithGTCPhase2()
415 config.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in createTLSWifiEnterpriseConfigWithNonePhase2()
424 config.setPhase2Method(WifiEnterpriseConfig.Phase2.AKA); in createTLSWifiEnterpriseConfigWithAkaPhase2()
DWifiConfigManagerTest.java956 network.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testUpdateWifiEnterpriseConfig()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java128 if (phase2 == null) phase2 = WifiEnterpriseConfig.Phase2.NONE; in createEapConfig()
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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java494 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential()
497 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential()
500 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential()
503 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential()
603 case WifiEnterpriseConfig.Phase2.PAP: in buildUserCredentialFromEnterpriseConfig()
606 case WifiEnterpriseConfig.Phase2.MSCHAP: in buildUserCredentialFromEnterpriseConfig()
609 case WifiEnterpriseConfig.Phase2.MSCHAPV2: in buildUserCredentialFromEnterpriseConfig()
/frameworks/base/packages/Osu/src/com/android/configparse/
DConfigBuilder.java248 return WifiEnterpriseConfig.Phase2.PAP; in remapInnerMethod()
250 return WifiEnterpriseConfig.Phase2.MSCHAP; in remapInnerMethod()
252 return WifiEnterpriseConfig.Phase2.MSCHAPV2; in remapInnerMethod()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java113 case WifiEnterpriseConfig.Phase2.SIM: in getSimMethodForConfig()
116 case WifiEnterpriseConfig.Phase2.AKA: in getSimMethodForConfig()
119 case WifiEnterpriseConfig.Phase2.AKA_PRIME: in getSimMethodForConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java756 return WifiEnterpriseConfig.Phase2.NONE; in supplicantToWifiConfigurationEapPhase2Method()
758 return WifiEnterpriseConfig.Phase2.PAP; in supplicantToWifiConfigurationEapPhase2Method()
760 return WifiEnterpriseConfig.Phase2.MSCHAP; in supplicantToWifiConfigurationEapPhase2Method()
762 return WifiEnterpriseConfig.Phase2.MSCHAPV2; in supplicantToWifiConfigurationEapPhase2Method()
764 return WifiEnterpriseConfig.Phase2.GTC; in supplicantToWifiConfigurationEapPhase2Method()
766 return WifiEnterpriseConfig.Phase2.SIM; in supplicantToWifiConfigurationEapPhase2Method()
768 return WifiEnterpriseConfig.Phase2.AKA; in supplicantToWifiConfigurationEapPhase2Method()
770 return WifiEnterpriseConfig.Phase2.AKA_PRIME; in supplicantToWifiConfigurationEapPhase2Method()
920 case WifiEnterpriseConfig.Phase2.NONE: in wifiConfigurationToSupplicantEapPhase2Method()
922 case WifiEnterpriseConfig.Phase2.PAP: in wifiConfigurationToSupplicantEapPhase2Method()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java657 assertEquals(WifiEnterpriseConfig.Phase2.MSCHAPV2, wifiEnterpriseConfig.getPhase2Method()); in getWifiConfigWithUserCredential()
798 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in convertFromWifiConfigWithUserCredential()
DPasspointManagerTest.java1021 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredential()
1073 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredentialWithoutCaCert()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18002 public static final class WifiEnterpriseConfig.Phase2 {
/frameworks/base/api/
Dcurrent.txt26589 public static final class WifiEnterpriseConfig.Phase2 {
Dtest-current.txt26745 public static final class WifiEnterpriseConfig.Phase2 {
Dsystem-current.txt29114 public static final class WifiEnterpriseConfig.Phase2 {