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.java3050 int eapType; in updateSavedPasspointProfilesInfo() local
3058 eapType = EAPConstants.EAP_TTLS; in updateSavedPasspointProfilesInfo()
3060 eapType = EAPConstants.EAP_TLS; in updateSavedPasspointProfilesInfo()
3062 eapType = config.getCredential().getSimCredential().getEapType(); in updateSavedPasspointProfilesInfo()
3064 eapType = -1; in updateSavedPasspointProfilesInfo()
3066 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.java649 int eapType = WifiEnterpriseConfig.Eap.SIM; in testGetScanResultsForCarrierAp() local
654 .thenReturn(eapType); in testGetScanResultsForCarrierAp()
664 assertEquals(eapType, scanResult.carrierApEapType); in testGetScanResultsForCarrierAp()
DWifiMetricsTest.java536 private PasspointProvider createMockProvider(int eapType, boolean validateForR2) { in createMockProvider() argument
541 switch (eapType) { in createMockProvider()
552 simCredential.setEapType(eapType); in createMockProvider()
571 int eapType = SAVED_PASSPOINT_PROVIDERS_TYPE.keyAt(i); in setAndIncrementMetrics() local
574 providers.put(Integer.toString(eapType) + j, createMockProvider(eapType, false)); in setAndIncrementMetrics()
577 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.java863 int eapType, WifiEnterpriseConfig config) { in buildSimCredentialFromEnterpriseConfig() argument
870 simCredential.setEapType(eapType); in buildSimCredentialFromEnterpriseConfig()