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.java76 WifiScannerImpl mScanner; field in BaseWifiScannerImplTest
97 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandScanFreqs()
103 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandAndChannelScanFreqs()
247 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in overlappingSingleScanFails()
249 mScanner.startSingleScan(settings2, eventHandler2)); in overlappingSingleScanFails()
269 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnExecute()
297 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnTimeout()
329 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnFailedEvent()
349 assertFalse(mScanner.startSingleScan(settings, null)); in singleScanNullEventHandler()
356 assertFalse(mScanner.startSingleScan(null, eventHandler)); in singleScanNullSettings()
[all …]
DWificondScannerTest.java59 mScanner = new WificondScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME, in setup()
77 mScanner = new WificondScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME, in singleScanNotIssuedIfNoAvailableChannels()
87 mScanner.startSingleScan(settings, eventHandler); in singleScanNotIssuedIfNoAvailableChannels()
146 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
175 mScanner.cleanup(); in cleanupDeregistersHandlers()
193 mScanner.dump(new FileDescriptor(), new PrintWriter(stringWriter), in dumpObject()
DWificondPnoScannerTest.java65 WificondScannerImpl mScanner; field in WificondPnoScannerTest
125 assertTrue(mScanner.resetHwPnoList()); in ignoreHwDisconnectedPnoScanStopFailure()
140 mScanner = new WificondScannerImpl(mContext, IFACE_NAME, mWifiNative, mWifiMonitor, in createScannerWithHwPnoScanSupport()
186 assertTrue(mScanner.setHwPnoList(pnoSettings, pnoEventHandler)); in startSuccessfulPnoScan()
190 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandScanFreqs()
DHalWifiScannerTest.java37 mScanner = new HalWifiScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME, in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java176 Scanner mScanner; field in WifiTracker
284 if (mScanner != null) { in pauseScanning()
285 mScanner.pause(); in pauseScanning()
286 mScanner = null; in pauseScanning()
299 if (mScanner == null) { in resumeScanning()
300 mScanner = new Scanner(); in resumeScanning()
304 mScanner.resume(); in resumeScanning()
914 if (mScanner != null) { in updateWifiState()
917 mScanner.resume(); in updateWifiState()
925 if (mScanner != null) { in updateWifiState()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java155 private WifiScanner mScanner; field in WifiConnectivityManager
930 mScanner.startScan(settings, singleScanListener, workSource); in startSingleScan()
1034 mScanner.startDisconnectedPnoScan(scanSettings, pnoSettings, mPnoScanListener); in startDisconnectedPnoScan()
1043 mScanner.stopPnoScan(mPnoScanListener); in stopPnoScan()
1451 if (mScanner != null) return; in retrieveWifiScanner()
1452 mScanner = mWifiInjector.getWifiScanner(); in retrieveWifiScanner()
1453 checkNotNull(mScanner); in retrieveWifiScanner()
1455 mScanner.registerScanListener(mAllSingleScanListener); in retrieveWifiScanner()