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

  /system/bt/tools/bdtool/
bdtool.c 39 static bool discoverable = false; variable
53 {"discoverable", no_argument, 0, 0 },
76 if (bond && discoverable) {
77 fprintf(stderr, "Can only select either bond or discoverable, not both\n");
86 if (!bond && !discover && !discoverable && !up && !get_name && !set_name && !sco_listen && !sco_connect) {
116 if (discoverable) {
123 fprintf(stdout, "Set rc:%d device as discoverable for %d seconds\n", rc, timeout_in_sec);
265 fprintf(stderr, "Usage: %s [--bond|--discover|--discoverable|--up|--sco_listen|--sco_connect] [--bdaddr=<bdaddr>] [--time=<time_in_sec>] --verbose\n", name);
268 fprintf(stderr, " discoverable: Set into a connectable and discoverable mode\n")
    [all...]
  /packages/apps/Settings/tests/app/src/com/android/settings/tests/
BluetoothRequestPermissionTest.java 39 // Discoverable button alternates between 20 second timeout and no timeout.
43 final boolean mEnableOnly; // enable or enable + discoverable
76 Button discoverable = (Button) findViewById(R.id.discoverable); local
77 discoverable.setOnClickListener(new BtOnClickListener(false /* enable & discoverable */));
  /external/autotest/server/cros/bluetooth/
bluetooth_device.py 79 def set_discoverable(self, discoverable):
80 """Set the adapter discoverable state.
82 @param discoverable: adapter discoverable state to set (True or False).
87 return self._proxy.set_discoverable(discoverable)
314 # Turn off the discoverable flag since it may affect future tests.
bluetooth_tester.py 61 def set_discoverable(self, discoverable, timeout=0):
62 """Set the discoverable state of the controller.
64 @param discoverable: Whether controller should be discoverable.
66 ignored when discoverable is False, must not be zero when
67 discoverable is True.
72 return self._proxy.set_discoverable(discoverable, timeout)
  /external/autotest/client/cros/bluetooth/
bluetooth_tester_xmlrpc_server.py 248 def set_discoverable(self, discoverable, timeout=0):
249 """Set the discoverable state of the controller.
251 @param discoverable: Whether controller should be discoverable.
253 ignored when discoverable is False, must not be zero when
254 discoverable is True.
260 discoverable, timeout)
bluetooth_device_xmlrpc_server.py 314 def set_discoverable(self, discoverable):
315 """Set the adapter discoverable state.
317 @param discoverable: adapter discoverable state to set (True or False).
322 if not discoverable and not self._adapter:
328 'Discoverable', discoverable,
  /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatFragment.java 191 * Makes this device discoverable.
393 case R.id.discoverable: {
394 // Ensure this device is discoverable by others
  /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
BluetoothChatFragment.java 191 * Makes this device discoverable.
393 case R.id.discoverable: {
394 // Ensure this device is discoverable by others
  /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
  /development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
BluetoothChatFragment.java 191 * Makes this device discoverable.
393 case R.id.discoverable: {
394 // Ensure this device is discoverable by others
  /external/autotest/client/common_lib/cros/bluetooth/
bluetooth_socket.py 630 def set_discoverable(self, index, discoverable, timeout=0):
631 """Set the discoverable state of a controller.
634 @param discoverable: Whether controller should be discoverable.
636 ignored when discoverable is False, must not be zero when
637 discoverable is True.
643 msg_data = struct.pack('<BH', bool(discoverable), timeout)
649 if status == MGMT_STATUS_NOT_SUPPORTED and not discoverable:
    [all...]
  /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 43 /** Timeout for discoverable/undiscoverable in ms. */
540 * Puts the local device into discoverable mode and checks to make sure that the local device
541 * is in discoverable mode and that the correct actions were broadcast.
545 public void discoverable(BluetoothAdapter adapter) { method in class:BluetoothTestUtils
549 fail("discoverable() bluetooth not enabled");
567 writeOutput(String.format("discoverable() completed in %d ms",
577 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x "
    [all...]

Completed in 495 milliseconds