Home
last modified time | relevance | path

Searched refs:mScanner (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java72 WifiScannerImpl mScanner; field in BaseWifiScannerImplTest
93 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in isAllChannelsScanned()
99 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandScanFreqs()
105 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandAndChannelScanFreqs()
230 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in overlappingSingleScanFails()
232 mScanner.startSingleScan(settings2, eventHandler2)); in overlappingSingleScanFails()
254 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnExecute()
284 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnTimeout()
318 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnFailedEvent()
338 assertFalse(mScanner.startSingleScan(settings, null)); in singleScanNullEventHandler()
[all …]
DWificondPnoScannerTest.java63 WificondScannerImpl mScanner; field in WificondPnoScannerTest
118 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in pauseResumeHwDisconnectedPnoScanForSingleScan()
187 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in delayedHwDisconnectedPnoScanFailure()
231 assertTrue(mScanner.resetHwPnoList()); in ignoreHwDisconnectedPnoScanStopFailure()
271 assertTrue(mScanner.resetHwPnoList()); in forceRestartHwDisconnectedPnoScanWhenSettingsChange()
314 assertTrue(mScanner.resetHwPnoList()); in noForceRestartHwDisconnectedPnoScanWhenNoSettingsChange()
347 mScanner = new WificondScannerImpl(mContext, mWifiNative, mWifiMonitor, in createScannerWithHwPnoScanSupport()
353 mScanner = new WificondScannerImpl(mContext, mWifiNative, mWifiMonitor, in createScannerWithSwPnoScanSupport()
396 if (mScanner.isHwPnoSupported(pnoSettings.isConnected)) { in startSuccessfulPnoScan()
398 assertTrue(mScanner.setHwPnoList(pnoSettings, pnoEventHandler)); in startSuccessfulPnoScan()
[all …]
DWificondScannerTest.java56 mScanner = new WificondScannerImpl(mContext, mWifiNative, mWifiMonitor, in setup()
73 mScanner = new WificondScannerImpl(mContext, mWifiNative, mWifiMonitor, in singleScanNotIssuedIfNoAvailableChannels()
83 mScanner.startSingleScan(settings, eventHandler); in singleScanNotIssuedIfNoAvailableChannels()
362 mScanner.startBatchedScan(settings, eventHandler); in backgroundScanStartFailed()
397 mScanner.startBatchedScan(settings, eventHandler); in backgroundScanEventFailed()
444 mScanner.startBatchedScan(settings, eventHandler); in pauseWhileWaitingToStartNextScanAndResumeScan()
452 mScanner.pauseBatchedScan(); in pauseWhileWaitingToStartNextScanAndResumeScan()
459 mScanner.restartBatchedScan(); in pauseWhileWaitingToStartNextScanAndResumeScan()
498 mScanner.startBatchedScan(settings, eventHandler); in pauseWhileScanningAndResumeScan()
504 mScanner.pauseBatchedScan(); in pauseWhileScanningAndResumeScan()
[all …]
DHalWifiScannerTest.java37 mScanner = new HalWifiScannerImpl(mContext, mWifiNative, mWifiMonitor, mLooper.getLooper(), in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java153 Scanner mScanner; field in WifiTracker
271 if (mWifiManager.isWifiEnabled() && mScanner != null) { in forceScan()
272 mScanner.forceScan(); in forceScan()
280 if (mScanner != null) { in pauseScanning()
281 mScanner.pause(); in pauseScanning()
282 mScanner = null; in pauseScanning()
292 if (mScanner == null) { in resumeScanning()
293 mScanner = new Scanner(); in resumeScanning()
298 mScanner.resume(); in resumeScanning()
859 if (mScanner != null) { in handleMessage()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java132 private final WifiScanner mScanner; field in WifiConnectivityManager
554 mScanner = scanner; in WifiConnectivityManager()
617 mScanner.registerScanListener(mAllSingleScanListener); in WifiConnectivityManager()
880 mScanner.startScan(settings, singleScanListener, workSource); in startSingleScan()
935 mScanner.startDisconnectedPnoScan(scanSettings, pnoSettings, mPnoScanListener); in startDisconnectedPnoScan()
942 mScanner.stopPnoScan(mPnoScanListener); in stopPnoScan()