/system/bt/stack/btm/ |
D | btm_sec.c | 3619 UINT8 *p_bda = evt_data.cfm_req.bd_addr; in btm_proc_sp_req_evt() local 3623 STREAM_TO_BDADDR (p_bda, p); in btm_proc_sp_req_evt() 3626 … (p_bda[0]<<24) + (p_bda[1]<<16) + (p_bda[2]<<8) + p_bda[3], (p_bda[4] << 8) + p_bda[5], in btm_proc_sp_req_evt() 3629 if ( ((p_dev_rec = btm_find_dev (p_bda)) != NULL) in btm_proc_sp_req_evt() 3631 && (memcmp (btm_cb.pairing_bda, p_bda, BD_ADDR_LEN) == 0) ) in btm_proc_sp_req_evt() 3705 BTM_ConfirmReqReply (status, p_bda); in btm_proc_sp_req_evt() 3710 BTM_PasskeyReqReply(status, p_bda, 0); in btm_proc_sp_req_evt() 3721 btsnd_hcic_user_conf_reply (p_bda, FALSE); in btm_proc_sp_req_evt() 3731 if (NULL != (p_dev_rec = btm_find_dev (p_bda)) ) in btm_proc_sp_req_evt() 3739 btsnd_hcic_user_passkey_neg_reply(p_bda); in btm_proc_sp_req_evt() [all …]
|
D | btm_inq.c | 1134 tBTM_INQ_INFO *BTM_InqDbRead (const BD_ADDR p_bda) in BTM_InqDbRead() argument 1137 p_bda[0], p_bda[1], p_bda[2], p_bda[3], p_bda[4], p_bda[5]); in BTM_InqDbRead() 1139 tINQ_DB_ENT *p_ent = btm_inq_db_find(p_bda); in BTM_InqDbRead() 1224 tBTM_STATUS BTM_ClearInqDb (BD_ADDR p_bda) in BTM_ClearInqDb() argument 1233 btm_clr_inq_db(p_bda); in BTM_ClearInqDb() 1445 void btm_clr_inq_db (BD_ADDR p_bda) in btm_clr_inq_db() argument 1460 if (p_bda == NULL || in btm_clr_inq_db() 1461 (!memcmp (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN))) in btm_clr_inq_db() 1503 BOOLEAN btm_inq_find_bdaddr (BD_ADDR p_bda) in btm_inq_find_bdaddr() argument 1515 if (!memcmp(p_db->bd_addr, p_bda, BD_ADDR_LEN) in btm_inq_find_bdaddr() [all …]
|
D | btm_acl.c | 405 evt_data.discn.p_bda = bda; in btm_acl_removed() 611 BD_ADDR_PTR p_bda; in BTM_SwitchRole() local 624 p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole() 626 p_bda[0], p_bda[1], p_bda[2], in BTM_SwitchRole() 627 p_bda[3], p_bda[4], p_bda[5]); in BTM_SwitchRole() 785 evt.p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_encrypt_change() 1275 evt_data.conn.p_bda = p_acl_cb->remote_addr; in btm_establish_continue() 1493 UINT8 *p_bda = (bd_addr) ? bd_addr : in btm_acl_role_changed() local 1495 tACL_CONN *p = btm_bda_to_acl(p_bda, BT_TRANSPORT_BR_EDR); in btm_acl_role_changed() 1515 memcpy(p_data->remote_bd_addr, p_bda, BD_ADDR_LEN); in btm_acl_role_changed() [all …]
|
D | btm_int.h | 932 extern void btm_clr_inq_db (BD_ADDR p_bda); 940 extern tINQ_DB_ENT *btm_inq_db_find (const BD_ADDR p_bda); 941 extern BOOLEAN btm_inq_find_bdaddr (BD_ADDR p_bda); 1101 extern void btm_sec_link_key_notification (UINT8 *p_bda, UINT8 *p_link_key, UINT8 key_type); 1102 extern void btm_sec_link_key_request (UINT8 *p_bda); 1103 extern void btm_sec_pin_code_request (UINT8 *p_bda); 1119 extern tINQ_DB_ENT *btm_inq_db_new (BD_ADDR p_bda);
|
/system/bt/stack/pan/ |
D | pan_int.h | 112 BD_ADDR p_bda, 143 extern tPAN_CONN *pan_allocate_pcb (BD_ADDR p_bda, UINT16 handle); 145 extern tPAN_CONN *pan_get_pcb_by_addr (BD_ADDR p_bda);
|
D | pan_utils.c | 180 tPAN_CONN *pan_allocate_pcb (BD_ADDR p_bda, UINT16 handle) in pan_allocate_pcb() argument 194 memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0) in pan_allocate_pcb() 203 memcpy (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN); in pan_allocate_pcb() 245 tPAN_CONN *pan_get_pcb_by_addr (BD_ADDR p_bda) in pan_get_pcb_by_addr() argument 254 if (memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0) in pan_get_pcb_by_addr()
|
D | pan_main.c | 95 BD_ADDR p_bda, in pan_conn_ind_cb() argument 291 pcb = pan_allocate_pcb (p_bda, handle); in pan_conn_ind_cb()
|
/system/bt/bta/sys/ |
D | bta_sys_conn.c | 103 void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status) in bta_sys_notify_role_chg() argument 107 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda); in bta_sys_notify_role_chg() 147 void bta_sys_notify_collision (BD_ADDR_PTR p_bda) in bta_sys_notify_collision() argument 156 bta_sys_cb.colli_reg.p_coll_cback[index] (0, BTA_ID_SYS, 0, p_bda); in bta_sys_notify_collision()
|
D | bta_sys.h | 263 extern void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status); 265 extern void bta_sys_notify_collision (BD_ADDR_PTR p_bda);
|
/system/bt/stack/l2cap/ |
D | l2c_ble.c | 1375 void l2cble_sec_comp(BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 status) in l2cble_sec_comp() argument 1377 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, BT_TRANSPORT_LE); in l2cble_sec_comp() 1403 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1409 BTM_GetSecurityFlagsByTransport(p_bda, &sec_flag, transport); in l2cble_sec_comp() 1411 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1415 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp() 1424 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1440 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1442 l2ble_sec_access_req(p_bda, p_buf->psm, p_buf->is_originator, in l2cble_sec_comp()
|
D | l2c_link.c | 158 BOOLEAN l2c_link_hci_conn_comp (UINT8 status, UINT16 handle, BD_ADDR p_bda) in l2c_link_hci_conn_comp() argument 169 memcpy (ci.bd_addr, p_bda, BD_ADDR_LEN); in l2c_link_hci_conn_comp() 203 if ((p_dev_info = btm_find_dev (p_bda)) != NULL) in l2c_link_hci_conn_comp() 300 void l2c_link_sec_comp (BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 status) in l2c_link_sec_comp() argument 317 memcpy (ci.bd_addr, p_bda, BD_ADDR_LEN); in l2c_link_sec_comp() 319 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, transport); in l2c_link_sec_comp()
|
D | l2c_int.h | 686 extern void l2cu_resubmit_pending_sec_req (BD_ADDR p_bda); 694 extern BOOLEAN l2c_link_hci_conn_comp (UINT8 status, UINT16 handle, BD_ADDR p_bda); 706 extern void l2c_link_sec_comp (BD_ADDR p_bda, tBT_TRANSPORT trasnport, void *p_ref_data, UINT8 …
|
D | l2c_utils.c | 2624 void l2cu_resubmit_pending_sec_req (BD_ADDR p_bda) in l2cu_resubmit_pending_sec_req() argument 2631 L2CAP_TRACE_DEBUG ("l2cu_resubmit_pending_sec_req p_bda: 0x%08x", p_bda); in l2cu_resubmit_pending_sec_req() 2634 if (p_bda) in l2cu_resubmit_pending_sec_req() 2636 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, BT_TRANSPORT_BR_EDR); in l2cu_resubmit_pending_sec_req()
|
D | l2c_api.c | 2106 BOOLEAN L2CA_RegForNoCPEvt(tL2CA_NOCP_CB *p_cb, BD_ADDR p_bda) in L2CA_RegForNoCPEvt() argument 2111 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, BT_TRANSPORT_BR_EDR); in L2CA_RegForNoCPEvt()
|
/system/bt/stack/bnep/ |
D | bnep_int.h | 213 extern tBNEP_CONN *bnepu_find_bcb_by_bd_addr (UINT8 *p_bda); 224 extern tBNEP_CONN *bnepu_get_route_to_dest (UINT8 *p_bda);
|
D | bnep_utils.c | 84 tBNEP_CONN *bnepu_find_bcb_by_bd_addr (UINT8 *p_bda) in bnepu_find_bcb_by_bd_addr() argument 94 if (!memcmp ((UINT8 *)(p_bcb->rem_bda), p_bda, BD_ADDR_LEN)) in bnepu_find_bcb_by_bd_addr()
|
/system/bt/stack/include/ |
D | btm_api.h | 805 BD_ADDR_PTR p_bda; /* The address of the newly connected device */ member 819 BD_ADDR_PTR p_bda; /* The address of the disconnected device */ member 847 BD_ADDR_PTR p_bda; /* The address of the peer connected device */ member 874 typedef void (tBTM_ACL_DB_CHANGE_CB) (BD_ADDR p_bda, DEV_CLASS p_dc, 879 typedef void (tBTM_ACL_DB_CHANGE_CB) (BD_ADDR p_bda, DEV_CLASS p_dc, 1811 typedef void (tBTM_PM_STATUS_CBACK) (BD_ADDR p_bda, tBTM_PM_STATUS status, 2520 extern tBTM_INQ_INFO *BTM_InqDbRead (const BD_ADDR p_bda); 2566 extern tBTM_STATUS BTM_ClearInqDb (BD_ADDR p_bda);
|
D | l2c_api.h | 776 extern BOOLEAN L2CA_RegForNoCPEvt(tL2CA_NOCP_CB *p_cb, BD_ADDR p_bda);
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 3019 bdcpy(p_msg->bd_addr, p_data->conn.p_bda); in bta_dm_bl_change_cback() 3026 bdcpy(p_msg->bd_addr, p_data->discn.p_bda); in bta_dm_bl_change_cback() 3039 bdcpy(p_msg->bd_addr, p_data->role_chg.p_bda); in bta_dm_bl_change_cback() 3042 bdcpy(p_msg->bd_addr, p_data->conn.p_bda); in bta_dm_bl_change_cback() 3142 BD_ADDR_PTR p_bda = p_data->acl_change.bd_addr; in bta_dm_acl_change() local 3161 p_dev = bta_dm_find_peer_device(p_bda); in bta_dm_acl_change() 3174 BTM_SwitchRole(p_bda, BTM_ROLE_MASTER, NULL); in bta_dm_acl_change() 3196 bdcpy(conn.role_chg.bd_addr, p_bda); in bta_dm_acl_change() 3207 bta_sys_notify_collision (p_bda); in bta_dm_acl_change() 3215 if (!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_bda) in bta_dm_acl_change() [all …]
|
/system/bt/stack/sdp/ |
D | sdp_discovery.c | 52 static tSDP_DISC_REC *add_record (tSDP_DISCOVERY_DB *p_db, BD_ADDR p_bda); 789 tSDP_DISC_REC *add_record (tSDP_DISCOVERY_DB *p_db, BD_ADDR p_bda) in add_record() argument 804 memcpy (p_rec->remote_bd_addr, p_bda, BD_ADDR_LEN); in add_record()
|
/system/bt/btif/src/ |
D | btif_gatt_client.c | 376 static void btif_gattc_add_remote_bdaddr (BD_ADDR p_bda, uint8_t addr_type) in btif_gattc_add_remote_bdaddr() argument 383 memcpy(p_dev_cb->remote_dev[i].bd_addr.address, p_bda, BD_ADDR_LEN); in btif_gattc_add_remote_bdaddr() 394 memcpy(p_dev_cb->remote_dev[i].bd_addr.address, p_bda, BD_ADDR_LEN); in btif_gattc_add_remote_bdaddr() 404 static BOOLEAN btif_gattc_find_bdaddr (BD_ADDR p_bda) in btif_gattc_find_bdaddr() argument 410 !memcmp(p_dev_cb->remote_dev[i].bd_addr.address, p_bda, BD_ADDR_LEN)) in btif_gattc_find_bdaddr()
|