Searched refs:eapMethod (Results 1 - 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DNAIRealmData.java81 for (EAPMethod eapMethod : mEAPMethods) {
82 int match = eapMethod.match(credential) | realmMatch;
103 for (EAPMethod eapMethod : mEAPMethods) {
104 sb.append( " " ).append(eapMethod.toString());
/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/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/base/packages/Osu/src/com/android/hotspot2/pps/
H A DCredential.java39 EAPMethod eapMethod, String userName, String password,
45 mEAPMethod = eapMethod;
67 EAPMethod eapMethod, Credential.CertType certType, byte[] fingerPrint) {
72 mEAPMethod = eapMethod;
87 EAPMethod eapMethod, IMSIParameter imsi) {
92 mEAPMethod = eapMethod;
38 Credential(long ctime, long expTime, String realm, boolean checkAAACert, EAPMethod eapMethod, String userName, String password, boolean machineManaged, String stApp, boolean share) argument
66 Credential(long ctime, long expTime, String realm, boolean checkAAACert, EAPMethod eapMethod, Credential.CertType certType, byte[] fingerPrint) argument
86 Credential(long ctime, long expTime, String realm, boolean checkAAACert, EAPMethod eapMethod, IMSIParameter imsi) argument
/frameworks/base/packages/Osu/src/com/android/configparse/
H A DConfigBuilder.java106 EAPMethod eapMethod = credential.getEAPMethod();
108 AuthParam authParam = eapMethod.getAuthParam();
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java417 String eapMethod = loader.loadValue(EAP_KEY);
418 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE);
432 * @param eapMethod is one {@link Eap#PEAP}, {@link Eap#TLS}, {@link Eap#TTLS} or
436 public void setEapMethod(int eapMethod) { argument
437 switch (eapMethod) {
449 mEapMethod = eapMethod;
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DMOManager.java811 EAPMethod eapMethod;
813 eapMethod = new EAPMethod(eapMethodID, new InnerAuthEAP(innerEAPMethod));
815 eapMethod = new EAPMethod(eapMethodID,
819 eapMethod =
823 eapMethod = new EAPMethod(eapMethodID, new NonEAPInnerAuth(innerNonEAPMethod));
828 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, userName,
836 EAPMethod eapMethod = new EAPMethod(EAP.EAPMethodID.EAP_TLS, null);
838 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod,
848 EAPMethod eapMethod =
852 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, ims
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DPasspointManagementObjectManager.java770 EAPMethod eapMethod;
772 eapMethod = new EAPMethod(eapMethodID, new InnerAuthEAP(innerEAPMethod));
774 eapMethod = new EAPMethod(eapMethodID,
778 eapMethod =
782 eapMethod = new EAPMethod(eapMethodID, new NonEAPInnerAuth(innerNonEAPMethod));
787 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, userName,
795 EAPMethod eapMethod = new EAPMethod(EAP.EAPMethodID.EAP_TLS, null);
797 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod,
807 EAPMethod eapMethod =
811 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, ims
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
H A DConfigBuilder.java244 EAPMethod eapMethod = credential.getEAPMethod();
246 AuthParam authParam = eapMethod.getAuthParam();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DSupplicantBridge.java283 EAPMethod eapMethod = credential.getEAPMethod();
289 netID, mapEAPMethodName(eapMethod.getEAPMethodID())));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigManagerTest.java930 public EnterpriseConfig(int eapMethod) { argument
932 enterpriseConfig.setEapMethod(eapMethod);
933 eap = Eap.strings[eapMethod];
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiStateMachine.java5589 int eapMethod = WifiEnterpriseConfig.Eap.NONE;
5593 eapMethod = targetWificonfiguration.enterpriseConfig.getEapMethod();
5601 && (eapMethod == WifiEnterpriseConfig.Eap.SIM
5602 || eapMethod == WifiEnterpriseConfig.Eap.AKA
5603 || eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME)) {
5613 String identity = buildIdentity(eapMethod, imsi, mccMnc);
6354 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { argument
6362 if (eapMethod == WifiEnterpriseConfig.Eap.SIM)
6364 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA)
6366 else if (eapMethod
[all...]

Completed in 131 milliseconds