Home
last modified time | relevance | path

Searched refs:eapType (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java164 NetworkInfo(int eapType, String carrierName) { in NetworkInfo() argument
165 mEapType = eapType; in NetworkInfo()
248 int eapType = parseEapType(Integer.parseInt(configArr[EAP_TYPE_INDEX])); in processNetworkConfig() local
251 if (eapType == -1) { in processNetworkConfig()
255 mCarrierNetworkMap.put(ssid, new NetworkInfo(eapType, carrierName)); in processNetworkConfig()
274 private static int parseEapType(int eapType) { in parseEapType() argument
275 if (eapType == EAPConstants.EAP_SIM) { in parseEapType()
277 } else if (eapType == EAPConstants.EAP_AKA) { in parseEapType()
279 } else if (eapType == EAPConstants.EAP_AKA_PRIME) { in parseEapType()
DCarrierNetworkEvaluator.java105 int eapType = mCarrierNetworkConfig.getNetworkEapType(scanResult.SSID); in evaluateNetworks() local
106 if (!TelephonyUtil.isSimEapMethod(eapType)) { in evaluateNetworks()
107 mLocalLog.log(TAG + ": eapType is not a carrier eap method: " + eapType); in evaluateNetworks()
123 config.enterpriseConfig.setEapMethod(eapType); in evaluateNetworks()
DWifiMetrics.java2925 int eapType; in updateSavedPasspointProfilesInfo() local
2933 eapType = EAPConstants.EAP_TTLS; in updateSavedPasspointProfilesInfo()
2935 eapType = EAPConstants.EAP_TLS; in updateSavedPasspointProfilesInfo()
2937 eapType = config.getCredential().getSimCredential().getEapType(); in updateSavedPasspointProfilesInfo()
2939 eapType = -1; in updateSavedPasspointProfilesInfo()
2941 switch (eapType) { in updateSavedPasspointProfilesInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java87 private PersistableBundle generateTestConfig(String ssid, int eapType) { in generateTestConfig() argument
90 new String(Base64.encode(ssid.getBytes(), Base64.DEFAULT)) + "," + eapType; in generateTestConfig()
DWificondControlTest.java648 int eapType = WifiEnterpriseConfig.Eap.SIM; in testGetScanResultsForCarrierAp() local
653 .thenReturn(eapType); in testGetScanResultsForCarrierAp()
663 assertEquals(eapType, scanResult.carrierApEapType); in testGetScanResultsForCarrierAp()
DWifiMetricsTest.java538 private PasspointProvider createMockProvider(int eapType, boolean validateForR2) { in createMockProvider() argument
543 switch (eapType) { in createMockProvider()
554 simCredential.setEapType(eapType); in createMockProvider()
573 int eapType = SAVED_PASSPOINT_PROVIDERS_TYPE.keyAt(i); in setAndIncrementMetrics() local
576 providers.put(Integer.toString(eapType) + j, createMockProvider(eapType, false)); in setAndIncrementMetrics()
579 providers.put(Integer.toString(eapType) + j, createMockProvider(eapType, true)); in setAndIncrementMetrics()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java281 public void setEapType(int eapType) { in setEapType() argument
282 mEapType = eapType; in setEapType()
684 public void setEapType(int eapType) { in setEapType() argument
685 mEapType = eapType; in setEapType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java761 int eapType, WifiEnterpriseConfig config) { in buildSimCredentialFromEnterpriseConfig() argument
768 simCredential.setEapType(eapType); in buildSimCredentialFromEnterpriseConfig()