Home
last modified time | relevance | path

Searched refs:mLeScanClients (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java85 private final Map<ScanCallback, BleScanCallbackWrapper> mLeScanClients; field in BluetoothLeScanner
97 mLeScanClients = new HashMap<ScanCallback, BleScanCallbackWrapper>(); in BluetoothLeScanner()
217 synchronized (mLeScanClients) { in startScan()
218 if (callback != null && mLeScanClients.containsKey(callback)) { in startScan()
267 synchronized (mLeScanClients) { in stopScan()
268 BleScanCallbackWrapper wrapper = mLeScanClients.remove(callback); in stopScan()
307 synchronized (mLeScanClients) { in flushPendingScanResults()
308 BleScanCallbackWrapper wrapper = mLeScanClients.get(callback); in flushPendingScanResults()
341 mLeScanClients.clear(); in cleanup()
388 mLeScanClients.put(mScanCallback, this); in startRegistration()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java588 private final Map<LeScanCallback, ScanCallback> mLeScanClients; field in BluetoothAdapter
630 mLeScanClients = new HashMap<LeScanCallback, ScanCallback>(); in BluetoothAdapter()
2435 if (mLeScanClients != null) {
2436 mLeScanClients.clear();
2693 synchronized (mLeScanClients) { in startLeScan()
2694 if (mLeScanClients.containsKey(callback)) { in startLeScan()
2753 mLeScanClients.put(callback, scanCallback); in startLeScan()
2780 synchronized (mLeScanClients) { in stopLeScan()
2781 ScanCallback scanCallback = mLeScanClients.remove(callback); in stopLeScan()