Home
last modified time | relevance | path

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

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java81 private BluetoothLeScanner mScanner; field in BluetoothLeScanTest
99 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in setUp()
157 mScanner.startScan(filters, settings, filterLeScanCallback); in scanFilter()
159 mScanner.stopScan(filterLeScanCallback); in scanFilter()
179 mScanner.startScanFromSource(null, filterLeScanCallback); in scanFromSourceWithoutFilters()
181 mScanner.stopScan(filterLeScanCallback); in scanFromSourceWithoutFilters()
203 mScanner.startScanFromSource(null, settings, null, filterLeScanCallback); in scanFromSourceWithFilters()
205 mScanner.stopScan(filterLeScanCallback); in scanFromSourceWithFilters()
313 mScanner.startScan(Collections.emptyList(), batchScanSettings, in batchScan()
316 mScanner.flushPendingScanResults(batchScanCallback); in batchScan()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerService.java80 private BluetoothLeScanner mScanner; field in BleScannerService
95 mScanner = mAdapter.getBluetoothLeScanner(); in onCreate()
100 if (mScanner != null) { in onStartCommand()
117 mScanner.stopScan(mCallback); in onStartCommand()
127 mScanner.stopScan(mCallback); in onStartCommand()
132 mScanner.startScan(filters, settingBuilder.build(), mCallback); in onStartCommand()
145 if (mScanner != null) { in onDestroy()
146 mScanner.stopScan(mCallback); in onDestroy()
DBleConnectionPriorityClientService.java84 private BluetoothLeScanner mScanner; field in BleConnectionPriorityClientService
107 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
316 mScanner.startScan(filter, setting, mScanCallback); in startScan()
324 if (mScanner != null) { in stopScan()
325 mScanner.stopScan(mScanCallback); in stopScan()
DBleEncryptedClientService.java114 private BluetoothLeScanner mScanner; field in BleEncryptedClientService
142 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
562 mScanner.startScan(filter, setting, mScanCallback); in startScan()
578 if (mScanner != null) { in stopScan()
579 mScanner.stopScan(mScanCallback); in stopScan()
DBleCocClientService.java141 private BluetoothLeScanner mScanner; field in BleCocClientService
168 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
687 mScanner.startScan(filter, setting, mScanCallback); in startScan()
692 if (mScanner != null) { in stopScan()
693 mScanner.stopScan(mScanCallback); in stopScan()
DBleClientService.java323 private BluetoothLeScanner mScanner; field in BleClientService
367 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
1577 mScanner.startScan(filter, setting, mScanCallback); in startScan()
1582 if (mScanner != null) { in stopScan()
1583 mScanner.stopScan(mScanCallback); in stopScan()