Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java554 String phase2Method = removeDoubleQuotes(loader.loadValue(PHASE2_KEY)); in loadFromSupplicant() local
556 if (phase2Method.startsWith(Phase2.AUTH_PREFIX)) { in loadFromSupplicant()
557 phase2Method = phase2Method.substring(Phase2.AUTH_PREFIX.length()); in loadFromSupplicant()
558 } else if (phase2Method.startsWith(Phase2.AUTHEAP_PREFIX)) { in loadFromSupplicant()
559 phase2Method = phase2Method.substring(Phase2.AUTHEAP_PREFIX.length()); in loadFromSupplicant()
561 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE); in loadFromSupplicant()
608 public void setPhase2Method(int phase2Method) { in setPhase2Method() argument
609 switch (phase2Method) { in setPhase2Method()
618 mPhase2Method = phase2Method; in setPhase2Method()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java419 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument
420 return createEapNetwork(createNewSSID(), eapMethod, phase2Method); in createEapNetwork()
423 public static WifiConfiguration createEapNetwork(String ssid, int eapMethod, int phase2Method) { in createEapNetwork() argument
429 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createEapNetwork()
439 int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument
440 return createWpa2Wpa3EnterpriseNetwork(createNewSSID(), eapMethod, phase2Method); in createWpa2Wpa3EnterpriseNetwork()
451 String ssid, int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument
457 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createWpa2Wpa3EnterpriseNetwork()
DWifiConfigurationUtilTest.java1193 public EnterpriseConfig setPhase2(int phase2Method) { in setPhase2() argument
1194 enterpriseConfig.setPhase2Method(phase2Method); in setPhase2()
1195 phase2 = "auth=" + WifiEnterpriseConfig.Phase2.strings[phase2Method]; in setPhase2()
DWifiConfigManagerTest.java7358 private WifiConfiguration prepareTofuEapConfig(int eapMethod, int phase2Method) { in prepareTofuEapConfig() argument
7363 config.enterpriseConfig.setPhase2Method(phase2Method); in prepareTofuEapConfig()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java666 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig() local
673 switch(phase2Method) { in getConfig()
690 Log.e(TAG, "Unknown phase2 method" + phase2Method); in getConfig()
696 switch(phase2Method) { in getConfig()
710 Log.e(TAG, "Unknown phase2 method" + phase2Method); in getConfig()
1081 final int phase2Method = enterpriseConfig.getPhase2Method(); in showSecurityFields() local
1086 switch (phase2Method) { in showSecurityFields()
1103 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
1108 switch (phase2Method) { in showSecurityFields()
1122 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
[all …]
DWifiConfigController2.java651 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig() local
658 switch(phase2Method) { in getConfig()
675 Log.e(TAG, "Unknown phase2 method" + phase2Method); in getConfig()
681 switch(phase2Method) { in getConfig()
695 Log.e(TAG, "Unknown phase2 method" + phase2Method); in getConfig()
1066 final int phase2Method = enterpriseConfig.getPhase2Method(); in showSecurityFields() local
1072 switch (phase2Method) { in showSecurityFields()
1089 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
1094 switch (phase2Method) { in showSecurityFields()
1108 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java1136 int phase2Method = config.enterpriseConfig.getPhase2Method(); in validateEnterpriseConfig() local
1137 if (phase2Method == WifiEnterpriseConfig.Phase2.MSCHAP in validateEnterpriseConfig()
1138 || phase2Method == WifiEnterpriseConfig.Phase2.MSCHAPV2 in validateEnterpriseConfig()
1139 || phase2Method == WifiEnterpriseConfig.Phase2.PAP in validateEnterpriseConfig()
1140 || phase2Method == WifiEnterpriseConfig.Phase2.GTC) { in validateEnterpriseConfig()
DWifiMetrics.java696 private int getAuthPhase2MethodProto(int phase2Method) { in getAuthPhase2MethodProto() argument
697 switch (phase2Method) { in getAuthPhase2MethodProto()
1373 int phase2Method = config.enterpriseConfig.getPhase2Method(); in updateFromWifiConfiguration() local
1375 getAuthPhase2MethodProto(phase2Method); in updateFromWifiConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java954 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential() local
957 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential()
960 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential()
963 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential()
971 config.setPhase2Method(phase2Method); in buildEnterpriseConfigForUserCredential()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java700 private WifiEnterpriseConfig createEnterpriseConfig(int eapMethod, int phase2Method, in createEnterpriseConfig() argument
705 config.setPhase2Method(phase2Method); in createEnterpriseConfig()