/external/bluetooth/bluedroid/stack/smp/ |
H A D | smp_api.c | 219 ** passkey request to the application. 221 ** Parameters: bd_addr - Address of the device for which passkey was requested 223 ** passkey - numeric value in the range of 227 void SMP_PasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey) argument 234 passkey, res); 256 if (passkey > BTM_MAX_PASSKEY_VAL || res != SMP_SUCCESS) 258 SMP_TRACE_WARNING ("SMP_PasskeyReply() - Wrong key len: %d or passkey entry fail", passkey); 265 smp_convert_string_to_tk(p_cb->tk, passkey);
|
H A D | smp_keys.c | 94 ** Description This function is called to generate passkey. 158 ** Description This function is called to generate passkey. 178 ** Description This function is called to process a passkey. 187 UINT32 passkey; /* 19655 test number; */ local 191 STREAM_TO_UINT32(passkey, pp); 192 passkey &= ~SMP_PASSKEY_MASK; 195 while (passkey > BTM_MAX_PASSKEY_VAL) 196 passkey >>= 1; 200 UINT32_TO_STREAM(tt, passkey); 207 (*p_cb->p_callback)(SMP_PASSKEY_NOTIF_EVT, p_cb->pairing_bda, (tSMP_EVT_DATA *)&passkey); [all...] |
H A D | smp_utils.c | 470 void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey) argument 475 UINT32_TO_STREAM(p, passkey);
|
/external/chromium_org/chromeos/dbus/ |
H A D | fake_bluetooth_agent_service_provider.cc | 66 uint32 passkey, int16 entered) { 67 VLOG(1) << object_path_.value() << ": DisplayPasskey " << passkey 69 delegate_->DisplayPasskey(device_path, passkey, entered); 74 uint32 passkey, 76 VLOG(1) << object_path_.value() << ": RequestConfirmation " << passkey 78 delegate_->RequestConfirmation(device_path, passkey, callback); 64 DisplayPasskey( const dbus::ObjectPath& device_path, uint32 passkey, int16 entered) argument 72 RequestConfirmation( const dbus::ObjectPath& device_path, uint32 passkey, const Delegate::ConfirmationCallback& callback) argument
|
H A D | bluetooth_agent_service_provider.cc | 218 uint32 passkey; local 221 !reader.PopUint32(&passkey) || 228 delegate_->DisplayPasskey(device_path, passkey, entered); 244 uint32 passkey; local 246 !reader.PopUint32(&passkey)) { 258 delegate_->RequestConfirmation(device_path, passkey, callback); 372 uint32 passkey) { 380 writer.AppendUint32(passkey); 369 OnPasskey(dbus::MethodCall* method_call, dbus::ExportedObject::ResponseSender response_sender, Delegate::Status status, uint32 passkey) argument
|
H A D | fake_bluetooth_device_client.cc | 864 // Display a passkey, and each interval act as if another key was entered 1062 uint32 passkey) { 1057 PasskeyCallback( const dbus::ObjectPath& object_path, const base::Closure& callback, const ErrorCallback& error_callback, BluetoothAgentServiceProvider::Delegate::Status status, uint32 passkey) argument
|
/external/chromium_org/extensions/browser/api/bluetooth/ |
H A D | bluetooth_api_pairing_delegate.cc | 66 uint32 passkey) { 70 event.passkey.reset(new int(passkey)); 85 uint32 passkey) { 89 event.passkey.reset(new int(passkey)); 64 DisplayPasskey( device::BluetoothDevice* device, uint32 passkey) argument 83 ConfirmPasskey( device::BluetoothDevice* device, uint32 passkey) argument
|
H A D | bluetooth_private_api.cc | 90 bool passkey = options.passkey.get() != NULL; local 92 if (!response && !pincode && !passkey) 94 if (pincode && passkey) 97 (pincode || passkey)) 106 if (passkey && !device->ExpectingPasskey()) 109 !passkey && !device->ExpectingConfirmation()) 266 } else if (options.passkey.get()) { 267 device->SetPasskey(*options.passkey.get());
|
/external/chromium_org/device/bluetooth/ |
H A D | bluetooth_pairing_chromeos.cc | 29 // Number of keys that will be entered for a passkey, six digits plus the 138 void BluetoothPairingChromeOS::SetPasskey(uint32 passkey) { argument 143 passkey); 153 void BluetoothPairingChromeOS::DisplayPasskey(uint32 passkey) { argument 160 pairing_delegate_->DisplayPasskey(device_, passkey); 176 uint32 passkey, 186 pairing_delegate_->ConfirmPasskey(device_, passkey); 175 RequestConfirmation( uint32 passkey, const BluetoothAgentServiceProvider::Delegate::ConfirmationCallback& callback) argument
|
H A D | bluetooth_device_win.cc | 230 void BluetoothDeviceWin::SetPasskey(uint32 passkey) { argument
|
H A D | bluetooth_adapter_chromeos.cc | 480 uint32 passkey, 483 VLOG(1) << device_path.value() << ": DisplayPasskey: " << passkey 491 pairing->DisplayPasskey(passkey); 498 uint32 passkey, 501 VLOG(1) << device_path.value() << ": RequestConfirmation: " << passkey; 509 pairing->RequestConfirmation(passkey, callback); 478 DisplayPasskey( const dbus::ObjectPath& device_path, uint32 passkey, uint16 entered) argument 496 RequestConfirmation( const dbus::ObjectPath& device_path, uint32 passkey, const ConfirmationCallback& callback) argument
|
H A D | bluetooth_device_chromeos.cc | 352 void BluetoothDeviceChromeOS::SetPasskey(uint32 passkey) { argument 356 pairing_->SetPasskey(passkey);
|
/external/bluetooth/bluedroid/btif/src/ |
H A D | bluetooth.c | 315 uint8_t accept, uint32_t passkey) 321 return btif_dm_ssp_reply(bd_addr, variant, accept, passkey); 314 ssp_reply(const bt_bdaddr_t *bd_addr, bt_ssp_variant_t variant, uint8_t accept, uint32_t passkey) argument
|
H A D | btif_dm.c | 1010 p_ssp_key_notif->passkey); 2417 UINT32 passkey = 0; local 2423 passkey += (multi[i] * (pin_code->pin[i] - '0')); 2425 BTIF_TRACE_DEBUG("btif_dm_pin_reply: passkey: %d", passkey); 2426 BTA_DmBlePasskeyReply(remote_bd_addr, accept, passkey); 2455 uint32_t passkey) 2457 UNUSED(passkey); 2818 p_ssp_key_notif->passkey); 2453 btif_dm_ssp_reply(const bt_bdaddr_t *bd_addr, bt_ssp_variant_t variant, uint8_t accept, uint32_t passkey) argument
|
/external/chromium_org/ash/system/chromeos/bluetooth/ |
H A D | bluetooth_notification_controller.cc | 229 uint32 passkey) { 233 base::StringPrintf("%06i", passkey))); 244 uint32 passkey) { 248 base::StringPrintf("%06i", passkey))); 228 DisplayPasskey(BluetoothDevice* device, uint32 passkey) argument 243 ConfirmPasskey(BluetoothDevice* device, uint32 passkey) argument
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
H A D | bluetooth_options_handler.cc | 313 unsigned passkey = 0; local 314 base::StringToUint(auth_token, &passkey); 316 VLOG(1) << "Passkey supplied: " << address << ": " << passkey; local 317 device->SetPasskey(passkey); 479 if (pairing == kRemotePasskey && !js_properties.HasKey("passkey")) 480 js_properties.SetInteger("passkey", pairing_device_passkey_); 493 js_properties.GetInteger("passkey", &pairing_device_passkey_); 524 uint32 passkey) { 527 params.SetInteger("passkey", passkey); 523 DisplayPasskey(device::BluetoothDevice* device, uint32 passkey) argument 538 ConfirmPasskey(device::BluetoothDevice* device, uint32 passkey) argument [all...] |
/external/chromium_org/components/pairing/ |
H A D | bluetooth_controller_pairing_controller.cc | 441 uint32 passkey) { 455 uint32 passkey) { 456 confirmation_code_ = base::StringPrintf("%06d", passkey); 439 DisplayPasskey( device::BluetoothDevice* device, uint32 passkey) argument 453 ConfirmPasskey( device::BluetoothDevice* device, uint32 passkey) argument
|
H A D | bluetooth_host_pairing_controller.cc | 397 uint32 passkey) { 411 uint32 passkey) { 412 confirmation_code_ = base::StringPrintf("%06d", passkey); 395 DisplayPasskey( device::BluetoothDevice* device, uint32 passkey) argument 409 ConfirmPasskey( device::BluetoothDevice* device, uint32 passkey) argument
|
/external/bluetooth/bluedroid/stack/include/ |
H A D | smp_api.h | 35 #define SMP_PASSKEY_NOTIF_EVT 3 /* passkey notification event */ 36 #define SMP_PASSKEY_REQ_EVT 4 /* passkey request event */ 144 UINT32 passkey; member in union:__anon1615 257 ** passkey - numeric value in the range of 261 SMP_API extern void SMP_PasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
H A D | hid_detection_screen_handler.cc | 267 device::BluetoothDevice* device, uint32 passkey) { 273 params.SetInteger("passkey", passkey); 274 std::string pincode = base::UintToString(passkey); 291 device::BluetoothDevice* device, uint32 passkey) { 266 DisplayPasskey( device::BluetoothDevice* device, uint32 passkey) argument 290 ConfirmPasskey( device::BluetoothDevice* device, uint32 passkey) argument
|
/external/bluetooth/bluedroid/bta/dm/ |
H A D | bta_dm_api.c | 1337 ** Description Send BLE SMP passkey reply. 1340 ** accept - passkey entry sucessful or declined. 1341 ** passkey - passkey value, must be a 6 digit number, 1347 void BTA_DmBlePasskeyReply(BD_ADDR bd_addr, BOOLEAN accept, UINT32 passkey) argument 1362 p_msg->passkey = passkey;
|
H A D | bta_dm_int.h | 484 UINT32 passkey; member in struct:__anon504
|
/external/bluetooth/bluedroid/stack/btm/ |
H A D | btm_ble.c | 404 ** passkey request to the application. 406 ** Parameters: bd_addr - Address of the device for which passkey was requested 409 ** p_passkey - pointer to array with the passkey 413 void BTM_BlePasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey) argument 427 SMP_PasskeyReply(bd_addr, res_smp, passkey);
|
H A D | btm_sec.c | 1730 ** Description This function is called to provide the passkey for 1735 ** passkey - numeric value in the range of 1740 void BTM_PasskeyReqReply(tBTM_STATUS res, BD_ADDR bd_addr, UINT32 passkey) argument 1774 if (passkey > BTM_MAX_PASSKEY_VAL) 1788 btsnd_hcic_user_passkey_reply (bd_addr, passkey); 1797 ** Description This function is used during the passkey entry model 3599 /* Numeric confirmation. Need user to conf the passkey */ 3630 STREAM_TO_UINT32 (evt_data.key_notif.passkey, p); 3632 BTM_TRACE_DEBUG ("BTM_SP_KEY_NOTIF_EVT: passkey: %u", evt_data.key_notif.passkey); [all...] |
/external/bluetooth/bluedroid/bta/include/ |
H A D | bta_api.h | 629 #define BTA_DM_BLE_PASSKEY_NOTIF_EVT 17 /* SMP passkey notification event */ 630 #define BTA_DM_BLE_PASSKEY_REQ_EVT 18 /* SMP passkey request event */ 878 BTA_SP_KEY_STARTED, /* passkey entry started */ 879 BTA_SP_KEY_ENTERED, /* passkey digit entered */ 880 BTA_SP_KEY_ERASED, /* passkey digit erased */ 881 BTA_SP_KEY_CLEARED, /* passkey cleared */ 882 BTA_SP_KEY_COMPLT /* passkey entry completed */ 900 UINT32 passkey; /* the numeric value for comparison. If just_works, do not show this number to UI */ member in struct:__anon717 930 tBTA_DM_SP_KEY_NOTIF key_notif; /* passkey notification */ 2060 ** Description Send BLE SMP passkey repl [all...] |