Home
last modified time | relevance | path

Searched refs:eapMethod (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java118 public static WifiConfiguration createEapConfig(String ssid, String password, int eapMethod, in createEapConfig() argument
135 config.enterpriseConfig.setEapMethod(eapMethod); in createEapConfig()
211 int eapMethod = getEapMethod(jsonConfig.getString("eap")); in getWifiConfiguration() local
232 config = createEapConfig(ssid, password, eapMethod, phase2, identity, in getWifiConfiguration()
290 private static int getEapMethod(String eapMethod) { in getEapMethod() argument
291 if ("TLS".equalsIgnoreCase(eapMethod)) { in getEapMethod()
294 if ("TTLS".equalsIgnoreCase(eapMethod)) { in getEapMethod()
297 if ("PEAP".equalsIgnoreCase(eapMethod)) { in getEapMethod()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java271 public void setEapMethod(int eapMethod) { in setEapMethod() argument
272 switch (eapMethod) { in setEapMethod()
282 mFields.put(EAP_KEY, Eap.strings[eapMethod]); in setEapMethod()
295 String eapMethod = mFields.get(EAP_KEY); in getEapMethod() local
296 return getStringIndex(Eap.strings, eapMethod, Eap.NONE); in getEapMethod()