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

  /external/bluetooth/bluez/src/
hcid.conf 24 passkey "Bluez";
agent.h 34 uint32_t passkey, void *user_data);
74 uint32_t passkey, agent_cb cb,
78 uint32_t passkey);
dbus-hci.h 40 int hcid_dbus_user_confirm(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey);
42 int hcid_dbus_user_notify(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey);
agent.c 457 error("Wrong passkey reply signature: %s", err.message);
467 error("Invalid passkey length from handler");
469 "Invalid passkey length");
602 uint32_t passkey; local
626 DBUS_TYPE_UINT32, &passkey,
628 error("Wrong passkey reply signature: %s", err.message);
634 cb(agent, NULL, passkey, req->user_data);
808 uint32_t passkey)
821 DBUS_TYPE_UINT32, &passkey,
836 uint32_t passkey, agent_cb cb
    [all...]
dbus-hci.c 264 static void passkey_cb(struct agent *agent, DBusError *err, uint32_t passkey,
284 cp.passkey = passkey;
436 int hcid_dbus_user_confirm(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey)
508 passkey, confirm_cb);
526 int hcid_dbus_user_notify(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey)
535 passkey, NULL);
device.h 79 uint32_t passkey, void *cb);
security.c 442 btohl(req->passkey)) < 0)
460 hcid_dbus_user_notify(sba, &req->bdaddr, btohl(req->passkey));
550 /* Request PIN from passkey agent */
device.c     [all...]
  /external/bluetooth/bluez/test/
simple-agent 45 passkey = raw_input("Enter passkey: ")
46 return dbus.UInt32(passkey)
50 def DisplayPasskey(self, device, passkey):
51 print "DisplayPasskey (%s, %d)" % (device, passkey)
55 def RequestConfirmation(self, device, passkey):
56 print "RequestConfirmation (%s, %d)" % (device, passkey)
57 confirm = raw_input("Confirm passkey (yes/no): ")
60 raise Rejected("Passkey doesn't match")
agent.c 127 unsigned int passkey; local
149 printf("Passkey request for device %s\n", path);
156 passkey = strtoul(passkey_value, NULL, 10);
158 dbus_message_append_args(reply, DBUS_TYPE_UINT32, &passkey,
176 unsigned int passkey; local
179 DBUS_TYPE_UINT32, &passkey,
196 printf("Confirmation request of %u for device %s\n", passkey, path);
255 fprintf(stderr, "Invalid arguments for passkey Confirm method");
567 "\tagent [--adapter adapter-path] [--path agent-path] <passkey> [<device>]\n"
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingDialog.java 42 * BluetoothPairingDialog asks the user to enter a PIN / Passkey / simple confirmation
98 int passkey = local
100 if (passkey == BluetoothDevice.ERROR) {
104 mPasskey = String.format("%06d", passkey);
109 int passkey = local
111 if (passkey == BluetoothDevice.ERROR) {
115 mPasskey = String.format("%06d", passkey);
161 // Maximum of 6 digits for passkey
247 int passkey = Integer.parseInt(value); local
248 mDevice.setPasskey(passkey);
    [all...]
BluetoothPairingRequest.java 34 * checks if the Bluetooth Settings is currently visible and brings up the PIN, the passkey or a
59 int passkey = intent.getIntExtra(BluetoothDevice.EXTRA_PASSKEY, BluetoothDevice.ERROR); local
60 pairingIntent.putExtra(BluetoothDevice.EXTRA_PASSKEY, passkey);
  /frameworks/base/core/java/android/bluetooth/
IBluetooth.aidl 64 boolean setPasskey(in String address, int passkey);
BluetoothDevice.java 242 public static final String EXTRA_PASSKEY = "android.bluetooth.device.extra.PASSKEY";
316 /** The user will be prompted to enter a passkey
319 /** The user will be prompted to confirm the passkey displayed on the screen
325 /** The user will be prompted to enter the passkey displayed on remote device
652 public boolean setPasskey(int passkey) {
654 return sService.setPasskey(mAddress, passkey);
  /frameworks/base/core/tests/coretests/src/android/bluetooth/
BluetoothTestUtils.java 282 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin) {
285 mPasskey = passkey;
637 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) {
638 pairOrAcceptPair(adapter, device, passkey, pin, true);
641 public void acceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey,
643 pairOrAcceptPair(adapter, device, passkey, pin, false);
646 private void pairOrAcceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey,
652 PairReceiver pairReceiver = getPairReceiver(mContext, device, passkey, pin);
    [all...]
  /frameworks/base/core/java/android/server/
BluetoothEventLoop.java 410 private void onRequestPasskeyConfirmation(String objectPath, int passkey, int nativeData) {
416 intent.putExtra(BluetoothDevice.EXTRA_PASSKEY, passkey);
471 private void onDisplayPasskey(String objectPath, int passkey, int nativeData) {
477 intent.putExtra(BluetoothDevice.EXTRA_PASSKEY, passkey);
BluetoothService.java     [all...]
  /frameworks/base/core/jni/
android_server_BluetoothEventLoop.cpp 1029 uint32_t passkey; local
1047 uint32_t passkey; local
    [all...]
android_server_BluetoothService.cpp 542 int passkey, int nativeData) {
550 LOGE("%s: Cannot create message reply to return Passkey code to "
556 dbus_message_append_args(reply, DBUS_TYPE_UINT32, (uint32_t *)&passkey,
    [all...]
  /external/bluetooth/bluez/lib/bluetooth/
hci.h 525 uint32_t passkey; member in struct:__anon1713
1868 uint32_t passkey; member in struct:__anon1883
1907 uint32_t passkey; member in struct:__anon1889
    [all...]
  /external/bluetooth/hcidump/parser/
hci.c 107 "User Passkey Request",
114 "User Passkey Notification",
167 "User Passkey Request Reply",
168 "User Passkey Request Negative Reply",
832 printf("bdaddr %s passkey %d\n", addr, btohl(cp->passkey));
    [all...]

Completed in 174 milliseconds