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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DTelephonyUtil.java63 private static String buildIdentity(int eapMethod, String imsi, String mccMnc) { argument
70 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) {
72 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) {
74 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) {
109 int eapMethod = config.enterpriseConfig.getEapMethod();
110 if (eapMethod == WifiEnterpriseConfig.Eap.PEAP) {
114 eapMethod = WifiEnterpriseConfig.Eap.SIM;
117 eapMethod = WifiEnterpriseConfig.Eap.AKA;
120 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME;
125 return isSimEapMethod(eapMethod)
144 isSimEapMethod(int eapMethod) 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DANQPMatcher.java172 for (EAPMethod eapMethod : realmData.getEAPMethods()) {
173 eapMethodMatch = matchEAPMethod(eapMethod, eapMethodID, authParam);
H A DPasspointProvider.java514 int eapMethod = WifiEnterpriseConfig.Eap.NONE;
517 eapMethod = WifiEnterpriseConfig.Eap.SIM;
520 eapMethod = WifiEnterpriseConfig.Eap.AKA;
523 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME;
531 config.setEapMethod(eapMethod);
/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.java405 String eapMethod = loader.loadValue(EAP_KEY);
406 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE);
420 * @param eapMethod is one {@link Eap#PEAP}, {@link Eap#TLS}, {@link Eap#TTLS} or
424 public void setEapMethod(int eapMethod) { argument
425 switch (eapMethod) {
437 mEapMethod = eapMethod;
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DMOManager.java856 EAPMethod eapMethod;
858 eapMethod = new EAPMethod(eapMethodID, new InnerAuthEAP(innerEAPMethod));
860 eapMethod = new EAPMethod(eapMethodID,
864 eapMethod =
868 eapMethod = new EAPMethod(eapMethodID, new NonEAPInnerAuth(innerNonEAPMethod));
873 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, userName,
881 EAPMethod eapMethod = new EAPMethod(EAP.EAPMethodID.EAP_TLS, null);
883 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod,
893 EAPMethod eapMethod =
897 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, ims
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationUtilTest.java362 EnterpriseConfig(int eapMethod) { argument
364 enterpriseConfig.setEapMethod(eapMethod);
365 eap = WifiEnterpriseConfig.Eap.strings[eapMethod];
H A DSupplicantStaNetworkHalTest.java358 mSupplicantVariables.eapMethod = -1;
1038 mSupplicantVariables.eapMethod = method;
1046 if (mSupplicantVariables.eapMethod == -1) {
1047 cb.onValues(mStatusFailure, mSupplicantVariables.eapMethod);
1049 cb.onValues(mStatusSuccess, mSupplicantVariables.eapMethod);
1310 public int eapMethod = -1; field in class:SupplicantStaNetworkHalTest.SupplicantNetworkVariables
H A DWifiConfigurationTestUtil.java301 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { argument
305 configuration.enterpriseConfig.setEapMethod(eapMethod);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointProviderTest.java140 EAPMethod eapMethod = new EAPMethod(eapMethodID, authParamMap);
142 Arrays.asList(new EAPMethod[] {eapMethod}));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiStateMachine.java5469 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { argument
5477 if (eapMethod == WifiEnterpriseConfig.Eap.SIM)
5479 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA)
5481 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME)

Completed in 4498 milliseconds