Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java74 private ScanListener mScanListener; field in WifiScannerTest
490 mWifiScanner.registerScanListener(mExecutor, mScanListener); in testRegisterScanListenerSuccess()
509 verify(mScanListener).onSuccess(); in testRegisterScanListenerSuccess()
517 mWifiScanner.registerScanListener(mExecutor, mScanListener); in testRegisterScanListenerFailed()
540 verify(mScanListener).onFailure( in testRegisterScanListenerFailed()
555 verify(mScanListener, never()).onResults(any()); in testRegisterScanListenerFailed()
564 mWifiScanner.registerScanListener(mExecutor, mScanListener); in testRegisterScanListenerReceiveScanResults()
584 verify(mScanListener).onResults(mScanData); in testRegisterScanListenerReceiveScanResults()
593 mWifiScanner.registerScanListener(mExecutor, mScanListener); in testUnregisterScanListener()
594 mWifiScanner.unregisterScanListener(mScanListener); in testUnregisterScanListener()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupController.java68 private final WifiScanner.ScanListener mScanListener = new WifiScanner.ScanListener() { field in WakeupController
248 new HandlerExecutor(mHandler), mScanListener); in start()
298 mWifiInjector.getWifiScanner().unregisterScanListener(mScanListener); in stop()
DWifiNetworkFactory.java121 private final NetworkFactoryScanListener mScanListener; field in WifiNetworkFactory
375 mScanListener = new NetworkFactoryScanListener(); in WifiNetworkFactory()
1122 mScanSettings, new HandlerExecutor(mHandler), mScanListener, workSource); in startScan()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiHealthMonitorTest.java119 private ScanListener mScanListener; field in WifiHealthMonitorTest
278 mScanListener = listener; in mockWifiScanner()
328 mWifiScanner.startScan(mScanSettings, mScanListener); in makeSerializedExample()
404 mWifiScanner.startScan(mScanSettings, mScanListener); in testSerializationDeserialization()
666 mWifiScanner.startScan(mScanSettings, mScanListener); in testFullBandScan()
682 mWifiScanner.startScan(mScanSettings, mScanListener); in test2GScan()
741 mWifiScanner.startScan(mScanSettings, mScanListener); in testPostBootAbnormalScanDetection()