Searched defs:eapMethod (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DWifiConfigurationHelper.java110 * @param eapMethod The EAP method
118 public static WifiConfiguration createEapConfig(String ssid, String password, int eapMethod, argument
135 config.enterpriseConfig.setEapMethod(eapMethod);
211 int eapMethod = getEapMethod(jsonConfig.getString("eap"));
232 config = createEapConfig(ssid, password, eapMethod, phase2, identity,
290 private static int getEapMethod(String eapMethod) { argument
291 if ("TLS".equalsIgnoreCase(eapMethod)) {
294 if ("TTLS".equalsIgnoreCase(eapMethod)) {
297 if ("PEAP".equalsIgnoreCase(eapMethod)) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
H A DCredential.java48 EAPMethod eapMethod, String userName, String password,
54 mEAPMethod = eapMethod;
76 EAPMethod eapMethod, Credential.CertType certType, byte[] fingerPrint) {
81 mEAPMethod = eapMethod;
96 EAPMethod eapMethod, IMSIParameter imsi) {
101 mEAPMethod = eapMethod;
198 private static EAPMethod mapEapMethod(int eapMethod, int phase2Method) throws IOException { argument
199 switch (eapMethod) {
228 if (eapMethod >= 0 && eapMethod < WifiEnterpriseConfi
47 Credential(long ctime, long expTime, String realm, boolean checkAAACert, EAPMethod eapMethod, String userName, String password, boolean machineManaged, String stApp, boolean share) argument
75 Credential(long ctime, long expTime, String realm, boolean checkAAACert, EAPMethod eapMethod, Credential.CertType certType, byte[] fingerPrint) argument
95 Credential(long ctime, long expTime, String realm, boolean checkAAACert, EAPMethod eapMethod, IMSIParameter imsi) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java289 * @param eapMethod is one {@link Eap#PEAP}, {@link Eap#TLS}, {@link Eap#TTLS} or
293 public void setEapMethod(int eapMethod) { argument
294 switch (eapMethod) {
305 mFields.put(EAP_KEY, Eap.strings[eapMethod]);
338 String eapMethod = mFields.get(EAP_KEY);
339 return getStringIndex(Eap.strings, eapMethod, Eap.NONE);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiStateMachine.java7417 int eapMethod = WifiEnterpriseConfig.Eap.NONE;
7421 eapMethod = targetWificonfiguration.enterpriseConfig.getEapMethod();
7429 && (eapMethod == WifiEnterpriseConfig.Eap.SIM
7430 || eapMethod == WifiEnterpriseConfig.Eap.AKA
7431 || eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME)) {
7441 String identity = buildIdentity(eapMethod, imsi, mccMnc);
8083 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { argument
8091 if (eapMethod == WifiEnterpriseConfig.Eap.SIM)
8093 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA)
8095 else if (eapMethod
[all...]

Completed in 158 milliseconds