Home
last modified time | relevance | path

Searched refs:mScanner (Results 1 – 7 of 7) 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 expectedBandScanFreqs()
99 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandAndChannelScanFreqs()
217 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in overlappingSingleScanFails()
219 mScanner.startSingleScan(settings2, eventHandler2)); in overlappingSingleScanFails()
241 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnExecute()
271 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnTimeout()
305 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnFailedEvent()
325 assertFalse(mScanner.startSingleScan(settings, null)); in singleScanNullEventHandler()
332 assertFalse(mScanner.startSingleScan(null, eventHandler)); in singleScanNullSettings()
[all …]
DSupplicantPnoScannerTest.java65 SupplicantWifiScannerImpl mScanner; field in SupplicantPnoScannerTest
120 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in pauseResumeHwDisconnectedPnoScanForSingleScan()
190 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in delayedHwDisconnectedPnoScanFailure()
236 mScanner = in createScannerWithHwPnoScanSupport()
242 mScanner = in createScannerWithSwPnoScanSupport()
284 if (mScanner.isHwPnoSupported(pnoSettings.isConnected)) { in startSuccessfulPnoScan()
286 assertTrue(mScanner.setHwPnoList(pnoSettings, pnoEventHandler)); in startSuccessfulPnoScan()
289 assertTrue(mScanner.startBatchedScan(scanSettings, scanEventHandler)); in startSuccessfulPnoScan()
295 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandScanFreqs()
344 assertScanDataEquals(scanResults.getScanData(), mScanner.getLatestSingleScanResults()); in expectSuccessfulSingleScanWithHwPnoEnabled()
[all …]
DSupplicantWifiScannerTest.java52 mScanner = new SupplicantWifiScannerImpl(mContext, mWifiNative, in setup()
325 mScanner.startBatchedScan(settings, eventHandler); in backgroundScanStartFailed()
360 mScanner.startBatchedScan(settings, eventHandler); in backgroundScanEventFailed()
407 mScanner.startBatchedScan(settings, eventHandler); in pauseWhileWaitingToStartNextScanAndResumeScan()
415 mScanner.pauseBatchedScan(); in pauseWhileWaitingToStartNextScanAndResumeScan()
422 mScanner.restartBatchedScan(); in pauseWhileWaitingToStartNextScanAndResumeScan()
461 mScanner.startBatchedScan(settings, eventHandler); in pauseWhileScanningAndResumeScan()
467 mScanner.pauseBatchedScan(); in pauseWhileScanningAndResumeScan()
484 mScanner.restartBatchedScan(); in pauseWhileScanningAndResumeScan()
534 mScanner.startBatchedScan(settings, eventHandler); in pauseWhileWaitingToStartNextScanAndStartNewScan()
[all …]
DHalWifiScannerTest.java37 mScanner = new HalWifiScannerImpl(mContext, mWifiNative, mLooper.getLooper(), mClock); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiTracker.java94 Scanner mScanner; field in WifiTracker
170 if (mWifiManager.isWifiEnabled() && mScanner != null) { in forceScan()
171 mScanner.forceScan(); in forceScan()
179 if (mScanner != null) { in pauseScanning()
180 mScanner.pause(); in pauseScanning()
181 mScanner = null; in pauseScanning()
189 if (mScanner == null) { in resumeScanning()
190 mScanner = new Scanner(); in resumeScanning()
195 mScanner.resume(); in resumeScanning()
582 if (mScanner != null) { in handleMessage()
[all …]
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
DWifiTrackerTest.java79 mWifiTracker.mScanner = mWifiTracker.new Scanner(); in setUp()
126 mWifiTracker.mScanner.handleMessage(mWifiTracker.mScanner.obtainMessage(Scanner.MSG_SCAN)); in testScanner()
153 mWifiTracker.mScanner = mWifiTracker.new Scanner(); in testSavedOnly()
180 mWifiTracker.mScanner = mWifiTracker.new Scanner(); in testSavedOnlyNoLooper()
201 mWifiTracker.mScanner = mWifiTracker.new Scanner(); in testAvailableOnly()
226 mWifiTracker.mScanner = mWifiTracker.new Scanner(); in testNonEphemeralConnected()
248 mWifiTracker.mScanner = null; in testEnableResumeScanning()
262 assertFalse(mWifiTracker.mScanner.isScanning()); in testEnableResumeScanning()
267 assertTrue(mWifiTracker.mScanner.isScanning()); in testEnableResumeScanning()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java125 private final WifiScanner mScanner; field in WifiConnectivityManager
480 mScanner = scanner; in WifiConnectivityManager()
757 mScanner.startScan(settings, singleScanListener, WIFI_WORK_SOURCE); in startSingleScan()
781 mScanner.startBackgroundScan(settings, mPeriodicScanListener, WIFI_WORK_SOURCE); in startPeriodicScan()
820 mScanner.startDisconnectedPnoScan(scanSettings, pnoSettings, mPnoScanListener); in startDisconnectedPnoScan()
863 mScanner.startConnectedPnoScan(scanSettings, pnoSettings, mPnoScanListener); in startConnectedPnoScan()
948 mScanner.stopBackgroundScan(mPeriodicScanListener); in stopConnectivityScan()
950 mScanner.stopPnoScan(mPnoScanListener); in stopConnectivityScan()