/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | CarrierNetworkNotifier.java | 64 int eapMethod = recommendedNetwork.carrierApEapType; in createRecommendedNetworkConfig() local 65 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in createRecommendedNetworkConfig()
|
D | ClientModeImpl.java | 4874 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument 4883 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) { in buildIdentity() 4885 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) { in buildIdentity() 4887 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) { in buildIdentity()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 118 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/util/ |
D | TelephonyUtil.java | 265 private static String buildIdentity(int eapMethod, String imsi, String mccMnc, in buildIdentity() argument 272 String prefix = isEncrypted ? DEFAULT_EAP_PREFIX : EAP_METHOD_PREFIX.get(eapMethod); in buildIdentity() 306 int eapMethod = config.enterpriseConfig.getEapMethod(); in getSimMethodForConfig() local 307 if (eapMethod == WifiEnterpriseConfig.Eap.PEAP) { in getSimMethodForConfig() 311 eapMethod = WifiEnterpriseConfig.Eap.SIM; in getSimMethodForConfig() 314 eapMethod = WifiEnterpriseConfig.Eap.AKA; in getSimMethodForConfig() 317 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in getSimMethodForConfig() 322 return isSimEapMethod(eapMethod) ? eapMethod : WifiEnterpriseConfig.Eap.NONE; in getSimMethodForConfig() 349 public static boolean isSimEapMethod(int eapMethod) { in isSimEapMethod() argument 350 return eapMethod == WifiEnterpriseConfig.Eap.SIM in isSimEapMethod() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ANQPMatcher.java | 196 for (EAPMethod eapMethod : realmData.getEAPMethods()) { in matchNAIRealmData() 197 eapMethodMatch = matchEAPMethod(eapMethod, eapMethodID, authParam); in matchNAIRealmData() 228 for (EAPMethod eapMethod : realmData.getEAPMethods()) { in getEapMethodForNAIRealmWithCarrier() 229 if (isCarrierEapMethod(eapMethod.getEAPMethodID())) { in getEapMethodForNAIRealmWithCarrier() 230 return eapMethod.getEAPMethodID(); in getEapMethodForNAIRealmWithCarrier()
|
D | Utils.java | 141 public static boolean isCarrierEapMethod(int eapMethod) { in isCarrierEapMethod() argument 142 return eapMethod == EAPConstants.EAP_SIM in isCarrierEapMethod() 143 || eapMethod == EAPConstants.EAP_AKA in isCarrierEapMethod() 144 || eapMethod == EAPConstants.EAP_AKA_PRIME; in isCarrierEapMethod()
|
D | PasspointNetworkEvaluator.java | 201 int eapMethod = in createEphemeralProfileForMatchingAp() local 203 if (!isCarrierEapMethod(eapMethod)) { in createEphemeralProfileForMatchingAp() 207 mPasspointManager.createEphemeralPasspointConfigForCarrier(eapMethod); in createEphemeralProfileForMatchingAp()
|
D | PasspointProvider.java | 665 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in buildEnterpriseConfigForSimCredential() local 668 eapMethod = WifiEnterpriseConfig.Eap.SIM; in buildEnterpriseConfigForSimCredential() 671 eapMethod = WifiEnterpriseConfig.Eap.AKA; in buildEnterpriseConfigForSimCredential() 674 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in buildEnterpriseConfigForSimCredential() 682 config.setEapMethod(eapMethod); in buildEnterpriseConfigForSimCredential()
|
D | PasspointManager.java | 469 int eapMethod = ANQPMatcher.getCarrierEapMethodFromMatchingNAIRealm(domain, in findEapMethodFromNAIRealmMatchedWithCarrier() local 471 if (eapMethod != -1) { in findEapMethodFromNAIRealmMatchedWithCarrier() 472 return eapMethod; in findEapMethodFromNAIRealmMatchedWithCarrier() 485 public PasspointConfiguration createEphemeralPasspointConfigForCarrier(int eapMethod) { in createEphemeralPasspointConfigForCarrier() argument 494 if (!isCarrierEapMethod(eapMethod)) { in createEphemeralPasspointConfigForCarrier() 519 simCredential.setEapType(eapMethod); in createEphemeralPasspointConfigForCarrier()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 407 String eapMethod = loader.loadValue(EAP_KEY); in loadFromSupplicant() local 408 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant() 426 public void setEapMethod(int eapMethod) { in setEapMethod() argument 427 switch (eapMethod) { in setEapMethod() 439 mEapMethod = eapMethod; in setEapMethod()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaNetworkHalTest.java | 477 mSupplicantVariables.eapMethod = -1; in testInvalidEapMethodLoadFailure() 1318 mSupplicantVariables.eapMethod = method; in setupISupplicantNetworkMock() 1326 if (mSupplicantVariables.eapMethod == -1) { in setupISupplicantNetworkMock() 1327 cb.onValues(mStatusFailure, mSupplicantVariables.eapMethod); in setupISupplicantNetworkMock() 1329 cb.onValues(mStatusSuccess, mSupplicantVariables.eapMethod); in setupISupplicantNetworkMock() 1604 public int eapMethod = -1; field in SupplicantStaNetworkHalTest.SupplicantNetworkVariables
|
D | WifiConfigurationUtilTest.java | 1020 EnterpriseConfig(int eapMethod) { in EnterpriseConfig() argument 1022 enterpriseConfig.setEapMethod(eapMethod); in EnterpriseConfig() 1023 eap = WifiEnterpriseConfig.Eap.strings[eapMethod]; in EnterpriseConfig()
|
D | WifiConfigurationTestUtil.java | 356 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument 360 configuration.enterpriseConfig.setEapMethod(eapMethod); in createEapNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 174 EAPMethod eapMethod = new EAPMethod(eapMethodID, authParamMap); in createNAIRealmElement() local 176 Arrays.asList(new EAPMethod[] {eapMethod})); in createNAIRealmElement()
|