/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | WifiConfigurationHelper.java | 110 * @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/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | TelephonyUtil.java | 63 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/packages/Osu/src/com/android/hotspot2/pps/ |
H A D | Credential.java | 39 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/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiConfigurationUtilTest.java | 609 EnterpriseConfig(int eapMethod) { argument 611 enterpriseConfig.setEapMethod(eapMethod); 612 eap = WifiEnterpriseConfig.Eap.strings[eapMethod];
|
H A D | SupplicantStaNetworkHalTest.java | 358 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 D | WifiConfigurationTestUtil.java | 312 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { argument 316 configuration.enterpriseConfig.setEapMethod(eapMethod);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiEnterpriseConfig.java | 405 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/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiStateMachine.java | 5668 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { argument 5676 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) 5678 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) 5680 else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME)
|