Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java643 public boolean setScanMode(int mode, int duration) { in setScanMode() method in BluetoothAdapter
646 return mService.setScanMode(mode, duration); in setScanMode()
652 public boolean setScanMode(int mode) { in setScanMode() method in BluetoothAdapter
654 return setScanMode(mode, 120); in setScanMode()
DIBluetooth.aidl46 boolean setScanMode(int mode, int duration); in setScanMode() method
/frameworks/base/wifi/java/android/net/wifi/
DWifiNative.java122 public boolean setScanMode(boolean setActive) { in setScanMode() method in WifiNative
DWifiStateMachine.java2667 mWifiNative.setScanMode(mSetScanActive); in processMessage()
2672 mWifiNative.setScanMode(forceActive); in processMessage()
2676 mWifiNative.setScanMode(mSetScanActive); in processMessage()
/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()
/frameworks/base/core/java/android/server/
DBluetoothService.java811 public synchronized boolean setScanMode(int mode, int duration) { in setScanMode() method in BluetoothService