/external/bluetooth/bluedroid/btif/include/ |
btif_profile_queue.h | 30 typedef bt_status_t (btif_connect_cb_t) (bt_bdaddr_t *bda); 32 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda,
|
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_attr.c | 43 static void gatt_profile_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason); 63 UINT16 gatt_profile_find_conn_id_by_bd_addr(BD_ADDR bda) 70 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 88 tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_bd_addr(BD_ADDR bda) 95 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 113 tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda) 125 memcpy (p_clcb->bda, bda, BD_ADDR_LEN) [all...] |
gatt_utils.c | 119 memcpy(req.srv_chg.bda, bd_addr, BD_ADDR_LEN); 683 ** Description This function find the connected bda 688 BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx) 698 memcpy( bda, gatt_cb.tcb[i].peer_bda, BD_ADDR_LEN); 701 GATT_TRACE_DEBUG6("gatt_find_the_connected_bda bda :%02x-%02x-%02x-%02x-%02x-%02x", 702 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]) [all...] |
gatt_int.h | 442 BD_ADDR bda; member in struct:__anon2616 525 extern void gatt_add_a_bonded_dev_for_srv_chg (BD_ADDR bda); 528 extern UINT16 gatt_profile_find_conn_id_by_bd_addr(BD_ADDR bda); 529 extern tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_bd_addr(BD_ADDR bda); 531 extern tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda); 558 extern tGATTS_SRV_CHG *gatt_is_bda_in_the_srv_chg_clt_list (BD_ADDR bda); 560 extern BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx); 602 extern BOOLEAN gatt_cancel_open(tGATT_IF gatt_if, BD_ADDR bda); 621 extern UINT8 gatt_num_clcb_by_bd_addr(BD_ADDR bda); 623 extern tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda); [all...] |
gatt_main.c | 376 GATT_TRACE_DEBUG3 ("GATT ATT protocol channel with BDA: %08x%04x is %s", 906 void gatt_add_a_bonded_dev_for_srv_chg (BD_ADDR bda) 912 memcpy(srv_chg_clt.bda, bda, BD_ADDR_LEN); 916 memcpy(req.srv_chg.bda, bda, BD_ADDR_LEN); 978 gatt_send_srv_chg_ind(p_srv_chg_clt->bda); 1049 BD_ADDR bda; local [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_hh.c | 254 BD_ADDR* bda; local 275 bda = (BD_ADDR*) (&p_dev->bd_addr); 276 BTA_HhSendData(p_dev->dev_handle, *bda, 412 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask) 416 if (memcmp(&(btif_hh_cb.added_devices[i].bd_addr), &bda, BD_ADDR_LEN) == 0) { 418 bda.address[0], bda.address[1], bda.address[2], bda.address[3], bda.address[4], bda.address[5]) 570 BD_ADDR *bda = (BD_ADDR*)bd_addr; local 607 BD_ADDR *bda = (BD_ADDR*)bd_addr; local 640 BD_ADDR *bda = (BD_ADDR*)bd_addr; local 843 BD_ADDR bda; local 1171 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1224 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1257 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1292 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1326 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1369 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1415 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1487 BD_ADDR* bda = (BD_ADDR*) bd_addr; local [all...] |
btif_profile_queue.c | 45 bt_bdaddr_t bda; member in struct:connect_node_tag 106 return (*(btif_connect_cb_t*)p_head->p_cb)(&p_head->bda); 135 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, 140 memcpy(&(node.bda), bda, sizeof(bt_bdaddr_t));
|
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_ble.c | 59 L2CAP_TRACE_WARNING4 ("L2CA_CancelBleConnectReq - different BDA Connecting: %08x%04x Cancel: %08x%04x", 253 void l2cble_scanner_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE type, UINT16 conn_interval, UINT16 conn_latency, UINT16 conn_timeout) 256 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev (bda); 267 p_lcb = l2cu_find_lcb_by_bd_addr (bda); 272 p_lcb = l2cu_allocate_lcb (bda, FALSE); 331 btm_acl_created (bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, TRUE); 355 void l2cble_advertiser_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE type, 362 p_lcb = l2cu_find_lcb_by_bd_addr (bda); 367 p_lcb = l2cu_allocate_lcb (bda, FALSE); 394 p_dev_rec = btm_find_or_alloc_dev (bda); [all...] |
/external/bluetooth/bluedroid/stack/btm/ |
btm_ble_gap.c | 58 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p); 174 p_cb->direct_bda.type, p_cb->direct_bda.bda, 493 p_cb->direct_bda.bda, 961 p_cb->direct_bda.type, p_cb->direct_bda.bda 1639 BD_ADDR bda; local 1680 BD_ADDR bda; local [all...] |
btm_acl.c | 78 ** Description This function returns the FIRST acl_db entry for the passed BDA. 80 ** Returns Returns pointer to the ACL DB for the requested BDA if found. 84 tACL_CONN *btm_bda_to_acl (BD_ADDR bda) 88 if (bda) 92 if ((p->in_use) && (!memcmp (p->remote_addr, bda, BD_ADDR_LEN))) 142 void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn, 153 p = btm_bda_to_acl(bda); 162 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]) 2962 BD_ADDR bda; local [all...] |
btm_sco.c | 136 static void btm_esco_conn_rsp (UINT16 sco_inx, UINT8 hci_status, BD_ADDR bda, 158 if (!btsnd_hcic_reject_conn (bda, hci_status)) 165 if (!btsnd_hcic_reject_esco_conn (bda, hci_status)) 215 if (btsnd_hcic_accept_esco_conn (bda, p_setup->tx_bw, p_setup->rx_bw, 228 btsnd_hcic_accept_conn (bda, 0); 797 void btm_sco_conn_req (BD_ADDR bda, DEV_CLASS dev_class, UINT8 link_type) 812 && (!memcmp (p->esco.data.bd_addr, bda, BD_ADDR_LEN))) 818 memcpy (p->esco.data.bd_addr, bda, BD_ADDR_LEN); 833 btm_esco_conn_rsp(xx, HCI_ERR_HOST_REJECT_RESOURCES, bda, NULL); 837 btm_esco_conn_rsp(xx, HCI_SUCCESS, bda, NULL) [all...] |
btm_ble_int.h | 232 extern void btm_ble_connected (UINT8 *bda, UINT16 handle, UINT8 enc_mode, UINT8 role); 240 extern void btm_ble_ltk_request_reply(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk); 244 extern BOOLEAN btm_ble_start_encrypt(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk); 274 extern void btm_ble_initiate_select_conn(BD_ADDR bda); 283 extern tBLE_ADDR_TYPE btm_ble_map_bda_to_conn_bda(BD_ADDR bda);
|
btm_int.h | 49 #define BTM_ACL_IS_CONNECTED(bda) (btm_bda_to_acl (bda) != NULL) [all...] |
btm_inq.c | 1955 BD_ADDR bda; local [all...] |
btm_ble_bgconn.c | 473 void btm_ble_initiate_select_conn(BD_ADDR bda) 477 addr_type = btm_ble_map_bda_to_conn_bda(bda); 480 if (!L2CA_ConnectFixedChnl(L2CAP_ATT_CID, bda))
|
/external/bluetooth/bluedroid/stack/btu/ |
btu_hcif.c | 622 BD_ADDR bda; local 631 STREAM_TO_BDADDR (bda, p); 639 btm_sec_connected (bda, handle, status, enc_mode); 641 l2c_link_hci_conn_comp (status, handle, bda); 648 memcpy (esco_data.bd_addr, bda, BD_ADDR_LEN); 649 btm_sco_connected (status, bda, handle, &esco_data); 666 BD_ADDR bda; local 670 STREAM_TO_BDADDR (bda, p); 678 btm_sec_conn_req (bda, dc); 683 btm_sco_conn_req (bda, dc, link_type) 925 BD_ADDR bda; local 1649 BD_ADDR bda; local 1775 BD_ADDR bda; local 1798 BD_ADDR bda; local 1816 BD_ADDR bda; local 2188 BD_ADDR bda; local [all...] |
/external/bluetooth/bluedroid/bta/hh/ |
bta_hh_main.c | 199 bdcpy(cback_data.conn.bda, ((tBTA_HH_API_CONN *)p_data)->bd_addr); 209 bdcpy(cback_data.dev_info.bda, p_data->api_maintdev.bda); 329 index = bta_hh_find_cb(((tBTA_HH_MAINT_DEV *)p_msg)->bda);
|
bta_hh_utils.c | 59 UINT8 bta_hh_find_cb(BD_ADDR bda) 67 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) && 68 bdcmp(bda, bd_addr_null) != 0) ) 90 bdcpy(bta_hh_cb.kdev[xx].addr, bda);
|
bta_hh_int.h | 119 BD_ADDR bda; member in struct:__anon2075 222 extern UINT8 bta_hh_find_cb(BD_ADDR bda);
|
bta_hh_api.c | 337 void BTA_HhAddDev(BD_ADDR bda, tBTA_HH_ATTR_MASK attr_mask, UINT8 sub_class, 356 bdcpy(p_buf->bda, bda);
|
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gatts_act.c | 42 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason); 771 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, 780 APPL_TRACE_DEBUG6("bta_gatts_conn_cback bda :%02x-%02x-%02x-%02x-%02x-%02x ", 781 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); 790 memcpy(cb_data.conn.remote_bda, bda, BD_ADDR_LEN) [all...] |
bta_gattc_utils.c | 224 bdcpy(p_clcb->bda, remote_bda); 307 tBTA_GATTC_SERV * bta_gattc_find_srcb(BD_ADDR bda) 314 if (p_srcb->in_use && bdcmp(p_srcb->server_bda, bda) == 0) 346 tBTA_GATTC_SERV * bta_gattc_srcb_alloc(BD_ADDR bda) 381 bdcpy(p_tcb->server_bda, bda);
|
bta_gattc_act.c | 45 static void bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id, 427 p_clcb->bda, 631 GATT_GetConnectionInfor(p_data->hdr.layer_specific, &gatt_if, p_clcb->bda); 660 p_clcb->bda, 684 bdcpy(cb_data.close.remote_bda, p_clcb->bda); 716 bdcpy(cb_data.close.remote_bda, p_clcb->bda); [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_hh_api.h | 184 BD_ADDR bda; /* HID device bd address */ member in struct:__anon2239 445 BTA_API extern void BTA_HhAddDev(BD_ADDR bda, tBTA_HH_ATTR_MASK attr_mask,
|
/external/bluetooth/bluedroid/stack/bnep/ |
bnep_main.c | 825 UINT8 *bda = (UINT8 *)p_bda; local 827 (bda[0] | bda[1] | bda[2] | bda[3] | bda[4] | bda[5]) != 0)
|