Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java141 private int mPhase2Method = Phase2.NONE;
316 public static final class Phase2 { class in WifiEnterpriseConfig
333 private Phase2() {} in Phase2() method in WifiEnterpriseConfig.Phase2
388 if (mEapMethod != Eap.TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant()
389 boolean is_autheap = mEapMethod == Eap.TTLS && mPhase2Method == Phase2.GTC; in saveToSupplicant()
390 String prefix = is_autheap ? Phase2.AUTHEAP_PREFIX : Phase2.AUTH_PREFIX; in saveToSupplicant()
391 String value = convertToQuotedString(prefix + Phase2.strings[mPhase2Method]); in saveToSupplicant()
393 } else if (mPhase2Method == Phase2.NONE) { in saveToSupplicant()
422 if (phase2Method.startsWith(Phase2.AUTH_PREFIX)) { in loadFromSupplicant()
423 phase2Method = phase2Method.substring(Phase2.AUTH_PREFIX.length()); in loadFromSupplicant()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java24 import android.net.wifi.WifiEnterpriseConfig.Phase2;
166 mEnterpriseConfig.setPhase2Method(Phase2.MSCHAPV2); in eapPhase2MethodForTls()
185 mEnterpriseConfig.setPhase2Method(Phase2.MSCHAPV2); in eapPhase2None()
190 mEnterpriseConfig.setPhase2Method(Phase2.NONE); in eapPhase2None()
198 mEnterpriseConfig.setPhase2Method(Phase2.GTC); in peapGtcToTtls()
211 mEnterpriseConfig.setPhase2Method(Phase2.GTC); in ttlsGtcToPeap()
225 enterpriseConfig.setPhase2Method(Phase2.GTC); in copyConstructor()
236 enterpriseConfig.setPhase2Method(Phase2.GTC); in parcelConstructor()
251 enterpriseConfig.setPhase2Method(Phase2.GTC); in getKeyId()
254 mEnterpriseConfig.setPhase2Method(Phase2.MSCHAPV2); in getKeyId()
/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/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/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java34 import android.net.wifi.WifiEnterpriseConfig.Phase2;
779 .setPhase2(Phase2.MSCHAPV2) in testSaveLoadEapNetworks()
783 .setPhase2(Phase2.MSCHAPV2) in testSaveLoadEapNetworks()
937 phase2 = "auth=" + Phase2.strings[phase2Method]; in setPhase2()
1487 .setPhase2(Phase2.MSCHAPV2) in testEnterpriseConfigAdded()
1511 EnterpriseConfig eapConfig = new EnterpriseConfig(Eap.TTLS).setPhase2(Phase2.MSCHAPV2); in testEnterpriseConfigPhase2ChangeDetected()
1512 EnterpriseConfig papConfig = new EnterpriseConfig(Eap.TTLS).setPhase2(Phase2.PAP); in testEnterpriseConfigPhase2ChangeDetected()
1524 .setPhase2(Phase2.MSCHAPV2) in testCaCertificateAddedDetected()
1528 .setPhase2(Phase2.MSCHAPV2) in testCaCertificateAddedDetected()
1542 .setPhase2(Phase2.MSCHAPV2) in testDifferentCaCertificateDetected()
[all …]
DPasspointManagementObjectManagerTest.java96 enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addMoFromWifiConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DCredential.java206 case WifiEnterpriseConfig.Phase2.PAP:
209 case WifiEnterpriseConfig.Phase2.MSCHAP:
212 case WifiEnterpriseConfig.Phase2.MSCHAPV2:
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java382 return WifiEnterpriseConfig.Phase2.PAP; in remapInnerMethod()
384 return WifiEnterpriseConfig.Phase2.MSCHAP; in remapInnerMethod()
386 return WifiEnterpriseConfig.Phase2.MSCHAPV2; in remapInnerMethod()
/frameworks/base/
Dcompiled-classes-phone2854 android.net.wifi.WifiEnterpriseConfig$Phase2
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18002 public static final class WifiEnterpriseConfig.Phase2 {
/frameworks/base/api/
Dcurrent.txt24482 public static final class WifiEnterpriseConfig.Phase2 {
Dtest-current.txt24551 public static final class WifiEnterpriseConfig.Phase2 {
Dsystem-current.txt26735 public static final class WifiEnterpriseConfig.Phase2 {