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.java495 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForSavedNetworks() local
498 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForSavedNetworks()
524 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForNetworkSuggestions() local
527 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockForNetworkSuggestions()
548 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockWithOnlySavedNetworks() local
551 scanListener.onResults(mTestScanDatas); in onResultsUpdatesWakeupLockWithOnlySavedNetworks()
568 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsFiltersOutDfsScanResults() local
572 scanListener.onResults(mTestScanDatas); in onResultsFiltersOutDfsScanResults()
595 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked() local
598 scanListener.onResults(mTestScanDatas); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()
[all …]
DWifiNetworkFactoryTest.java2113 ScanListener scanListener = mScanListenerArgumentCaptor.getValue(); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedWithNoCache() local
2114 assertNotNull(scanListener); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedWithNoCache()
2115 scanListener.onResults(mTestScanDatas); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedWithNoCache()
2393 ScanListener scanListener = mScanListenerArgumentCaptor.getValue(); in testNetworkSpecifierUserApprovalConfigStoreLoad() local
2394 assertNotNull(scanListener); in testNetworkSpecifierUserApprovalConfigStoreLoad()
2395 scanListener.onResults(mTestScanDatas); in testNetworkSpecifierUserApprovalConfigStoreLoad()
2526 ScanListener scanListener = mScanListenerArgumentCaptor.getValue(); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedWithStaleCache() local
2527 assertNotNull(scanListener); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedWithStaleCache()
2528 scanListener.onResults(mTestScanDatas); in testNetworkSpecifierMatchSuccessUsingLiteralSsidAndBssidMatchApprovedWithStaleCache()
2675 ScanListener scanListener = null; in verifyPeriodicScans() local
[all …]
DWifiConnectivityManagerTest.java1429 ScanListener scanListener = mock(ScanListener.class); in listenToAllSingleScanResults() local
1432 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 …]