Home
last modified time | relevance | path

Searched refs:eapMethod (Results 1 – 12 of 12) 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/base/packages/Osu/src/com/android/hotspot2/pps/
DCredential.java39 EAPMethod eapMethod, String userName, String password, in Credential() argument
45 mEAPMethod = eapMethod; in Credential()
67 EAPMethod eapMethod, Credential.CertType certType, byte[] fingerPrint) { in Credential() argument
72 mEAPMethod = eapMethod; in Credential()
87 EAPMethod eapMethod, IMSIParameter imsi) { in Credential() argument
92 mEAPMethod = eapMethod; in Credential()
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DMOManager.java811 EAPMethod eapMethod; in buildCredential() local
813 eapMethod = new EAPMethod(eapMethodID, new InnerAuthEAP(innerEAPMethod)); in buildCredential()
815 eapMethod = new EAPMethod(eapMethodID, in buildCredential()
819 eapMethod = in buildCredential()
823 eapMethod = new EAPMethod(eapMethodID, new NonEAPInnerAuth(innerNonEAPMethod)); in buildCredential()
828 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, userName, in buildCredential()
836 EAPMethod eapMethod = new EAPMethod(EAP.EAPMethodID.EAP_TLS, null); in buildCredential() local
838 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, in buildCredential()
848 EAPMethod eapMethod = in buildCredential() local
852 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, imsi); in buildCredential()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DPasspointManagementObjectManager.java770 EAPMethod eapMethod; in buildCredential() local
772 eapMethod = new EAPMethod(eapMethodID, new InnerAuthEAP(innerEAPMethod)); in buildCredential()
774 eapMethod = new EAPMethod(eapMethodID, in buildCredential()
778 eapMethod = in buildCredential()
782 eapMethod = new EAPMethod(eapMethodID, new NonEAPInnerAuth(innerNonEAPMethod)); in buildCredential()
787 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, userName, in buildCredential()
795 EAPMethod eapMethod = new EAPMethod(EAP.EAPMethodID.EAP_TLS, null); in buildCredential() local
797 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, in buildCredential()
807 EAPMethod eapMethod = in buildCredential() local
811 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, imsi); in buildCredential()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java417 String eapMethod = loader.loadValue(EAP_KEY); in loadFromSupplicant() local
418 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant()
436 public void setEapMethod(int eapMethod) { in setEapMethod() argument
437 switch (eapMethod) { in setEapMethod()
449 mEapMethod = eapMethod; in setEapMethod()
/frameworks/base/packages/Osu/src/com/android/configparse/
DConfigBuilder.java106 EAPMethod eapMethod = credential.getEAPMethod(); in buildTTLSConfig() local
108 AuthParam authParam = eapMethod.getAuthParam(); in buildTTLSConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java244 EAPMethod eapMethod = credential.getEAPMethod(); in buildTTLSConfig() local
246 AuthParam authParam = eapMethod.getAuthParam(); in buildTTLSConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DSupplicantBridge.java283 EAPMethod eapMethod = credential.getEAPMethod(); in getWPSNetCommands() local
289 netID, mapEAPMethodName(eapMethod.getEAPMethodID()))); in getWPSNetCommands()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java930 public EnterpriseConfig(int eapMethod) { in EnterpriseConfig() argument
932 enterpriseConfig.setEapMethod(eapMethod); in EnterpriseConfig()
933 eap = Eap.strings[eapMethod]; in EnterpriseConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java5589 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in processMessage() local
5593 eapMethod = targetWificonfiguration.enterpriseConfig.getEapMethod(); in processMessage()
5601 && (eapMethod == WifiEnterpriseConfig.Eap.SIM in processMessage()
5602 || eapMethod == WifiEnterpriseConfig.Eap.AKA in processMessage()
5603 || eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME)) { in processMessage()
5613 String identity = buildIdentity(eapMethod, imsi, mccMnc); in processMessage()
6354 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument
6362 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) in buildIdentity()
6364 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) in buildIdentity()
6366 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) in buildIdentity()