Home
last modified time | relevance | path

Searched refs:eapMethod (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkNotifier.java64 int eapMethod = recommendedNetwork.carrierApEapType; in createRecommendedNetworkConfig() local
65 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in createRecommendedNetworkConfig()
DWifiMetrics.java483 sb.append(", mEapMethod=" + mRouterFingerPrintProto.eapMethod); in toString()
524 int eapMethod = config.enterpriseConfig.getEapMethod(); in updateFromWifiConfiguration() local
526 .eapMethod = getEapMethodProto(eapMethod); in updateFromWifiConfiguration()
534 private int getEapMethodProto(int eapMethod) { in getEapMethodProto() argument
535 switch (eapMethod) { in getEapMethodProto()
DClientModeImpl.java4908 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument
4917 if (eapMethod == WifiEnterpriseConfig.Eap.SIM) { in buildIdentity()
4919 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA) { in buildIdentity()
4921 } else if (eapMethod == WifiEnterpriseConfig.Eap.AKA_PRIME) { in buildIdentity()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java119 public static WifiConfiguration createEapConfig(String ssid, String password, int eapMethod, in createEapConfig() argument
136 config.enterpriseConfig.setEapMethod(eapMethod); in createEapConfig()
216 int eapMethod = getEapMethod(jsonConfig.getString("eap")); in getWifiConfiguration() local
237 config = createEapConfig(ssid, password, eapMethod, phase2, identity, in getWifiConfiguration()
297 private static int getEapMethod(String eapMethod) { in getEapMethod() argument
298 if ("TLS".equalsIgnoreCase(eapMethod)) { in getEapMethod()
301 if ("TTLS".equalsIgnoreCase(eapMethod)) { in getEapMethod()
304 if ("PEAP".equalsIgnoreCase(eapMethod)) { in getEapMethod()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java266 private static String buildIdentity(int eapMethod, String imsi, String mccMnc, in buildIdentity() argument
273 String prefix = isEncrypted ? DEFAULT_EAP_PREFIX : EAP_METHOD_PREFIX.get(eapMethod); in buildIdentity()
307 int eapMethod = config.enterpriseConfig.getEapMethod(); in getSimMethodForConfig() local
308 if (eapMethod == WifiEnterpriseConfig.Eap.PEAP) { in getSimMethodForConfig()
312 eapMethod = WifiEnterpriseConfig.Eap.SIM; in getSimMethodForConfig()
315 eapMethod = WifiEnterpriseConfig.Eap.AKA; in getSimMethodForConfig()
318 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in getSimMethodForConfig()
323 return isSimEapMethod(eapMethod) ? eapMethod : WifiEnterpriseConfig.Eap.NONE; in getSimMethodForConfig()
350 public static boolean isSimEapMethod(int eapMethod) { in isSimEapMethod() argument
351 return eapMethod == WifiEnterpriseConfig.Eap.SIM in isSimEapMethod()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java199 for (EAPMethod eapMethod : realmData.getEAPMethods()) { in getEapMethodForNAIRealmWithCarrier()
200 if (isCarrierEapMethod(eapMethod.getEAPMethodID())) { in getEapMethodForNAIRealmWithCarrier()
201 return eapMethod.getEAPMethodID(); in getEapMethodForNAIRealmWithCarrier()
DUtils.java141 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()
DPasspointNetworkEvaluator.java201 int eapMethod = in createEphemeralProfileForMatchingAp() local
203 if (!isCarrierEapMethod(eapMethod)) { in createEphemeralProfileForMatchingAp()
207 mPasspointManager.createEphemeralPasspointConfigForCarrier(eapMethod); in createEphemeralProfileForMatchingAp()
DPasspointProvider.java767 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in buildEnterpriseConfigForSimCredential() local
770 eapMethod = WifiEnterpriseConfig.Eap.SIM; in buildEnterpriseConfigForSimCredential()
773 eapMethod = WifiEnterpriseConfig.Eap.AKA; in buildEnterpriseConfigForSimCredential()
776 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in buildEnterpriseConfigForSimCredential()
784 config.setEapMethod(eapMethod); in buildEnterpriseConfigForSimCredential()
DPasspointManager.java513 int eapMethod = ANQPMatcher.getCarrierEapMethodFromMatchingNAIRealm(domain, in findEapMethodFromNAIRealmMatchedWithCarrier() local
515 if (eapMethod != -1) { in findEapMethodFromNAIRealmMatchedWithCarrier()
516 return eapMethod; in findEapMethodFromNAIRealmMatchedWithCarrier()
529 public PasspointConfiguration createEphemeralPasspointConfigForCarrier(int eapMethod) { in createEphemeralPasspointConfigForCarrier() argument
538 if (!isCarrierEapMethod(eapMethod)) { in createEphemeralPasspointConfigForCarrier()
563 simCredential.setEapType(eapMethod); in createEphemeralPasspointConfigForCarrier()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java407 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/
DSupplicantStaNetworkHalTest.java477 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
DWifiConfigurationUtilTest.java972 EnterpriseConfig(int eapMethod) { in EnterpriseConfig() argument
974 enterpriseConfig.setEapMethod(eapMethod); in EnterpriseConfig()
975 eap = WifiEnterpriseConfig.Eap.strings[eapMethod]; in EnterpriseConfig()
DWifiConfigurationTestUtil.java357 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument
361 configuration.enterpriseConfig.setEapMethod(eapMethod); in createEapNetwork()
DWifiMetricsTest.java1418 mDecodedProto.connectionEvent[0].routerFingerprint.eapMethod); in testScanDetailAndWifiConfigurationUsage()
1426 mDecodedProto.connectionEvent[1].routerFingerprint.eapMethod); in testScanDetailAndWifiConfigurationUsage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java174 EAPMethod eapMethod = new EAPMethod(eapMethodID, authParamMap); in createNAIRealmElement() local
176 Arrays.asList(new EAPMethod[] {eapMethod})); in createNAIRealmElement()