Home
last modified time | relevance | path

Searched refs:setScanMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java772 public boolean setScanMode(int mode, int duration) { in setScanMode() method in BluetoothAdapter
776 if (mService != null) return mService.setScanMode(mode, duration); in setScanMode()
783 public boolean setScanMode(int mode) { in setScanMode() method in BluetoothAdapter
786 return setScanMode(mode, getDiscoverableTimeout()); in setScanMode()
1730 .setScanMode(ScanSettings.SCAN_MODE_LOW_LATENCY).build(); in startLeScan()
DIBluetooth.aidl45 boolean setScanMode(int mode, int duration); in setScanMode() method
/frameworks/base/core/java/android/bluetooth/le/
DScanSettings.java179 public Builder setScanMode(int scanMode) { in setScanMode() method in ScanSettings.Builder
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java560 assertTrue(adapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE)); in discoverable()
603 assertTrue(adapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE)); in undiscoverable()
/frameworks/base/api/
Dsystem-current.txt6903 method public android.bluetooth.le.ScanSettings.Builder setScanMode(int);
Dcurrent.txt6673 method public android.bluetooth.le.ScanSettings.Builder setScanMode(int);