Home
last modified time | relevance | path

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

/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBluetoothAdapter.java359 setDiscoverableTimeout(discoverableTimeout); in setScanMode()
366 setDiscoverableTimeout(durationSeconds); in setScanMode()
389 protected void setDiscoverableTimeout(int timeout) { in setDiscoverableTimeout() method in ShadowBluetoothAdapter
394 protected int setDiscoverableTimeout(Duration timeout) { in setDiscoverableTimeout() method in ShadowBluetoothAdapter
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBluetoothAdapterTest.java774 public void setDiscoverableTimeout() { in setDiscoverableTimeout() method in ShadowBluetoothAdapterTest
777 assertThat(adapter.setDiscoverableTimeout(Duration.ofSeconds(1000))) in setDiscoverableTimeout()
786 assertThat(adapter.setDiscoverableTimeout(Duration.ZERO)) in setDiscoverableTimeout_adapterNotEnabled()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothFacade.java242 mBluetoothAdapter.setDiscoverableTimeout(finalDuration); in bluetoothMakeDiscoverable()