Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DCredential.java48 EAPMethod eapMethod, String userName, String password, in Credential() argument
54 mEAPMethod = eapMethod; in Credential()
76 EAPMethod eapMethod, Credential.CertType certType, byte[] fingerPrint) { in Credential() argument
81 mEAPMethod = eapMethod; in Credential()
96 EAPMethod eapMethod, IMSIParameter imsi) { in Credential() argument
101 mEAPMethod = eapMethod; in Credential()
198 private static EAPMethod mapEapMethod(int eapMethod, int phase2Method) throws IOException {
199 switch (eapMethod) {
228 if (eapMethod >= 0 && eapMethod < WifiEnterpriseConfig.Eap.strings.length) {
229 methodName = WifiEnterpriseConfig.Eap.strings[eapMethod];
[all …]
/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/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DNAIRealmData.java81 for (EAPMethod eapMethod : mEAPMethods) { in match()
82 int match = eapMethod.match(credential) | realmMatch; in match()
103 for (EAPMethod eapMethod : mEAPMethods) { in toString()
104 sb.append( " " ).append(eapMethod.toString()); in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DMOManager.java600 EAPMethod eapMethod; in buildCredential() local
602 eapMethod = new EAPMethod(eapMethodID, new InnerAuthEAP(innerEAPMethod)); in buildCredential()
604 eapMethod = new EAPMethod(eapMethodID, in buildCredential()
608 eapMethod = in buildCredential()
612 eapMethod = new EAPMethod(eapMethodID, new NonEAPInnerAuth(innerNonEAPMethod)); in buildCredential()
617 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, userName, in buildCredential()
625 EAPMethod eapMethod = new EAPMethod(EAP.EAPMethodID.EAP_TLS, null); in buildCredential() local
627 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, in buildCredential()
638 EAPMethod eapMethod = in buildCredential() local
642 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, imsi); in buildCredential()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java282 public void setEapMethod(int eapMethod) { in setEapMethod() argument
283 switch (eapMethod) { in setEapMethod()
294 mFields.put(EAP_KEY, Eap.strings[eapMethod]); in setEapMethod()
307 String eapMethod = mFields.get(EAP_KEY); in getEapMethod() local
308 return getStringIndex(Eap.strings, eapMethod, Eap.NONE); in getEapMethod()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DSupplicantBridge.java251 EAPMethod eapMethod = credential.getEAPMethod(); in getWPSNetCommands() local
257 netID, mapEAPMethodName(eapMethod.getEAPMethodID()))); in getWPSNetCommands()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java242 EAPMethod eapMethod = credential.getEAPMethod(); in buildTTLSConfig() local
244 AuthParam authParam = eapMethod.getAuthParam(); in buildTTLSConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java7226 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in processMessage() local
7230 eapMethod = targetWificonfiguration.enterpriseConfig.getEapMethod(); in processMessage()
7238 && (eapMethod == WifiEnterpriseConfig.Eap.SIM in processMessage()
7239 || eapMethod == WifiEnterpriseConfig.Eap.AKA in processMessage()
7240 || eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME)) { in processMessage()
7250 String identity = buildIdentity(eapMethod, imsi, mccMnc); in processMessage()
7835 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument
7843 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) in buildIdentity()
7845 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) in buildIdentity()
7847 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) in buildIdentity()