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.java410 String phase2Method = removeDoubleQuotes(loader.loadValue(PHASE2_KEY)); in loadFromSupplicant() local
412 if (phase2Method.startsWith(Phase2.AUTH_PREFIX)) { in loadFromSupplicant()
413 phase2Method = phase2Method.substring(Phase2.AUTH_PREFIX.length()); in loadFromSupplicant()
414 } else if (phase2Method.startsWith(Phase2.AUTHEAP_PREFIX)) { in loadFromSupplicant()
415 phase2Method = phase2Method.substring(Phase2.AUTHEAP_PREFIX.length()); in loadFromSupplicant()
417 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE); in loadFromSupplicant()
464 public void setPhase2Method(int phase2Method) { in setPhase2Method() argument
465 switch (phase2Method) { in setPhase2Method()
474 mPhase2Method = phase2Method; in setPhase2Method()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java626 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential() local
629 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential()
632 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential()
635 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential()
643 config.setPhase2Method(phase2Method); in buildEnterpriseConfigForUserCredential()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java1026 public EnterpriseConfig setPhase2(int phase2Method) { in setPhase2() argument
1027 enterpriseConfig.setPhase2Method(phase2Method); in setPhase2()
1028 phase2 = "auth=" + WifiEnterpriseConfig.Phase2.strings[phase2Method]; in setPhase2()
DWifiConfigurationTestUtil.java356 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument
361 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createEapNetwork()