Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupEvaluatorTest.java120 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsNotInSavedNetworks()
133 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsBelowThreshold()
145 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResult()
158 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResultWithHighestRssi()
DWakeupControllerTest.java586 when(mWakeupEvaluator.findViableNetwork(any(), any())).thenReturn(null); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()
600 verify(mWakeupEvaluator).findViableNetwork(any(), any()); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()
636 when(mWakeupEvaluator.findViableNetwork(any(), any())).thenReturn(mTestScanResult); in onResultsEnablesWifi()
650 verify(mWakeupEvaluator).findViableNetwork(any(), any()); in onResultsEnablesWifi()
676 verify(mWakeupEvaluator, never()).findViableNetwork(any(), any()); in controllerDoesNoWorkIfUserStoreIsNotRead()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupEvaluator.java46 public ScanResult findViableNetwork(Collection<ScanResult> scanResults, in findViableNetwork() method in WakeupEvaluator
DWakeupController.java387 ScanResult network = mWakeupEvaluator.findViableNetwork(scanResults, goodNetworks); in handleScanResults()