Searched refs:findViableNetwork (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupEvaluatorTest.java | 120 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()
|
D | WakeupControllerTest.java | 586 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/ |
D | WakeupEvaluator.java | 46 public ScanResult findViableNetwork(Collection<ScanResult> scanResults, in findViableNetwork() method in WakeupEvaluator
|
D | WakeupController.java | 387 ScanResult network = mWakeupEvaluator.findViableNetwork(scanResults, goodNetworks); in handleScanResults()
|