Home
last modified time | relevance | path

Searched refs:link_key (Results 1 – 15 of 15) sorted by relevance

/external/bluetooth/bluedroid/btif/src/
Dbtif_config.c727 char link_key[64]; in cfg_test_write() local
728 for(i = 0; i < (int)sizeof(link_key); i++) in cfg_test_write()
729 link_key[i] = i; in cfg_test_write()
733 link_key[0] = i; in cfg_test_write()
736 btif_config_set(section, key, "link keys", link_key, sizeof(link_key), BTIF_CFG_TYPE_BIN); in cfg_test_write()
745 char link_key[128] = {0}; in cfg_test_read() local
758 size = sizeof(link_key); in cfg_test_read()
760 ret = btif_config_get(section, key, "link keys", link_key, &size, &type); in cfg_test_read()
Dbtif_storage.c420 LINK_KEY link_key; in btif_in_fetch_bonded_devices() local
421 int size = sizeof(link_key); in btif_in_fetch_bonded_devices()
422 if(btif_config_get("Remote", kname, "LinkKey", (char*)link_key, &size, &type)) in btif_in_fetch_bonded_devices()
437 … BTA_DmAddDevice(bd_addr.address, dev_class, link_key, 0, 0, (UINT8)linkkey_type, 0); in btif_in_fetch_bonded_devices()
687 LINK_KEY link_key, in btif_storage_add_bonded_device() argument
695 …ret &= btif_config_set("Remote", bdstr, "LinkKey", (const char*)link_key, sizeof(LINK_KEY), BTIF_C… in btif_storage_add_bonded_device()
/external/bluetooth/bluedroid/stack/btm/
Dbtm_dev.c61 LINK_KEY link_key, UINT8 key_type, tBTM_IO_CAP io_cap) in BTM_SecAddDevice() argument
117 if (link_key) in BTM_SecAddDevice()
123 memcpy (p_dev_rec->link_key, link_key, LINK_KEY_LEN); in BTM_SecAddDevice()
Dbtm_devctl.c1715 LINK_KEY *link_key, in BTM_WriteStoredLinkKey() argument
1730 if (btsnd_hcic_write_stored_key (num_keys, bd_addr, link_key)) in BTM_WriteStoredLinkKey()
1906 UINT8 link_key[LINK_KEY_LEN]; in btm_return_link_keys_evt() local
1920 REVERSE_STREAM_TO_ARRAY(link_key, p1, LINK_KEY_LEN); in btm_return_link_keys_evt()
1924 ARRAY_TO_STREAM(p, link_key, LINK_KEY_LEN); in btm_return_link_keys_evt()
Dbtm_sec.c1330 tBTM_STATUS BTM_SecGetDeviceLinkKey (BD_ADDR bd_addr, LINK_KEY link_key) in BTM_SecGetDeviceLinkKey() argument
1337 memcpy (link_key, p_dev_rec->link_key, LINK_KEY_LEN); in BTM_SecGetDeviceLinkKey()
4425 memcpy (p_dev_rec->link_key, p_link_key, LINK_KEY_LEN); in btm_sec_link_key_notification()
4498 btsnd_hcic_link_key_req_reply (p_bda, p_dev_rec->link_key); in btm_sec_link_key_request()
4511 if ((*btm_cb.api.p_link_key_req_callback)(p_bda, p_dev_rec->link_key) == BTM_SUCCESS) in btm_sec_link_key_request()
4513 btsnd_hcic_link_key_req_reply (p_bda, p_dev_rec->link_key); in btm_sec_link_key_request()
5257 p_dev_rec->sec_bd_name, p_dev_rec->link_key, in btm_send_link_key_notif()
Dbtm_int.h492 LINK_KEY link_key; /* Device link key */ member
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_api.c697 void BTA_DmAddDevice(BD_ADDR bd_addr, DEV_CLASS dev_class, LINK_KEY link_key, in BTA_DmAddDevice() argument
714 if (link_key) in BTA_DmAddDevice()
718 memcpy(p_msg->link_key, link_key, LINK_KEY_LEN); in BTA_DmAddDevice()
780 LINK_KEY link_key, tBTA_SERVICE_MASK trusted_mask, in BTA_DmAddDevWithName() argument
795 if (link_key) in BTA_DmAddDevWithName()
799 memcpy(p_msg->link_key, link_key, LINK_KEY_LEN); in BTA_DmAddDevWithName()
Dbta_dm_int.h389 LINK_KEY link_key; member
Dbta_dm_act.c722 p_lc = (UINT8 *)p_dev->link_key; in bta_dm_add_device()
/external/bluetooth/bluedroid/btif/include/
Dbtif_storage.h124 LINK_KEY link_key,
/external/bluetooth/bluedroid/stack/include/
Dhcimsgs.h175 LINK_KEY link_key);
668 LINK_KEY *link_key);
1125 …d btsnd_hcie_return_link_keys (void *buffer, UINT8 num_keys, BD_ADDR *bd_addr, LINK_KEY *link_key);
1147 HCI_API extern void btsnd_hcie_link_key_notify (void *buffer, BD_ADDR bd_addr, LINK_KEY link_key, U…
Dbtm_api.h1783 LINK_KEY link_key; member
1972 typedef BOOLEAN (tBTM_MIP_QUERY_CB) (BD_ADDR dev_addr, UINT8 *p_mode, LINK_KEY link_key);
3717 UINT32 trusted_mask[], LINK_KEY link_key,
3774 LINK_KEY link_key);
4137 LINK_KEY *link_key,
/external/bluetooth/bluedroid/bta/include/
Dbta_api.h1245 LINK_KEY link_key, tBTA_SERVICE_MASK trusted_mask,
1262 LINK_KEY link_key, tBTA_SERVICE_MASK trusted_mask,
/external/qemu/hw/
Dbt.h527 uint8_t link_key[16]; member
1496 uint8_t link_key[16]; member
/external/bluetooth/bluedroid/stack/hcic/
Dhcicmds.c295 BOOLEAN btsnd_hcic_link_key_req_reply (BD_ADDR bd_addr, LINK_KEY link_key) in btsnd_hcic_link_key_req_reply() argument
312 ARRAY16_TO_STREAM (pp, link_key); in btsnd_hcic_link_key_req_reply()
1301 LINK_KEY *link_key) in btsnd_hcic_write_stored_key() argument
1327 ARRAY16_TO_STREAM (pp, link_key[j]); in btsnd_hcic_write_stored_key()