Home
last modified time | relevance | path

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

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java63 private BluetoothLeScanner mScanner; field in BluetoothLeScanTest
78 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in setUp()
115 mScanner.startScan(filters, settings, filterLeScanCallback); in testScanFilter()
117 mScanner.stopScan(filterLeScanCallback); in testScanFilter()
169 mScanner.startScan(Collections.<ScanFilter> emptyList(), opportunisticScanSettings, in testOpportunisticScan()
184 mScanner.startScan(filters, regularScanSettings, regularScanCallback); in testOpportunisticScan()
192 mScanner.stopScan(regularScanCallback); in testOpportunisticScan()
214 mScanner.startScan(Collections.<ScanFilter> emptyList(), batchScanSettings, in testBatchScan()
217 mScanner.flushPendingScanResults(batchScanCallback); in testBatchScan()
222 mScanner.stopScan(batchScanCallback); in testBatchScan()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerService.java82 private BluetoothLeScanner mScanner; field in BleScannerService
97 mScanner = mAdapter.getBluetoothLeScanner(); in onCreate()
102 if (mScanner != null) { in onStartCommand()
119 mScanner.stopScan(mCallback); in onStartCommand()
129 mScanner.stopScan(mCallback); in onStartCommand()
134 mScanner.startScan(filters, settingBuilder.build(), mCallback); in onStartCommand()
147 mScanner.stopScan(mCallback); in onDestroy()
DBleClientService.java117 private BluetoothLeScanner mScanner; field in BleClientService
127 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in onCreate()
455 mScanner.startScan(filter, setting, mScanCallback); in startScan()
460 mScanner.stopScan(mScanCallback); in stopScan()