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.java84 private final Map<ScanCallback, BleScanCallbackWrapper> mLeScanClients; field in BluetoothLeScanner
96 mLeScanClients = new HashMap<ScanCallback, BleScanCallbackWrapper>(); in BluetoothLeScanner()
211 synchronized (mLeScanClients) { in startScan()
212 if (callback != null && mLeScanClients.containsKey(callback)) { in startScan()
261 synchronized (mLeScanClients) { in stopScan()
262 BleScanCallbackWrapper wrapper = mLeScanClients.remove(callback); in stopScan()
301 synchronized (mLeScanClients) { in flushPendingScanResults()
302 BleScanCallbackWrapper wrapper = mLeScanClients.get(callback); in flushPendingScanResults()
335 mLeScanClients.clear(); in cleanup()
382 mLeScanClients.put(mScanCallback, this); in startRegistration()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java561 private final Map<LeScanCallback, ScanCallback> mLeScanClients; field in BluetoothAdapter
602 mLeScanClients = new HashMap<LeScanCallback, ScanCallback>(); in BluetoothAdapter()
2177 if (mLeScanClients != null) mLeScanClients.clear();
2412 synchronized(mLeScanClients) { in startLeScan()
2413 if (mLeScanClients.containsKey(callback)) { in startLeScan()
2466 mLeScanClients.put(callback, scanCallback); in startLeScan()
2491 synchronized (mLeScanClients) { in stopLeScan()
2492 ScanCallback scanCallback = mLeScanClients.remove(callback); in stopLeScan()