Home
last modified time | relevance | path

Searched refs:currentNetwork (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java108 WifiConfiguration currentNetwork, String currentBssid, in evaluateNetworks() argument
156 findBestNetwork(candidateList, currentNetwork == null ? null : currentNetwork.SSID); in evaluateNetworks()
159 if (currentNetwork != null && TextUtils.equals(currentNetwork.SSID, in evaluateNetworks()
161 localLog("Staying with current Passpoint network " + currentNetwork.SSID); in evaluateNetworks()
164 mWifiConfigManager.setNetworkCandidateScanResult(currentNetwork.networkId, in evaluateNetworks()
166 mWifiConfigManager.updateScanDetailForNetwork(currentNetwork.networkId, in evaluateNetworks()
168 onConnectableListener.onConnectable(bestNetwork.mScanDetail, currentNetwork, 0); in evaluateNetworks()
169 return currentNetwork; in evaluateNetworks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSavedNetworkEvaluator.java113 WifiConfiguration currentNetwork, String currentBssid, in calculateBssidScore() argument
148 if (currentNetwork != null && network.networkId == currentNetwork.networkId) { in calculateBssidScore()
187 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
239 int score = calculateBssidScore(scanResult, network, currentNetwork, currentBssid, in evaluateNetworks()
DScoredNetworkEvaluator.java128 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
174 boolean isCurrentNetwork = currentNetwork != null in evaluateNetworks()
175 && currentNetwork.networkId == configuredNetwork.networkId in evaluateNetworks()
DWifiNetworkSelector.java194 WifiConfiguration currentNetwork, String currentBssid, in evaluateNetworks() argument
707 WifiConfiguration currentNetwork = in selectNetwork() local
742 if (currentNetwork != null) { in selectNetwork()
743 wifiCandidates.setCurrent(currentNetwork.networkId, currentBssid); in selectNetwork()
748 new ArrayList<>(mFilteredNetworks), currentNetwork, currentBssid, connected, in selectNetwork()
DCarrierNetworkEvaluator.java90 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
DNetworkSuggestionEvaluator.java79 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
DClientModeImpl.java3857 WifiConfiguration currentNetwork = getCurrentWifiConfiguration(); in registerConnected() local
3858 if (currentNetwork != null && currentNetwork.isPasspoint()) { in registerConnected()
3859 mPasspointManager.onPasspointNetworkConnected(currentNetwork.FQDN); in registerConnected()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java349 WifiConfiguration currentNetwork = new WifiConfiguration(); in evaluateScansWithActiveNetworkMatchingHomeProvider() local
350 currentNetwork.networkId = TEST_NETWORK_ID; in evaluateScansWithActiveNetworkMatchingHomeProvider()
351 currentNetwork.SSID = ScanResultUtil.createQuotedSSID(TEST_SSID2); in evaluateScansWithActiveNetworkMatchingHomeProvider()
358 WifiConfiguration config = mEvaluator.evaluateNetworks(scanDetails, currentNetwork, in evaluateScansWithActiveNetworkMatchingHomeProvider()
604 WifiConfiguration currentNetwork = new WifiConfiguration(); in evaluateScansMatchingActiveNetworkWithDifferentBSS() local
605 currentNetwork.networkId = TEST_NETWORK_ID; in evaluateScansMatchingActiveNetworkWithDifferentBSS()
606 currentNetwork.SSID = ScanResultUtil.createQuotedSSID(TEST_SSID1); in evaluateScansMatchingActiveNetworkWithDifferentBSS()
612 assertNotNull(mEvaluator.evaluateNetworks(scanDetails, currentNetwork, in evaluateScansMatchingActiveNetworkWithDifferentBSS()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java3281 WifiConfiguration currentNetwork = new WifiConfiguration(); in verifyAutoConnectedNetworkWithInternetValidationFailure() local
3282 currentNetwork.networkId = FRAMEWORK_NETWORK_ID; in verifyAutoConnectedNetworkWithInternetValidationFailure()
3283 currentNetwork.noInternetAccessExpected = false; in verifyAutoConnectedNetworkWithInternetValidationFailure()
3284 currentNetwork.numNoInternetAccessReports = 1; in verifyAutoConnectedNetworkWithInternetValidationFailure()
3286 .thenReturn(currentNetwork); in verifyAutoConnectedNetworkWithInternetValidationFailure()
3315 WifiConfiguration currentNetwork = new WifiConfiguration(); in verifyLastSelectedNetworkWithInternetValidationFailure() local
3316 currentNetwork.networkId = FRAMEWORK_NETWORK_ID; in verifyLastSelectedNetworkWithInternetValidationFailure()
3317 currentNetwork.noInternetAccessExpected = false; in verifyLastSelectedNetworkWithInternetValidationFailure()
3318 currentNetwork.numNoInternetAccessReports = 1; in verifyLastSelectedNetworkWithInternetValidationFailure()
3320 .thenReturn(currentNetwork); in verifyLastSelectedNetworkWithInternetValidationFailure()
[all …]
DWifiConnectivityManagerTest.java1831 WifiConfiguration currentNetwork = generateWifiConfig(
1833 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork);
1859 WifiConfiguration currentNetwork = generateWifiConfig(
1861 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork);
1922 WifiConfiguration currentNetwork = generateWifiConfig(
1924 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork);
DWifiNetworkSelectorTest.java164 WifiConfiguration currentNetwork, String currentBssid, boolean connected, in evaluateNetworks() argument
/frameworks/base/core/java/android/net/
DConnectivityManager.java1456 if (l.currentNetwork != null) { in startUsingNetworkFeature()
1574 Network currentNetwork; field in ConnectivityManager.LegacyRequest
1578 if (currentNetwork != null) { in clearDnsBinding()
1579 currentNetwork = null; in clearDnsBinding()
1587 currentNetwork = network;
1593 if (network.equals(currentNetwork)) clearDnsBinding();
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3353 final NetworkAgentInfo currentNetwork = nri.mSatisfier; in disconnectAndDestroyNetwork() local
3354 if (currentNetwork != null && currentNetwork.network.netId == nai.network.netId) { in disconnectAndDestroyNetwork()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt42599 Landroid/net/ConnectivityManager$LegacyRequest;->currentNetwork:Landroid/net/Network;