HomeSort by relevance Sort by last modified time
    Searched refs:discoverable (Results 1 - 12 of 12) sorted by null

  /packages/apps/Settings/tests/src/com/android/settings/tests/
BluetoothRequestPermissionTest.java 40 final boolean mEnableOnly; // enable or enable + discoverable
73 Button discoverable = (Button) findViewById(R.id.discoverable); local
74 discoverable.setOnClickListener(new BtOnClickListener(false /* enable & discoverable */));
  /external/bluetooth/bluez/test/
gaptest.c 231 "\t-D <discoverable> Set discoverable\n"
242 int opt, timeout = -1, powered = -1, discoverable = -1, pairable = -1; local
253 discoverable = atoi(optarg);
290 if (discoverable >= 0) {
291 set_property(conn, adapter, "Discoverable",
292 DBUS_TYPE_BOOLEAN, &discoverable);
  /external/bluetooth/bluez/plugins/
mgmtops.c 67 gboolean discoverable; member in struct:controller_info
194 static int mgmt_set_discoverable(int index, gboolean discoverable)
196 DBG("index %d discoverable %d", index, discoverable);
197 return mgmt_set_mode(index, MGMT_OP_SET_DISCOVERABLE, discoverable);
231 info->discoverable = FALSE;
241 if (on_mode == MODE_DISCOVERABLE && !info->discoverable)
250 if (info->discoverable)
284 error("Too small discoverable event");
288 DBG("Controller %u discoverable %u", index, ev->val)
    [all...]
hciops.c 428 static int hciops_set_discoverable(int index, gboolean discoverable)
433 if (discoverable)
438 DBG("hci%d discoverable %d", index, discoverable);
593 gboolean pairable, discoverable; local
621 discoverable = (mode == MODE_DISCOVERABLE);
623 hciops_set_discoverable(index, discoverable);
    [all...]
  /frameworks/base/core/java/android/server/
BluetoothService.java 521 * needed to get the Bluetooth Module ready but keep it not discoverable
646 String discoverable = getProperty("Discoverable", false); local
653 if (discoverable.equals("true") && Integer.valueOf(timeout) != 0) {
654 setAdapterPropertyBooleanNative("Discoverable", 0);
798 * makes the device permanently discoverable (if the device is
799 * discoverable). Setting the timeout to a nonzero value does not make
800 * a device discoverable; you need to call setMode() to make the device
801 * explicitly discoverable.
803 * @param timeout The discoverable timeout in seconds
    [all...]
BluetoothEventLoop.java 325 } else if (name.equals("Pairable") || name.equals("Discoverable")) {
328 if (name.equals("Discoverable")) {
334 String discoverable = name.equals("Discoverable") ? propValues[1] : local
335 adapterProperties.getProperty("Discoverable");
338 if (pairable == null || discoverable == null)
343 discoverable.equals("true"));
    [all...]
  /external/bluetooth/bluez/lib/bluetooth/
mgmt.h 63 uint8_t discoverable; member in struct:mgmt_rp_read_info
  /external/bluetooth/bluez/src/
adapter.c 68 #define EIR_LIM_DISC 0x01 /* LE Limited Discoverable Mode */
69 #define EIR_GEN_DISC 0x02 /* LE General Discoverable Mode */
116 guint discov_timeout_id; /* discoverable timeout id */
118 uint32_t discov_timeout; /* discoverable time(sec) */
123 uint8_t mode; /* off, connectable, discoverable,
159 gboolean discoverable, void *data);
349 return "discoverable";
361 else if (strcasecmp("discoverable", mode) == 0)
419 /* Set limited discoverable if pairable and interval between 0 to 60
560 gboolean discoverable, void *data
1458 gboolean discoverable; local
2950 gboolean powered, discoverable, pairable; local
3609 gboolean discoverable, pairable; local
    [all...]
adapter.h 172 int (*set_discoverable) (int index, gboolean discoverable);
230 * type to default values. Valid for both connectable and discoverable modes. */
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
BluetoothChat.java 187 if(D) Log.d(TAG, "ensure discoverable");
350 case R.id.discoverable:
351 // Ensure this device is discoverable by others
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothStressTest.java 25 * Includes tests for enabling/disabling bluetooth, enabling/disabling discoverable mode,
75 * Stress test for putting the device in and taking the device out of discoverable mode.
89 mTestUtils.writeOutput("discoverable iteration " + (i + 1) + " of " + iterations);
90 mTestUtils.discoverable(adapter);
BluetoothTestUtils.java 42 /** Timeout for discoverable/undiscoverable in ms. */
538 * Puts the local device into discoverable mode and checks to make sure that the local device
539 * is in discoverable mode and that the correct actions were broadcast.
543 public void discoverable(BluetoothAdapter adapter) { method in class:BluetoothTestUtils
547 fail("discoverable() bluetooth not enabled");
565 writeOutput(String.format("discoverable() completed in %d ms",
575 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x "
    [all...]

Completed in 462 milliseconds