Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DWifiEnterpriseConfig.java535 String phase2Method = removeDoubleQuotes(loader.loadValue(PHASE2_KEY)); in loadFromSupplicant() local
537 if (phase2Method.startsWith(Phase2.AUTH_PREFIX)) { in loadFromSupplicant()
538 phase2Method = phase2Method.substring(Phase2.AUTH_PREFIX.length()); in loadFromSupplicant()
539 } else if (phase2Method.startsWith(Phase2.AUTHEAP_PREFIX)) { in loadFromSupplicant()
540 phase2Method = phase2Method.substring(Phase2.AUTHEAP_PREFIX.length()); in loadFromSupplicant()
542 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE); in loadFromSupplicant()
589 public void setPhase2Method(int phase2Method) { in setPhase2Method() argument
590 switch (phase2Method) { in setPhase2Method()
599 mPhase2Method = phase2Method; in setPhase2Method()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationTestUtil.java418 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument
419 return createEapNetwork(createNewSSID(), eapMethod, phase2Method); in createEapNetwork()
422 public static WifiConfiguration createEapNetwork(String ssid, int eapMethod, int phase2Method) { in createEapNetwork() argument
428 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createEapNetwork()
438 int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument
439 return createWpa2Wpa3EnterpriseNetwork(createNewSSID(), eapMethod, phase2Method); in createWpa2Wpa3EnterpriseNetwork()
450 String ssid, int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument
456 configuration.enterpriseConfig.setPhase2Method(phase2Method); in createWpa2Wpa3EnterpriseNetwork()
H A DWifiConfigurationUtilTest.java1081 public EnterpriseConfig setPhase2(int phase2Method) { in setPhase2() argument
1082 enterpriseConfig.setPhase2Method(phase2Method); in setPhase2()
1083 phase2 = "auth=" + WifiEnterpriseConfig.Phase2.strings[phase2Method]; in setPhase2()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiConfigController.java666 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig() local
673 switch(phase2Method) { in getConfig()
696 switch(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()
1301 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in showPeapFields() local
1302 if (phase2Method == WIFI_PEAP_PHASE2_SIM || phase2Method == WIFI_PEAP_PHASE2_AKA in showPeapFields()
[all …]
H A DWifiConfigController2.java646 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in getConfig() local
653 switch(phase2Method) { in getConfig()
676 switch(phase2Method) { in getConfig()
1059 final int phase2Method = enterpriseConfig.getPhase2Method(); in showSecurityFields() local
1065 switch (phase2Method) { in showSecurityFields()
1082 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
1087 switch (phase2Method) { in showSecurityFields()
1101 Log.e(TAG, "Invalid phase 2 method " + phase2Method); in showSecurityFields()
1279 int phase2Method = mPhase2Spinner.getSelectedItemPosition(); in showPeapFields() local
1280 if (phase2Method == WIFI_PEAP_PHASE2_SIM || phase2Method == WIFI_PEAP_PHASE2_AKA in showPeapFields()
[all …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiConfigurationUtil.java1186 int phase2Method = config.enterpriseConfig.getPhase2Method(); in validateEnterpriseConfig() local
1187 if (phase2Method == WifiEnterpriseConfig.Phase2.MSCHAP in validateEnterpriseConfig()
1188 || phase2Method == WifiEnterpriseConfig.Phase2.MSCHAPV2 in validateEnterpriseConfig()
1189 || phase2Method == WifiEnterpriseConfig.Phase2.PAP in validateEnterpriseConfig()
1190 || phase2Method == WifiEnterpriseConfig.Phase2.GTC) { in validateEnterpriseConfig()
H A DWifiMetrics.java690 private int getAuthPhase2MethodProto(int phase2Method) { in getAuthPhase2MethodProto() argument
691 switch (phase2Method) { in getAuthPhase2MethodProto()
1354 int phase2Method = config.enterpriseConfig.getPhase2Method(); in updateFromWifiConfiguration() local
1356 getAuthPhase2MethodProto(phase2Method); in updateFromWifiConfiguration()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointProvider.java928 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential() local
931 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential()
934 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential()
937 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential()
945 config.setPhase2Method(phase2Method); in buildEnterpriseConfigForUserCredential()
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/
H A DWifiEnterpriseConfigTest.java647 private WifiEnterpriseConfig createEnterpriseConfig(int eapMethod, int phase2Method, in createEnterpriseConfig() argument
652 config.setPhase2Method(phase2Method); in createEnterpriseConfig()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...