/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 | WifiMetrics.java | 483 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()
|
D | ClientModeImpl.java | 4908 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/ |
D | WifiConfigurationHelper.java | 119 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/ |
D | TelephonyUtil.java | 266 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/ |
D | ANQPMatcher.java | 199 for (EAPMethod eapMethod : realmData.getEAPMethods()) { in getEapMethodForNAIRealmWithCarrier() 200 if (isCarrierEapMethod(eapMethod.getEAPMethodID())) { in getEapMethodForNAIRealmWithCarrier() 201 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 | 767 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()
|
D | PasspointManager.java | 513 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/ |
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 | 972 EnterpriseConfig(int eapMethod) { in EnterpriseConfig() argument 974 enterpriseConfig.setEapMethod(eapMethod); in EnterpriseConfig() 975 eap = WifiEnterpriseConfig.Eap.strings[eapMethod]; in EnterpriseConfig()
|
D | WifiConfigurationTestUtil.java | 357 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument 361 configuration.enterpriseConfig.setEapMethod(eapMethod); in createEapNetwork()
|
D | WifiMetricsTest.java | 1418 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/ |
D | PasspointProviderTest.java | 174 EAPMethod eapMethod = new EAPMethod(eapMethodID, authParamMap); in createNAIRealmElement() local 176 Arrays.asList(new EAPMethod[] {eapMethod})); in createNAIRealmElement()
|