Home
last modified time | relevance | path

Searched refs:phase2Method (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java408 String phase2Method = removeDoubleQuotes(loader.loadValue(PHASE2_KEY)); in loadFromSupplicant() local
410 if (phase2Method.startsWith(Phase2.AUTH_PREFIX)) { in loadFromSupplicant()
411 phase2Method = phase2Method.substring(Phase2.AUTH_PREFIX.length()); in loadFromSupplicant()
412 } else if (phase2Method.startsWith(Phase2.AUTHEAP_PREFIX)) { in loadFromSupplicant()
413 phase2Method = phase2Method.substring(Phase2.AUTHEAP_PREFIX.length()); in loadFromSupplicant()
415 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE); in loadFromSupplicant()
462 public void setPhase2Method(int phase2Method) { in setPhase2Method() argument
463 switch (phase2Method) { in setPhase2Method()
472 mPhase2Method = phase2Method; in setPhase2Method()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java515 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential() local
518 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential()
521 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential()
524 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential()
532 config.setPhase2Method(phase2Method); in buildEnterpriseConfigForUserCredential()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java707 public EnterpriseConfig setPhase2(int phase2Method) { in setPhase2() argument
708 enterpriseConfig.setPhase2Method(phase2Method); in setPhase2()
709 phase2 = "auth=" + WifiEnterpriseConfig.Phase2.strings[phase2Method]; in setPhase2()
DWifiConfigurationTestUtil.java311 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument
316 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createEapNetwork()