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.java70 private BluetoothLeScanner mScanner; field in BluetoothLeScanTest
85 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in setUp()
144 mScanner.startScan(filters, settings, filterLeScanCallback); in testScanFilter()
146 mScanner.stopScan(filterLeScanCallback); in testScanFilter()
251 mScanner.startScan(Collections.<ScanFilter>emptyList(), batchScanSettings, in testBatchScan()
254 mScanner.flushPendingScanResults(batchScanCallback); in testBatchScan()
265 mScanner.stopScan(batchScanCallback); in testBatchScan()
282 mScanner.startScan(null, null, pi); in testStartScanPendingIntent_nullnull()
284 mScanner.stopScan(pi); in testStartScanPendingIntent_nullnull()
312 mScanner.startScan(filters, batchScanSettings, pi); in testStartScanPendingIntent()
[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.java145 private BluetoothLeScanner mScanner; field in BleCocClientService
170 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
684 mScanner.startScan(filter, setting, mScanCallback); in startScan()
689 if (mScanner != null) { in stopScan()
690 mScanner.stopScan(mScanCallback); in stopScan()
DBleClientService.java289 private BluetoothLeScanner mScanner; field in BleClientService
320 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
1267 mScanner.startScan(filter, setting, mScanCallback); in startScan()
1272 if (mScanner != null) { in stopScan()
1273 mScanner.stopScan(mScanCallback); in stopScan()