Home
last modified time | relevance | path

Searched refs:scanListener (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupControllerTest.java514 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForSavedNetworks() local
517 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForSavedNetworks()
543 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForNetworkSuggestions() local
546 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForNetworkSuggestions()
566 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockWithOnlySavedNetworks() local
569 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockWithOnlySavedNetworks()
586 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsFiltersOutDfsScanResults() local
590 scanListener.onResults(mTestScanDatas); in onResultsFiltersOutDfsScanResults()
613 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked() local
616 scanListener.onResults(mTestScanDatas); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()
[all …]
DWifiNetworkFactoryTest.java2681 ScanListener scanListener = null; in verifyPeriodicScans() local
2699 scanListener = mScanListenerArgumentCaptor.getValue(); in verifyPeriodicScans()
2700 assertNotNull(scanListener); in verifyPeriodicScans()
2703 scanListener.onResults(mTestScanDatas); in verifyPeriodicScans()
DWifiConnectivityManagerTest.java2127 ScanListener scanListener = mock(ScanListener.class); in listenToAllSingleScanResults() local
2130 mWifiScanner.startScan(settings, mock(Executor.class), scanListener, WIFI_WORK_SOURCE); in listenToAllSingleScanResults()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java252 ScanListener scanListener = mock(ScanListener.class); in testStartScan() local
254 mWifiScanner.startScan(scanSettings, scanListener); in testStartScan()
282 ScanListener scanListener = mock(ScanListener.class); in testStopScan() local
284 mWifiScanner.startScan(scanSettings, scanListener); in testStopScan()
287 mWifiScanner.stopScan(scanListener); in testStopScan()
311 ScanListener scanListener = mock(ScanListener.class); in testStartScanListenerOnSuccess() local
313 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnSuccess()
331 verify(scanListener).onSuccess(); in testStartScanListenerOnSuccess()
341 ScanListener scanListener = mock(ScanListener.class); in testStartScanListenerOnResults() local
343 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnResults()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java1648 ScanListener scanListener = (ScanListener) listener; in handleMessage() local
1651 executor.execute(() -> scanListener.onResults(parcelableScanData.getResults())); in handleMessage()
1655 ScanListener scanListener = ((ScanListener) listener); in handleMessage() local
1657 executor.execute(() -> scanListener.onFullResult(result)); in handleMessage()