Searched refs:findViableNetwork (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupEvaluatorTest.java | 163 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsNotInSavedNetworks() 176 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsNullWhenScanResultIsBelowThreshold() 188 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResult() 201 ScanResult scanResult = mWakeupEvaluator.findViableNetwork(scanResults, getSavedNetworks()); in findViableNetwork_returnsConnectableScanResultWithHighestRssi()
|
D | WakeupControllerTest.java | 734 when(mWakeupEvaluator.findViableNetwork(any(), any())).thenReturn(null); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked() 748 verify(mWakeupEvaluator).findViableNetwork(any(), any()); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked() 784 when(mWakeupEvaluator.findViableNetwork(any(), any())).thenReturn(mTestScanResult); in onResultsEnablesWifi() 798 verify(mWakeupEvaluator).findViableNetwork(any(), any()); in onResultsEnablesWifi() 827 verify(mWakeupEvaluator, never()).findViableNetwork(any(), any()); in controllerDoesNoWorkIfUserStoreIsNotRead()
|
/packages/modules/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 | 450 ScanResult network = mWakeupEvaluator.findViableNetwork(scanResults, goodNetworks); in handleScanResults()
|