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.java800 String phase2Method = removeDoubleQuotes(loader.loadValue(PHASE2_KEY)); in loadFromSupplicant() local
802 if (phase2Method.startsWith(Phase2.AUTH_PREFIX)) { in loadFromSupplicant()
803 phase2Method = phase2Method.substring(Phase2.AUTH_PREFIX.length()); in loadFromSupplicant()
804 } else if (phase2Method.startsWith(Phase2.AUTHEAP_PREFIX)) { in loadFromSupplicant()
805 phase2Method = phase2Method.substring(Phase2.AUTHEAP_PREFIX.length()); in loadFromSupplicant()
807 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE); in loadFromSupplicant()
854 public void setPhase2Method(int phase2Method) { in setPhase2Method() argument
855 switch (phase2Method) { in setPhase2Method()
864 mPhase2Method = phase2Method; in setPhase2Method()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java432 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument
433 return createEapNetwork(createNewSSID(), eapMethod, phase2Method); in createEapNetwork()
436 public static WifiConfiguration createEapNetwork(String ssid, int eapMethod, int phase2Method) { in createEapNetwork() argument
442 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createEapNetwork()
452 int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument
453 return createWpa2Wpa3EnterpriseNetwork(createNewSSID(), eapMethod, phase2Method); in createWpa2Wpa3EnterpriseNetwork()
464 String ssid, int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument
470 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createWpa2Wpa3EnterpriseNetwork()
DWifiConfigurationUtilTest.java1262 public EnterpriseConfig setPhase2(int phase2Method) { in setPhase2() argument
1263 enterpriseConfig.setPhase2Method(phase2Method); in setPhase2()
1264 phase2 = "auth=" + WifiEnterpriseConfig.Phase2.strings[phase2Method]; in setPhase2()
DWifiConfigManagerTest.java8023 private WifiConfiguration prepareTofuEapConfig(int eapMethod, int phase2Method) { in prepareTofuEapConfig() argument
8028 config.enterpriseConfig.setPhase2Method(phase2Method); in prepareTofuEapConfig()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java691 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig() local
698 switch(phase2Method) { in getConfig()
715 Log.e(TAG, "Unknown phase2 method" + phase2Method); in getConfig()
721 switch(phase2Method) { in getConfig()
735 Log.e(TAG, "Unknown phase2 method" + phase2Method); in getConfig()
1113 final int phase2Method = enterpriseConfig.getPhase2Method(); in showSecurityFields() local
1118 switch (phase2Method) { in showSecurityFields()
1135 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
1140 switch (phase2Method) { in showSecurityFields()
1154 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
[all …]
DWifiConfigController2.java697 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig() local
704 switch(phase2Method) { in getConfig()
721 Log.e(TAG, "Unknown phase2 method" + phase2Method); in getConfig()
727 switch(phase2Method) { in getConfig()
741 Log.e(TAG, "Unknown phase2 method" + phase2Method); in getConfig()
1126 final int phase2Method = enterpriseConfig.getPhase2Method(); in showSecurityFields() local
1132 switch (phase2Method) { in showSecurityFields()
1149 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
1154 switch (phase2Method) { in showSecurityFields()
1168 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java1208 int phase2Method = config.enterpriseConfig.getPhase2Method(); in validateEnterpriseConfig() local
1209 if (phase2Method == WifiEnterpriseConfig.Phase2.MSCHAP in validateEnterpriseConfig()
1210 || phase2Method == WifiEnterpriseConfig.Phase2.MSCHAPV2 in validateEnterpriseConfig()
1211 || phase2Method == WifiEnterpriseConfig.Phase2.PAP in validateEnterpriseConfig()
1212 || phase2Method == WifiEnterpriseConfig.Phase2.GTC) { in validateEnterpriseConfig()
DWifiMetrics.java794 private static int getAuthPhase2MethodProto(int phase2Method) { in getAuthPhase2MethodProto() argument
795 switch (phase2Method) { in getAuthPhase2MethodProto()
1484 int phase2Method = config.enterpriseConfig.getPhase2Method(); in updateFromWifiConfiguration() local
1486 getAuthPhase2MethodProto(phase2Method); in updateFromWifiConfiguration()
2186 private int toMetricPhase2Method(int phase2Method) { in toMetricPhase2Method() argument
2187 switch (phase2Method) { in toMetricPhase2Method()
2615 int phase2Method = config.enterpriseConfig.getPhase2Method(); in convertEapInnerMethodToProto() local
2616 return convertEapInnerMethodToProto(getAuthPhase2MethodProto(phase2Method)); in convertEapInnerMethodToProto()
2619 private static int convertEapInnerMethodToProto(int phase2Method) { in convertEapInnerMethodToProto() argument
2620 switch (phase2Method) { in convertEapInnerMethodToProto()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java996 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential() local
999 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential()
1002 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential()
1005 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential()
1013 config.setPhase2Method(phase2Method); in buildEnterpriseConfigForUserCredential()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiEnterpriseConfigTest.java734 private WifiEnterpriseConfig createEnterpriseConfig(int eapMethod, int phase2Method, in createEnterpriseConfig() argument
739 config.setPhase2Method(phase2Method); in createEnterpriseConfig()