Searched refs:ScanCallback (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
H A DScanCallback.java26 public abstract class ScanCallback { class
H A DBluetoothLeScanner.java70 * SCAN_FAILED_* codes in {@link ScanCallback}.
78 * @see ScanCallback#onScanResult(int, ScanResult)
85 private final Map<ScanCallback, BleScanCallbackWrapper> mLeScanClients;
97 mLeScanClients = new HashMap<ScanCallback, BleScanCallbackWrapper>();
104 * {@link #startScan(List, ScanSettings, ScanCallback)} with desired {@link ScanFilter}.
115 public void startScan(final ScanCallback callback) {
137 final ScanCallback callback) {
159 * @return Returns 0 for success or an error code from {@link ScanCallback} if the scan request
172 * Start Bluetooth LE scan. Same as {@link #startScan(ScanCallback)} but allows the caller to
183 public void startScanFromSource(final WorkSource workSource, final ScanCallback callbac
[all...]
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DDeviceDiscoveryService.java35 import android.bluetooth.le.ScanCallback;
122 private ScanCallback mBLEScanCallback;
442 private class BLEScanCallback extends ScanCallback {
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DKeyboardUI.java22 import android.bluetooth.le.ScanCallback;
114 private ScanCallback mScanCallback;
531 private final class KeyboardScanCallback extends ScanCallback {
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java30 import android.bluetooth.le.ScanCallback;
588 private final Map<LeScanCallback, ScanCallback> mLeScanClients;
630 mLeScanClients = new HashMap<LeScanCallback, ScanCallback>();
2651 * @deprecated use {@link BluetoothLeScanner#startScan(List, ScanSettings, ScanCallback)}
2670 * @deprecated use {@link BluetoothLeScanner#startScan(List, ScanSettings, ScanCallback)}
2708 ScanCallback scanCallback = new ScanCallback() {
2768 * @deprecated Use {@link BluetoothLeScanner#stopScan(ScanCallback)} instead.
2781 ScanCallback scanCallback = mLeScanClients.remove(callback);
/frameworks/base/config/
H A Dboot-image-profile.txt1389 HPLandroid/bluetooth/le/BluetoothLeScanner;->startScan(Ljava/util/List;Landroid/bluetooth/le/ScanSettings;Landroid/bluetooth/le/ScanCallback;)V
1390 HPLandroid/bluetooth/le/BluetoothLeScanner;->startScan(Ljava/util/List;Landroid/bluetooth/le/ScanSettings;Landroid/os/WorkSource;Landroid/bluetooth/le/ScanCallback;Landroid/app/PendingIntent;Ljava/util/List;)I
1391 HPLandroid/bluetooth/le/BluetoothLeScanner;->startScanFromSource(Ljava/util/List;Landroid/bluetooth/le/ScanSettings;Landroid/os/WorkSource;Landroid/bluetooth/le/ScanCallback;)V
1393 HPLandroid/bluetooth/le/BluetoothLeScanner;->stopScan(Landroid/bluetooth/le/ScanCallback;)V
1418 HPLandroid/bluetooth/le/ScanCallback;-><init>()V
[all...]

Completed in 67 milliseconds