Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupControllerTest.java600 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForSavedNetworks() local
603 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForSavedNetworks()
630 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForNetworkSuggestions() local
633 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForNetworkSuggestions()
653 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockWithOnlySavedNetworks() local
656 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockWithOnlySavedNetworks()
673 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsFiltersOutDfsScanResults() local
677 scanListener.onResults(mTestScanDatas); in onResultsFiltersOutDfsScanResults()
700 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked() local
703 scanListener.onResults(mTestScanDatas); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()
[all …]
DWifiNetworkFactoryTest.java3406 ScanListener scanListener = null; in verifyPeriodicScans() local
3424 scanListener = mScanListenerArgumentCaptor.getValue(); in verifyPeriodicScans()
3425 assertNotNull(scanListener); in verifyPeriodicScans()
3428 scanListener.onResults(scanParams[i].scanDatas); in verifyPeriodicScans()
DWifiConnectivityManagerTest.java3011 ScanListener scanListener = mock(ScanListener.class); in listenToAllSingleScanResults() local
3014 mWifiScanner.startScan(settings, mock(Executor.class), scanListener, WIFI_WORK_SOURCE); in listenToAllSingleScanResults()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiScannerTest.java275 ScanListener scanListener = mock(ScanListener.class); in testStartScan() local
277 mWifiScanner.startScan(scanSettings, scanListener); in testStartScan()
305 ScanListener scanListener = mock(ScanListener.class); in testStopScan() local
307 mWifiScanner.startScan(scanSettings, scanListener); in testStopScan()
310 mWifiScanner.stopScan(scanListener); in testStopScan()
334 ScanListener scanListener = mock(ScanListener.class); in testStartScanListenerOnSuccess() local
336 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnSuccess()
354 verify(scanListener).onSuccess(); in testStartScanListenerOnSuccess()
364 ScanListener scanListener = mock(ScanListener.class); in testStartScanListenerOnResults() local
366 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnResults()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java1823 ScanListener scanListener = (ScanListener) listener; in handleMessage() local
1826 executor.execute(() -> scanListener.onResults(parcelableScanData.getResults())); in handleMessage()
1830 ScanListener scanListener = ((ScanListener) listener); in handleMessage() local
1832 executor.execute(() -> scanListener.onFullResult(result)); in handleMessage()