Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupControllerTest.java491 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForSavedNetworks() local
494 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForSavedNetworks()
520 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForNetworkSuggestions() local
523 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForNetworkSuggestions()
544 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockWithOnlySavedNetworks() local
547 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockWithOnlySavedNetworks()
564 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsFiltersOutDfsScanResults() local
568 scanListener.onResults(mTestScanDatas); in onResultsFiltersOutDfsScanResults()
591 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked() local
594 scanListener.onResults(mTestScanDatas); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()
[all …]
DWifiNetworkFactoryTest.java2034 ScanListener scanListener = mScanListenerArgumentCaptor.getValue(); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchPreviouslyApproved() local
2035 assertNotNull(scanListener); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchPreviouslyApproved()
2036 scanListener.onResults(mTestScanDatas); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchPreviouslyApproved()
2315 ScanListener scanListener = mScanListenerArgumentCaptor.getValue(); in testNetworkSpecifierUserApprovalConfigStoreLoad() local
2316 assertNotNull(scanListener); in testNetworkSpecifierUserApprovalConfigStoreLoad()
2317 scanListener.onResults(mTestScanDatas); in testNetworkSpecifierUserApprovalConfigStoreLoad()
2413 ScanListener scanListener = null; in verifyPeriodicScans() local
2427 scanListener = mScanListenerArgumentCaptor.getValue(); in verifyPeriodicScans()
2428 assertNotNull(scanListener); in verifyPeriodicScans()
2431 scanListener.onResults(mTestScanDatas); in verifyPeriodicScans()
DWifiConnectivityManagerTest.java1424 ScanListener scanListener = mock(ScanListener.class); in listenToAllSingleScanResults() local
1427 mWifiScanner.startScan(settings, scanListener, WIFI_WORK_SOURCE); in listenToAllSingleScanResults()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java253 WifiScanner.ScanListener scanListener = mock(WifiScanner.ScanListener.class); in testStartScan() local
255 mWifiScanner.startScan(scanSettings, scanListener); in testStartScan()
281 WifiScanner.ScanListener scanListener = mock(WifiScanner.ScanListener.class); in testStopScan() local
283 mWifiScanner.startScan(scanSettings, scanListener); in testStopScan()
286 mWifiScanner.stopScan(scanListener); in testStopScan()
309 WifiScanner.ScanListener scanListener = mock(WifiScanner.ScanListener.class); in testStartScanListenerOnSuccess() local
311 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnSuccess()
329 verify(scanListener).onSuccess(); in testStartScanListenerOnSuccess()
339 WifiScanner.ScanListener scanListener = mock(WifiScanner.ScanListener.class); in testStartScanListenerOnResults() local
341 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnResults()
[all …]