Home
last modified time | relevance | path

Searched refs:phase2Method (Results 1 – 5 of 5) 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.java728 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential() local
731 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential()
734 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential()
737 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential()
745 config.setPhase2Method(phase2Method); in buildEnterpriseConfigForUserCredential()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java978 public EnterpriseConfig setPhase2(int phase2Method) { in setPhase2() argument
979 enterpriseConfig.setPhase2Method(phase2Method); in setPhase2()
980 phase2 = "auth=" + WifiEnterpriseConfig.Phase2.strings[phase2Method]; in setPhase2()
DWifiConfigurationTestUtil.java357 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument
362 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createEapNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java527 int phase2Method = config.enterpriseConfig.getPhase2Method(); in updateFromWifiConfiguration() local
529 .authPhase2Method = getAuthPhase2MethodProto(phase2Method); in updateFromWifiConfiguration()
556 private int getAuthPhase2MethodProto(int phase2Method) { in getAuthPhase2MethodProto() argument
557 switch (phase2Method) { in getAuthPhase2MethodProto()