/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
TelephonyUtil.java | 62 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) { 64 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) { 66 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) { 111 return eapMethod == WifiEnterpriseConfig.Eap.SIM 112 || eapMethod == WifiEnterpriseConfig.Eap.AKA 113 || eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME;
|
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/ |
WifiEnterpriseConfigTest.java | 23 import android.net.wifi.WifiEnterpriseConfig.Eap; 154 /** Verifies the default value for EAP outer and inner methods */ 161 /** Verifies that the EAP inner method is reset when we switch to TLS */ 164 // Initially select an EAP method that supports an phase2. 165 mEnterpriseConfig.setEapMethod(Eap.PEAP); 170 // Change the EAP method to another type which supports a phase2. 171 mEnterpriseConfig.setEapMethod(Eap.TTLS); 175 // Change the EAP method to TLS which does not support a phase2. 176 mEnterpriseConfig.setEapMethod(Eap.TLS); 180 /** Verfies that the EAP inner method is reset when we switch phase2 to NONE * [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiEnterpriseConfig.java | 40 * Enterprise configuration details for Wi-Fi. Stores details about the EAP method 48 public static final String EAP_KEY = "eap"; 140 private int mEapMethod = Eap.NONE; 288 public static final class Eap { 289 /** No EAP method used. Represents an empty config */ 291 /** Protected EAP */ 293 /** EAP-Transport Layer Security */ 295 /** EAP-Tunneled Transport Layer Security */ 297 /** EAP-Password */ 299 /** EAP-Subscriber Identity Module * [all...] |
WifiConfiguration.java | 83 /** WPA using EAP authentication. Generally used with an external authentication server. */ 85 /** IEEE 802.1X using EAP authentication and (optionally) dynamically 137 /** LEAP/Network EAP (only used with LEAP) */ 319 * Defaults to WPA-PSK WPA-EAP. 347 * The enterprise configuration details specifying the EAP method, 348 * certificates and other settings associated with the EAP. 840 * This network is disabled because EAP-TLS failure [all...] |
/frameworks/base/packages/Osu/src/com/android/configparse/ |
ConfigBuilder.java | 10 import com.android.anqp.eap.AuthParam; 11 import com.android.anqp.eap.EAP; 12 import com.android.anqp.eap.EAPMethod; 13 import com.android.anqp.eap.NonEAPInnerAuth; 42 EAP.EAPMethodID eapMethodID = credential.getEAPMethod().getEAPMethodID(); 46 Log.w(TAG, "Client cert and/or key included with EAP-TTLS profile"); 63 throw new IOException("Unsupported EAP Method: " + eapMethodID); 103 throw new IOException("EAP-TTLS provisioned without user name or password"); 110 authParam.getAuthInfoID() != EAP.AuthInfoID.NonEAPInnerAuthType) [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigurationTestUtil.java | 58 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM);
|
WifiConfigManagerTest.java | 33 import android.net.wifi.WifiEnterpriseConfig.Eap; 923 public String eap; field in class:WifiConfigManagerTest.EnterpriseConfig [all...] |
PasspointManagementObjectManagerTest.java | 95 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS);
|
WifiQualifiedNetworkSelectorTest.java | 215 when(enterpriseConfig.getEapMethod()).thenReturn(WifiEnterpriseConfig.Eap.PEAP); 328 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS][ESS]"}; 366 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS][ESS]"}; 404 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS][ESS]"}; 441 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS][ESS]"}; 478 String[] caps = {"[WPA2-EAP-CCMP][ESS]", "[WPA2-EAP-CCMP][ESS][ESS]"} [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
Credential.java | 11 import com.android.server.wifi.anqp.eap.EAP; 12 import com.android.server.wifi.anqp.eap.EAPMethod; 13 import com.android.server.wifi.anqp.eap.NonEAPInnerAuth; 140 mCertType = mEAPMethod.getEAPMethodID() == EAP.EAPMethodID.EAP_TLS ? CertType.x509v3 : null; 200 case WifiEnterpriseConfig.Eap.TLS: 201 return new EAPMethod(EAP.EAPMethodID.EAP_TLS, null); 202 case WifiEnterpriseConfig.Eap.TTLS: 219 return new EAPMethod(EAP.EAPMethodID.EAP_TTLS, inner); 220 case WifiEnterpriseConfig.Eap.SIM [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
ConfigBuilder.java | 12 import com.android.server.wifi.anqp.eap.AuthParam; 13 import com.android.server.wifi.anqp.eap.EAP; 14 import com.android.server.wifi.anqp.eap.EAPMethod; 15 import com.android.server.wifi.anqp.eap.NonEAPInnerAuth; 178 EAP.EAPMethodID eapMethodID = homeSP.getCredential().getEAPMethod().getEAPMethodID(); 182 Log.w(TAG, "Client cert and/or key unnecessarily included with EAP-TTLS "+ 200 throw new IOException("Unsupported EAP Method: " + eapMethodID); 234 * that this value will be sent to the EAP server as part of the EAP-Response/ Identit [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
WifiConfigurationHelper.java | 44 private static final int EAP = 3; 106 * Create a {@link WifiConfiguration} for an EAP secured network 110 * @param eapMethod The EAP method 160 * security being one of NONE, WEP, PSK, or EAP. If WEP, PSK, or EAP are selected, the field 161 * "password" must also be provided. If EAP is selected, then the fiels "eap", "phase2", 209 case EAP: 211 int eapMethod = getEapMethod(jsonConfig.getString("eap")); 279 if ("EAP".equalsIgnoreCase(security)) [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiEnterpriseConfigTest.java | 23 import android.net.wifi.WifiEnterpriseConfig.Eap; [all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
WiFiInstaller.java | 59 doNotInstall = (enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS 60 || enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS)
|
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiEnterpriseRoamingTest.py | 28 # EAP Macros 29 EAP = WifiEnums.Eap 62 Ent.EAP: EAP.PEAP, 70 Ent.EAP: EAP.TLS, 78 Ent.EAP: EAP.TTLS, 86 Ent.EAP: EAP.SIM [all...] |
WifiEnterpriseTest.py | 28 # EAP Macros 29 EAP = WifiEnums.Eap 76 # Default configs for EAP networks. 78 Ent.EAP: EAP.PEAP, 88 Ent.EAP: EAP.TLS, 96 Ent.EAP: EAP.TTLS [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigController.java | 34 import android.net.wifi.WifiEnterpriseConfig.Eap; 403 // Disallow submit if the user has not selected a CA certificate for an EAP network 411 // Disallow submit if the user chooses to use system certificates for EAP server 420 // Disallow submit if the user has not selected a user certificate for an EAP network 435 // Display warning if user chooses not to validate the EAP server with a 436 // user-supplied CA certificate in an EAP network configuration. 514 case Eap.PEAP: 585 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiServiceImpl.java | [all...] |
WifiMonitor.java | 203 * CTRL-EVENT-EAP-FAILURE EAP authentication failed 206 private static final String EAP_FAILURE_STR = "EAP-FAILURE"; 209 * This indicates an authentication failure on EAP FAILURE event 211 private static final String EAP_AUTH_FAILURE_STR = "EAP authentication failed"; 213 /* EAP authentication timeout events */ 455 /* Password failure and EAP authentication failure */ [all...] |
WifiStateMachine.java | [all...] |
WifiConfigStore.java | [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
wifi_test_utils.py | 75 # Start of Macros for EAP 76 # EAP types 77 class Eap(IntEnum): 88 # EAP Phase2 types 99 EAP = "eap" 117 # End of Macros for EAP 854 if config[WifiEnums.Enterprise.EAP] == WifiEnums.Eap.PEAP:
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
WifiNetworkAdapter.java | 276 * network, which is an anonymous EAP-TLS network with special keys. 307 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.UNAUTH_TLS);
|
/frameworks/base/ |
compiled-classes-phone | [all...] |
/external/libgdx/backends/gdx-backend-android/libs/ |
android-4.4.jar | |