/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);
|
/frameworks/base/core/tests/coretests/src/android/bluetooth/ |
BluetoothStressTest.java | 60 mTestUtils.writeOutput("discoverable iteration " + (i + 1) + " of " + iterations); 61 mTestUtils.discoverable(adapter);
|
BluetoothTestUtils.java | 495 public void discoverable(BluetoothAdapter adapter) { method in class:BluetoothTestUtils 500 fail("discoverable() bluetooth not enabled"); 517 writeOutput(String.format("discoverable() completed in %d ms", 529 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x " [all...] |
/frameworks/base/core/java/android/server/ |
BluetoothEventLoop.java | 238 } else if (name.equals("Pairable") || name.equals("Discoverable")) { 241 String discoverable = name.equals("Discoverable") ? propValues[1] : local 242 mBluetoothService.getPropertyInternal("Discoverable"); 245 if (pairable == null || discoverable == null) 251 discoverable.equals("true"));
|
BluetoothService.java | [all...] |
/external/bluetooth/bluez/src/ |
adapter.c | 67 /* Limited Discoverable bit mask in CoD */ 99 guint discov_timeout_id; /* discoverable timeout id */ 100 uint32_t discov_timeout; /* discoverable time(sec) */ 105 uint8_t mode; /* off, connectable, discoverable, 330 return "discoverable"; 342 else if (strcasecmp("discoverable", mode) == 0) 533 gboolean discoverable, void *data) 539 mode = discoverable ? MODE_DISCOVERABLE : MODE_CONNECTABLE; 1326 /* Discoverable */ 1328 dict_append_entry(&dict, "Discoverable", DBUS_TYPE_BOOLEAN, &value) 1420 gboolean discoverable; local 2655 gboolean powered, discoverable, pairable; local 3137 gboolean discoverable, pairable; local [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChat.java | 194 if(D) Log.d(TAG, "ensure discoverable"); 348 case R.id.discoverable: 349 // Ensure this device is discoverable by others
|