Home
last modified time | relevance | path

Searched refs:selectNetwork (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java338 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(candidates); in emptyScanResults()
369 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(candidates); in verifyMinimumRssiThreshold()
401 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(candidates); in verifyMinimumTimeGapWhenConnected()
409 candidate = mWifiNetworkSelector.selectNetwork(candidates); in verifyMinimumTimeGapWhenConnected()
445 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(candidates); in verifyNoMinimumTimeGapWhenDisconnected()
454 candidate = mWifiNetworkSelector.selectNetwork(candidates); in verifyNoMinimumTimeGapWhenDisconnected()
491 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(candidates); in lowRssi5GNetworkIsNotSufficient()
506 candidate = mWifiNetworkSelector.selectNetwork(candidates); in lowRssi5GNetworkIsNotSufficient()
542 WifiConfiguration candidate = mWifiNetworkSelector.selectNetwork(candidates); in noInternetAccessNetworkIsNotSufficient()
564 candidate = mWifiNetworkSelector.selectNetwork(candidates); in noInternetAccessNetworkIsNotSufficient()
[all …]
DWifiConnectivityManagerTest.java371 when(ns.selectNetwork(any())) in mockWifiNetworkSelector()
706 when(mWifiNS.selectNetwork(any())).thenReturn(null); in pnoRetryForLowRssiNetwork()
760 when(mWifiNS.selectNetwork(any())).thenReturn(null); in watchdogBitePnoGoodIncrementsMetrics()
886 verify(mWifiNS).selectNetwork((List<WifiCandidates.Candidate>) in testRetryConnectionOnFailure()
898 verify(mWifiNS).selectNetwork((List<WifiCandidates.Candidate>) in testRetryConnectionOnFailure()
907 verify(mWifiNS).selectNetwork((List<WifiCandidates.Candidate>) in testRetryConnectionOnFailure()
947 verify(mWifiNS).selectNetwork((List<WifiCandidates.Candidate>) in testRetryConnectionOnFailureCacheTimeout()
1009 when(mWifiNS.selectNetwork(any())).thenReturn(null); in wifiDisconnected_noConnectionCandidate_openNetworkNotifierScanResultsHandled()
2330 when(mWifiNS.selectNetwork(any())).thenReturn(candidate); in useConfigSpecifiedBssidToConnectWhenFirmwareRoamingOn()
2382 when(mWifiNS.selectNetwork(any())).thenReturn(candidate); in useConfigSpecifiedBssidToConnectionWhenFirmwareRoamingOff()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java330 WifiConfiguration candidate = mNetworkSelector.selectNetwork(candidates); in handleScanResults()
1755 WifiConfiguration candidate = mNetworkSelector.selectNetwork(mLatestCandidates); in retryConnectionOnLatestCandidates()
DWifiNetworkSelector.java845 public WifiConfiguration selectNetwork(List<WifiCandidates.Candidate> candidates) { in selectNetwork() method in WifiNetworkSelector