Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java45 private final Scanner mScanner; field in ClipStorageReader
49 mScanner = new Scanner(inStream); in ClipStorageReader()
61 sLocks.put(mCanonicalPath, new FileLockEntry(1, lock, mScanner)); in ClipStorageReader()
68 return new Iterator(mScanner); in iterator()
82 ref.mScanner.close(); in close()
87 if (mScanner != ref.mScanner) { in close()
88 mScanner.close(); in close()
93 private final Scanner mScanner; field in ClipStorageReader.Iterator
96 mScanner = scanner; in Iterator()
101 return mScanner.hasNextLine(); in hasNext()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java79 WifiScannerImpl mScanner; field in BaseWifiScannerImplTest
99 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandScanFreqs()
105 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandAndChannelScanFreqs()
255 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in overlappingSingleScanFails()
257 mScanner.startSingleScan(settings2, eventHandler2)); in overlappingSingleScanFails()
278 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnExecute()
307 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnTimeout()
340 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnFailedEvent()
361 assertFalse(mScanner.startSingleScan(settings, null)); in singleScanNullEventHandler()
368 assertFalse(mScanner.startSingleScan(null, eventHandler)); in singleScanNullSettings()
[all …]
DWificondScannerTest.java74 mScanner = new WificondScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME, in setup()
92 mScanner = new WificondScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME, in singleScanNotIssuedIfNoAvailableChannels()
103 mScanner.startSingleScan(settings, eventHandler); in singleScanNotIssuedIfNoAvailableChannels()
127 mScanner.startSingleScan(settings, eventHandler); in cleanupReportsFailureIfScanInProgress()
134 mScanner.cleanup(); in cleanupReportsFailureIfScanInProgress()
190 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
291 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in testDumpWithCorrectFormatWithScanResult()
332 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in testUnwantedScanResultsExcept6GhzGetFiltered()
341 WifiScanner.ScanData scanData = mScanner.getLatestSingleScanResults(); in testUnwantedScanResultsExcept6GhzGetFiltered()
350 mScanner.cleanup(); in cleanupDeregistersHandlers()
[all …]
DWificondPnoScannerTest.java66 WificondScannerImpl mScanner; field in WificondPnoScannerTest
126 assertTrue(mScanner.setHwPnoList(pnoSettings, pnoEventHandler)); in startHwDisconnectedPnoScanFailure()
150 assertTrue(mScanner.resetHwPnoList()); in ignoreHwDisconnectedPnoScanStopFailure()
165 mScanner = new WificondScannerImpl(mContext, IFACE_NAME, mWifiGlobals, mWifiNative, in createScannerWithHwPnoScanSupport()
214 assertTrue(mScanner.setHwPnoList(pnoSettings, pnoEventHandler)); in startSuccessfulPnoScan()
218 ChannelCollection collection = mScanner.getChannelHelper().createChannelCollection(); in expectedBandScanFreqs()
DHalWifiScannerTest.java44 mScanner = new HalWifiScannerImpl(mContext, BaseWifiScannerImplTest.IFACE_NAME, in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiHealthMonitor.java115 private WifiScannerInternal mScanner; field in WifiHealthMonitor
271 if (mScanner != null) return; in retrieveWifiScanner()
272 mScanner = WifiLocalServices.getService(WifiScannerInternal.class); in retrieveWifiScanner()
273 if (mScanner == null) return; in retrieveWifiScanner()
275 mScanner.registerScanListener( in retrieveWifiScanner()
DWifiConnectivityManager.java189 private WifiScannerInternal mScanner; field in WifiConnectivityManager
336 mScanner.startScan(settings,
2334 mScanner.startScan(settings, in startForcedSingleScan()
2526 mScanner.startPnoScan(scanSettings, pnoSettings, mInternalPnoScanListener); in startDisconnectedPnoScan()
2684 mScanner.stopPnoScan(mInternalPnoScanListener); in stopPnoScan()
3379 if (mScanner != null) return; in retrieveWifiScanner()
3380 mScanner = WifiLocalServices.getService(WifiScannerInternal.class); in retrieveWifiScanner()
3381 if (mScanner == null) { in retrieveWifiScanner()
3386 mScanner.registerScanListener(mInternalAllSingleScanListener); in retrieveWifiScanner()