Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java350 private final ScanCallback mScanCallback; field in BluetoothLeScanner.BleScanCallbackWrapper
371 mScanCallback = scanCallback; in BleScanCallbackWrapper()
385 postCallbackError(mScanCallback, ScanCallback.SCAN_FAILED_INTERNAL_ERROR); in startRegistration()
388 mLeScanClients.put(mScanCallback, this); in startRegistration()
397 postCallbackError(mScanCallback, in startRegistration()
484 mScanCallback.onScanResult(ScanSettings.CALLBACK_TYPE_ALL_MATCHES, scanResult); in onScanResult()
495 mScanCallback.onBatchScanResults(results); in onBatchScanResults()
517 mScanCallback.onScanResult(ScanSettings.CALLBACK_TYPE_FIRST_MATCH, in onFoundOrLost()
520 mScanCallback.onScanResult(ScanSettings.CALLBACK_TYPE_MATCH_LOST, in onFoundOrLost()
537 postCallbackError(mScanCallback, errorCode); in onScanManagerErrorCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java114 private ScanCallback mScanCallback; field in KeyboardUI
336 mScanCallback = new KeyboardScanCallback(); in startScanning()
337 scanner.startScan(Arrays.asList(filter), settings, mScanCallback); in startScanning() local
344 if (mScanCallback != null) { in stopScanning()
347 scanner.stopScan(mScanCallback); in stopScanning()
349 mScanCallback = null; in stopScanning()
397 mScanCallback = null; in onBleScanFailedInternal()