Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DIBluetooth.aidl44 boolean setScanMode(int mode, int duration); in setScanMode() method
DBluetoothAdapter.java698 public boolean setScanMode(int mode, int duration) { in setScanMode() method in BluetoothAdapter
702 if (mService != null) return mService.setScanMode(mode, duration); in setScanMode()
709 public boolean setScanMode(int mode) { in setScanMode() method in BluetoothAdapter
712 return setScanMode(mode, getDiscoverableTimeout()); in setScanMode()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java559 assertTrue(adapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE)); in discoverable()
602 assertTrue(adapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE)); in undiscoverable()