Home
last modified time | relevance | path

Searched refs:remote_bd_addr (Results 1 – 23 of 23) sorted by relevance

/system/bt/btif/include/
Dbtif_storage.h75 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t *remote_bd_addr,
89 bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t *remote_bd_addr,
104 bt_status_t btif_storage_add_remote_device(bt_bdaddr_t *remote_bd_addr,
119 bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr,
134 bt_status_t btif_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr);
231 bt_status_t btif_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr,
260 bt_status_t btif_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr);
285 BOOLEAN btif_storage_is_device_autopair_blacklisted(bt_bdaddr_t *remote_bd_addr);
298 bt_status_t btif_storage_add_device_to_autopair_blacklist(bt_bdaddr_t *remote_bd_addr);
310 BOOLEAN btif_storage_is_fixed_pin_zeros_keyboard(bt_bdaddr_t *remote_bd_addr);
[all …]
/system/bt/btif/src/
Dbtif_storage.c180 bt_status_t btif_in_fetch_bonded_ble_device(const char *remote_bd_addr,int add,
182 bt_status_t btif_storage_get_remote_addr_type(bt_bdaddr_t *remote_bd_addr,
221 static int prop2cfg(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop) in prop2cfg() argument
224 if(remote_bd_addr) in prop2cfg()
225 bdaddr_to_string(remote_bd_addr, bdstr, sizeof(bdstr)); in prop2cfg()
242 if(remote_bd_addr) in prop2cfg()
314 static int cfg2prop(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop) in cfg2prop() argument
317 if(remote_bd_addr) in cfg2prop()
318 bdaddr_to_string(remote_bd_addr, bdstr, sizeof(bdstr)); in cfg2prop()
336 if(remote_bd_addr) in cfg2prop()
[all …]
Dbtif_dm.c2448 BD_ADDR remote_bd_addr; in btif_dm_pin_reply() local
2449 bdcpy(remote_bd_addr, bd_addr->address); in btif_dm_pin_reply()
2455 BTA_DmBlePasskeyReply(remote_bd_addr, accept, passkey); in btif_dm_pin_reply()
/system/bt/stack/l2cap/
Dl2c_csm.c170 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
177 || !btm_acl_notif_conn_collision(p_ccb->p_lcb->remote_bd_addr)) in l2c_csm_closed()
200 BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, &settings); in l2c_csm_closed()
204 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
253 BTM_SetPowerMode (BTM_PM_SET_ONLY_ID, p_ccb->p_lcb->remote_bd_addr, &settings); in l2c_csm_closed()
257 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
327 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_orig_w4_sec_comp()
371 btm_sec_abort_access_req (p_ccb->p_lcb->remote_bd_addr); in l2c_csm_orig_w4_sec_comp()
413 btm_sec_abort_access_req (p_ccb->p_lcb->remote_bd_addr); in l2c_csm_term_w4_sec_comp()
428 … (*p_ccb->p_rcb->api.pL2CA_ConnectInd_Cb) (p_ccb->p_lcb->remote_bd_addr, p_ccb->local_cid, in l2c_csm_term_w4_sec_comp()
[all …]
Dl2c_utils.c64 memcpy (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN); in l2cu_allocate_lcb()
155 btm_remove_sco_links(p_lcb->remote_bd_addr); in l2cu_release_lcb()
182 if (!memcmp(l2cb.ble_connecting_bda, p_lcb->remote_bd_addr, BD_ADDR_LEN)) in l2cu_release_lcb()
199 btm_acl_removed (p_lcb->remote_bd_addr, p_lcb->transport); in l2cu_release_lcb()
201 btm_acl_removed (p_lcb->remote_bd_addr, BT_TRANSPORT_BR_EDR); in l2cu_release_lcb()
273 (!memcmp (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN))) in l2cu_find_lcb_by_bd_addr()
1698 btm_sec_clr_temp_auth_service (p_lcb->remote_bd_addr); in l2cu_release_ccb()
2237 BTM_ReadDevInfo(p_lcb->remote_bd_addr, &dev_type, &addr_type); in l2cu_create_conn()
2267 is_sco_active = btm_is_sco_active_by_bdaddr(p_lcb_cur->remote_bd_addr); in l2cu_create_conn()
2283 … if (BTM_SwitchRole (p_lcb_cur->remote_bd_addr, HCI_ROLE_MASTER, NULL) == BTM_CMD_STARTED) in l2cu_create_conn()
[all …]
Dl2c_ble.c483 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev(p_lcb->remote_bd_addr); in l2cble_start_conn_update()
484 tACL_CONN *p_acl_cb = btm_bda_to_acl(p_lcb->remote_bd_addr, BT_TRANSPORT_LE); in l2cble_start_conn_update()
687 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev (p_lcb->remote_bd_addr); in l2cble_init_direct_conn()
706 memcpy(peer_addr, p_lcb->remote_bd_addr, BD_ADDR_LEN); in l2cble_init_direct_conn()
754 memcpy (l2cb.ble_connecting_bda, p_lcb->remote_bd_addr, BD_ADDR_LEN); in l2cble_init_direct_conn()
1018 BTM_SetBleDataLength(p_lcb->remote_bd_addr, tx_mtu); in l2cble_update_data_length()
Dl2c_ucd.c689 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (p_ccb->p_lcb->remote_bd_addr, in l2c_ucd_check_pending_info_req()
709 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (p_ccb->p_lcb->remote_bd_addr, in l2c_ucd_check_pending_info_req()
765 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, psm, in l2c_ucd_check_pending_out_sec_q()
842 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, psm, in l2c_ucd_check_pending_in_sec_q()
868 p_ccb->p_rcb->ucd.cb_info.pL2CA_UCD_Data_Cb(p_ccb->p_lcb->remote_bd_addr, (BT_HDR *)p_buf); in l2c_ucd_send_pending_in_sec_q()
Dl2c_link.c417 btm_sco_acl_removed (p_lcb->remote_bd_addr); in l2c_link_hci_disc_comp()
433 btm_acl_removed (p_lcb->remote_bd_addr, p_lcb->transport); in l2c_link_hci_disc_comp()
456 p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason, p_lcb->transport); in l2c_link_hci_disc_comp()
459 p_lcb->remote_bd_addr, FALSE, p_lcb->disc_reason, BT_TRANSPORT_BR_EDR); in l2c_link_hci_disc_comp()
688 memcpy (ci.bd_addr, p_lcb->remote_bd_addr, sizeof(BD_ADDR)); in l2c_info_timeout()
1080 if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode) == BTM_SUCCESS) in l2c_link_check_power_mode()
1444 (*p_lcb->p_nocp_cb)(p_lcb->remote_bd_addr); in l2c_link_process_num_completed_pkts()
Dl2c_main.c193 l2cble_notify_le_connection(p_lcb->remote_bd_addr); in l2c_rcv_acl_data()
281 (rcv_cid, p_lcb->remote_bd_addr, p_msg); in l2c_rcv_acl_data()
423 memcpy (ci.bd_addr, p_lcb->remote_bd_addr, sizeof(BD_ADDR)); in process_l2cap_cmd()
787 memcpy (ci.bd_addr, p_lcb->remote_bd_addr, sizeof(BD_ADDR)); in process_l2cap_cmd()
Dl2c_api.c1248 flush_tout, p_lcb->remote_bd_addr[3], in L2CA_SetFlushTimeout()
1249 p_lcb->remote_bd_addr[4], p_lcb->remote_bd_addr[5]); in L2CA_SetFlushTimeout()
1318 memcpy (bd_addr, p_lcb->remote_bd_addr, BD_ADDR_LEN); in L2CA_GetBDAddrbyHandle()
1458 (fixed_cid,p_lcb->remote_bd_addr, TRUE, 0, p_lcb->transport); in L2CA_ConnectFixedChnl()
1461 (fixed_cid, p_lcb->remote_bd_addr, TRUE, 0, BT_TRANSPORT_BR_EDR); in L2CA_ConnectFixedChnl()
Dl2c_int.h365 BD_ADDR remote_bd_addr; /* The BD address of the remote */ member
Dl2c_fcr.c1481 (p_ccb->local_cid, p_ccb->p_lcb->remote_bd_addr, p_buf); in do_sar_reassembly()
/system/bt/tools/bdtool/
Dadapter.c71 void acl_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state) { in acl_state_changed() argument
166 bt_bdaddr_t *remote_bd_addr, in ssp_request() argument
192 …fprintf(stdout, "Device found:%s %s\n", bdaddr_to_string(remote_bd_addr, buf, sizeof(buf)), bd_nam… in ssp_request()
197 int rc = bt_interface->ssp_reply(remote_bd_addr, pairing_variant, in ssp_request()
/system/bt/test/suite/support/
Dadapter.c64 void acl_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state) { in acl_state_changed() argument
113 bt_bdaddr_t *remote_bd_addr, in ssp_request() argument
Dcallbacks.c23 void acl_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_acl_state_t state);
26 void bond_state_changed(bt_status_t status, bt_bdaddr_t *remote_bd_addr, bt_bond_state_t state);
31 void ssp_request(bt_bdaddr_t *remote_bd_addr, bt_bdname_t *bd_name, uint32_t cod, bt_ssp_variant_t …
Dgatt.c25 static bt_bdaddr_t remote_bd_addr; variable
159 remote_bd_addr.address[i] = bda->address[i]; in btgatts_connection_cb()
/system/bt/stack/btm/
Dbtm_acl.c355 … && (bda && (0 == memcmp(btm_cb.devcb.switch_role_ref_data.remote_bd_addr, bda, BD_ADDR_LEN)))) in btm_acl_report_role_change()
563 tBTM_STATUS BTM_GetRole (BD_ADDR remote_bd_addr, UINT8 *p_role) in BTM_GetRole() argument
567 if ((p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in BTM_GetRole()
596 tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, UINT8 new_role, tBTM_CMPL_CB *p_cb) in BTM_SwitchRole() argument
610 remote_bd_addr[0], remote_bd_addr[1], remote_bd_addr[2], in BTM_SwitchRole()
611 remote_bd_addr[3], remote_bd_addr[4], remote_bd_addr[5]); in BTM_SwitchRole()
620 p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole()
628 if ((p = btm_bda_to_acl(remote_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) in BTM_SwitchRole()
637 is_sco_active = btm_is_sco_active_by_bdaddr(remote_bd_addr); in BTM_SwitchRole()
668 p_dev_rec = btm_find_dev (remote_bd_addr); in BTM_SwitchRole()
[all …]
Dbtm_inq.c1453 (!memcmp (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN))) in btm_clr_inq_db()
1544 … if ((p_ent->in_use) && (!memcmp (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN))) in btm_inq_db_find()
1575 memcpy (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN); in btm_inq_db_new()
1591 memcpy (p_old->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN); in btm_inq_db_new()
/system/bt/bta/dm/
Dbta_dm_act.c96 static void bta_dm_discover_device(BD_ADDR remote_bd_addr);
123 static void bta_dm_remove_sec_dev_entry(BD_ADDR remote_bd_addr);
1488 bta_dm_discover_device(bta_dm_search_cb.p_btm_inq_info->results.remote_bd_addr); in bta_dm_inq_cmpl()
2250 bta_dm_discover_device(bta_dm_search_cb.p_btm_inq_info->results.remote_bd_addr); in bta_dm_discover_next_device()
2275 static void bta_dm_discover_device(BD_ADDR remote_bd_addr) in bta_dm_discover_device() argument
2286 BTM_ReadDevInfo(remote_bd_addr, &dev_type, &addr_type); in bta_dm_discover_device()
2298 remote_bd_addr[0],remote_bd_addr[1], in bta_dm_discover_device()
2299 remote_bd_addr[2],remote_bd_addr[3], in bta_dm_discover_device()
2300 remote_bd_addr[4],remote_bd_addr[5]); in bta_dm_discover_device()
2302 bdcpy(bta_dm_search_cb.peer_bdaddr, remote_bd_addr); in bta_dm_discover_device()
[all …]
/system/bt/stack/include/
Dbtu.h169 BD_ADDR remote_bd_addr; member
Dsdp_api.h123 BD_ADDR remote_bd_addr; /* Remote BD address */ member
Dbtm_api.h604 BD_ADDR remote_bd_addr; member
726 BD_ADDR remote_bd_addr; /* Remote BD addr involved with the switch */ member
2739 extern tBTM_STATUS BTM_GetRole (BD_ADDR remote_bd_addr, UINT8 *p_role);
2759 extern tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr,
/system/bt/stack/sdp/
Dsdp_discovery.c832 memcpy (p_rec->remote_bd_addr, p_bda, BD_ADDR_LEN); in add_record()