Searched refs:scanListener (Results 1 – 5 of 5) sorted by relevance
514 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForSavedNetworks() local517 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForSavedNetworks()543 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForNetworkSuggestions() local546 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForNetworkSuggestions()566 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockWithOnlySavedNetworks() local569 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockWithOnlySavedNetworks()586 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsFiltersOutDfsScanResults() local590 scanListener.onResults(mTestScanDatas); in onResultsFiltersOutDfsScanResults()613 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked() local616 scanListener.onResults(mTestScanDatas); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()[all …]
2681 ScanListener scanListener = null; in verifyPeriodicScans() local2699 scanListener = mScanListenerArgumentCaptor.getValue(); in verifyPeriodicScans()2700 assertNotNull(scanListener); in verifyPeriodicScans()2703 scanListener.onResults(mTestScanDatas); in verifyPeriodicScans()
2127 ScanListener scanListener = mock(ScanListener.class); in listenToAllSingleScanResults() local2130 mWifiScanner.startScan(settings, mock(Executor.class), scanListener, WIFI_WORK_SOURCE); in listenToAllSingleScanResults()
252 ScanListener scanListener = mock(ScanListener.class); in testStartScan() local254 mWifiScanner.startScan(scanSettings, scanListener); in testStartScan()282 ScanListener scanListener = mock(ScanListener.class); in testStopScan() local284 mWifiScanner.startScan(scanSettings, scanListener); in testStopScan()287 mWifiScanner.stopScan(scanListener); in testStopScan()311 ScanListener scanListener = mock(ScanListener.class); in testStartScanListenerOnSuccess() local313 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnSuccess()331 verify(scanListener).onSuccess(); in testStartScanListenerOnSuccess()341 ScanListener scanListener = mock(ScanListener.class); in testStartScanListenerOnResults() local343 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnResults()[all …]
1648 ScanListener scanListener = (ScanListener) listener; in handleMessage() local1651 executor.execute(() -> scanListener.onResults(parcelableScanData.getResults())); in handleMessage()1655 ScanListener scanListener = ((ScanListener) listener); in handleMessage() local1657 executor.execute(() -> scanListener.onFullResult(result)); in handleMessage()