Searched defs:passkey (Results 1 - 25 of 28) sorted by relevance

12

/external/bluetooth/bluedroid/stack/smp/
H A Dsmp_api.c219 ** 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 Dsmp_keys.c94 ** 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 Dsmp_utils.c470 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 Dfake_bluetooth_agent_service_provider.cc66 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 Dbluetooth_agent_service_provider.cc218 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 Dfake_bluetooth_device_client.cc864 // 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 Dbluetooth_api_pairing_delegate.cc66 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 Dbluetooth_private_api.cc90 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 Dbluetooth_pairing_chromeos.cc29 // 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 Dbluetooth_device_win.cc230 void BluetoothDeviceWin::SetPasskey(uint32 passkey) { argument
H A Dbluetooth_adapter_chromeos.cc480 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 Dbluetooth_device_chromeos.cc352 void BluetoothDeviceChromeOS::SetPasskey(uint32 passkey) { argument
356 pairing_->SetPasskey(passkey);
/external/bluetooth/bluedroid/btif/src/
H A Dbluetooth.c315 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 Dbtif_dm.c1010 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 Dbluetooth_notification_controller.cc229 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 Dbluetooth_options_handler.cc313 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 Dbluetooth_controller_pairing_controller.cc441 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 Dbluetooth_host_pairing_controller.cc397 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 Dsmp_api.h35 #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 Dhid_detection_screen_handler.cc267 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 Dbta_dm_api.c1337 ** 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 Dbta_dm_int.h484 UINT32 passkey; member in struct:__anon504
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_ble.c404 ** 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 Dbtm_sec.c1730 ** 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 Dbta_api.h629 #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...]

Completed in 7883 milliseconds

12