/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,
|
btif_hh.h | 104 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask);
|
/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); 64 UINT16 gatt_profile_find_conn_id_by_bd_addr(BD_ADDR bda) 71 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 89 tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_bd_addr(BD_ADDR bda) 96 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 114 tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda) 126 memcpy (p_clcb->bda, bda, BD_ADDR_LEN) [all...] |
gatt_utils.c | 136 memcpy(req.srv_chg.bda, bd_addr, BD_ADDR_LEN); 700 ** Description This function find the connected bda 705 BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx) 715 memcpy( bda, gatt_cb.tcb[i].peer_bda, BD_ADDR_LEN); 718 GATT_TRACE_DEBUG6("gatt_find_the_connected_bda bda :%02x-%02x-%02x-%02x-%02x-%02x", 719 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]) [all...] |
gatt_int.h | 453 BD_ADDR bda; member in struct:__anon3580 537 extern void gatt_add_a_bonded_dev_for_srv_chg (BD_ADDR bda); 540 extern UINT16 gatt_profile_find_conn_id_by_bd_addr(BD_ADDR bda); 541 extern tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_bd_addr(BD_ADDR bda); 543 extern tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda); 571 extern tGATTS_SRV_CHG *gatt_is_bda_in_the_srv_chg_clt_list (BD_ADDR bda); 573 extern BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx); 614 extern BOOLEAN gatt_cancel_open(tGATT_IF gatt_if, BD_ADDR bda); 633 extern UINT8 gatt_num_clcb_by_bd_addr(BD_ADDR bda); 635 extern tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda); [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_hh.c | 259 BD_ADDR* bda; local 281 bda = (BD_ADDR*) (&p_dev->bd_addr); 282 BTA_HhSendData(p_dev->dev_handle, *bda, 470 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask) 474 if (memcmp(&(btif_hh_cb.added_devices[i].bd_addr), &bda, BD_ADDR_LEN) == 0) { 476 bda.address[0], bda.address[1], bda.address[2], bda.address[3], bda.address[4], bda.address[5]) 637 BD_ADDR *bda = (BD_ADDR*)bd_addr; local 675 BD_ADDR *bda = (BD_ADDR*)bd_addr; local 702 BD_ADDR *bda = (BD_ADDR*)bd_addr; local 961 BD_ADDR bda; local 1345 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1398 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1431 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1466 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1500 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1543 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1589 BD_ADDR* bda = (BD_ADDR*) bd_addr; local 1661 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));
|
btif_gatt_util.c | 276 bt_bdaddr_t bda; local 277 bdcpy(bda.address, bd_addr); 279 btif_dm_remove_bond(&bda); 287 bt_bdaddr_t bda; local 288 bdcpy(bda.address, bd_addr); 290 if ((btif_storage_get_ble_bonding_key(&bda, BTIF_DM_LE_KEY_PENC, 308 bt_bdaddr_t bda; 309 bdcpy(bda.address, bd_addr); 312 bd2str(&bda, &bd_addr_str);
|
btif_gatt_server.c | 192 bt_bdaddr_t bda; local 193 bdcpy(bda.address, p_data->conn.remote_bda); 198 p_data->conn.conn_id, p_data->conn.server_if, TRUE, &bda); 204 bt_bdaddr_t bda; local 205 bdcpy(bda.address, p_data->conn.remote_bda); 208 p_data->conn.conn_id, p_data->conn.server_if, FALSE, &bda); 285 bt_bdaddr_t bda; local 286 bdcpy(bda.address, p_data->req_data.remote_bda); 289 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, 298 bt_bdaddr_t bda; local 314 bt_bdaddr_t bda; local [all...] |
/external/bluetooth/bluedroid/btif/co/ |
bta_gatts_co.c | 91 if (!memcmp(p_cb->srv_chg[i].bda, p_req->srv_chg.bda, sizeof(BD_ADDR))) 107 if (!memcmp(p_cb->srv_chg[i].bda, p_req->srv_chg.bda, sizeof(BD_ADDR))) 158 void btif_gatts_add_bonded_dev_from_nv(BD_ADDR bda) 168 if (!memcmp(p_cb->srv_chg[i].bda, bda, sizeof(BD_ADDR))) 179 bdcpy(p_cb->srv_chg[p_cb->num_clients].bda, bda);
|
/external/bluetooth/bluedroid/stack/srvc/ |
srvc_eng.c | 33 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason); 65 UINT16 srvc_eng_find_conn_id_by_bd_addr(BD_ADDR bda) 72 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 90 tSRVC_CLCB *srvc_eng_find_clcb_by_bd_addr(BD_ADDR bda) 97 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 162 tSRVC_CLCB *srvc_eng_clcb_alloc (UINT16 conn_id, BD_ADDR bda) 174 memcpy (p_clcb->bda, bda, BD_ADDR_LEN) [all...] |
srvc_eng_int.h | 41 BD_ADDR bda; member in struct:__anon3992 75 extern tSRVC_CLCB *srvc_eng_find_clcb_by_bd_addr(BD_ADDR bda); 76 extern UINT16 srvc_eng_find_conn_id_by_bd_addr(BD_ADDR bda);
|
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_gatt.cpp | 127 static void jstr2bdaddr(JNIEnv* env, bt_bdaddr_t *bda, jstring address) 130 if (c_bda != NULL && bda != NULL && strlen(c_bda) == 17) 132 bd_addr_str_to_addr(c_bda, bda->address); 208 void btgattc_scan_result_cb(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data) 214 bda->address[0], bda->address[1], bda->address[2], 215 bda->address[3], bda->address[4], bda->address[5]) [all...] |
/external/bluetooth/bluedroid/stack/gap/ |
gap_ble.c | 59 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason); 83 tGAP_CLCB *gap_find_clcb_by_bd_addr(BD_ADDR bda) 90 if (p_clcb->in_use && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 133 tGAP_CLCB *gap_clcb_alloc (UINT16 conn_id, BD_ADDR bda) 145 memcpy (p_clcb->bda, bda, BD_ADDR_LEN); 161 tGAP_CLCB *gap_find_alloc_clcb (UINT16 conn_id, BD_ADDR bda) 173 memcpy (p_clcb->bda, bda, BD_ADDR_LEN) [all...] |
/external/llvm/test/Object/ |
archive-long-index.test | 17 CHECKIDX: bda in abcdefghijklmnopqrstuvwxyz2.o 21 CHECKIDX: U bda 38 CHECKIDX: 00000000 T bda
|
/hardware/libhardware/include/hardware/ |
bt_gatt_server.h | 52 bt_bdaddr_t *bda); 86 typedef void (*request_read_callback)(int conn_id, int trans_id, bt_bdaddr_t *bda, 93 typedef void (*request_write_callback)(int conn_id, int trans_id, bt_bdaddr_t *bda, 99 bt_bdaddr_t *bda, int exec_write);
|
bt_gatt_client.h | 63 bt_bdaddr_t bda; member in struct:__anon33730 88 typedef void (*scan_result_callback)(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data); 91 typedef void (*connect_callback)(int conn_id, int status, int client_if, bt_bdaddr_t* bda); 95 int client_if, bt_bdaddr_t* bda); 151 typedef void (*read_remote_rssi_callback)(int client_if, bt_bdaddr_t* bda,
|
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_ble.c | 59 L2CAP_TRACE_WARNING4 ("L2CA_CancelBleConnectReq - different BDA Connecting: %08x%04x Cancel: %08x%04x", 323 void l2cble_scanner_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE type, 327 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev (bda); 335 p_lcb = l2cu_find_lcb_by_bd_addr (bda); 340 p_lcb = l2cu_allocate_lcb (bda, FALSE); 400 btm_acl_created (bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, TRUE); 424 void l2cble_advertiser_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE type, 431 p_lcb = l2cu_find_lcb_by_bd_addr (bda); 436 p_lcb = l2cu_allocate_lcb (bda, FALSE); 463 p_dev_rec = btm_find_or_alloc_dev (bda); [all...] |
/external/bluetooth/bluedroid/stack/btu/ |
btu_hcif.c | 634 BD_ADDR bda; local 643 STREAM_TO_BDADDR (bda, p); 651 btm_sec_connected (bda, handle, status, enc_mode); 653 l2c_link_hci_conn_comp (status, handle, bda); 660 memcpy (esco_data.bd_addr, bda, BD_ADDR_LEN); 661 btm_sco_connected (status, bda, handle, &esco_data); 678 BD_ADDR bda; local 682 STREAM_TO_BDADDR (bda, p); 690 btm_sec_conn_req (bda, dc); 695 btm_sco_conn_req (bda, dc, link_type) 945 BD_ADDR bda; local 1725 BD_ADDR bda; local 1851 BD_ADDR bda; local 1874 BD_ADDR bda; local 1892 BD_ADDR bda; local [all...] |
/external/bluetooth/bluedroid/stack/btm/ |
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); 792 void btm_sco_conn_req (BD_ADDR bda, DEV_CLASS dev_class, UINT8 link_type) 807 && (!memcmp (p->esco.data.bd_addr, bda, BD_ADDR_LEN))) 813 memcpy (p->esco.data.bd_addr, bda, BD_ADDR_LEN); 828 btm_esco_conn_rsp(xx, HCI_ERR_HOST_REJECT_RESOURCES, bda, NULL); 832 btm_esco_conn_rsp(xx, HCI_SUCCESS, bda, NULL) [all...] |
btm_ble_int.h | 265 extern void btm_ble_connected (UINT8 *bda, UINT16 handle, UINT8 enc_mode, UINT8 role, tBLE_ADDR_TYPE addr_type, BOOLEAN addr_matched); 276 extern void btm_ble_ltk_request_reply(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk); 280 extern BOOLEAN btm_ble_start_encrypt(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk); 307 extern void btm_ble_initiate_select_conn(BD_ADDR bda); 313 extern void btm_ble_update_mode_operation(UINT8 link_role, BD_ADDR bda, BOOLEAN conn_ccancel);
|
btm_ble_gap.c | 51 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p); 259 p_cb->direct_bda.bda, 446 memcpy(p_addr_ptr, p_cb->direct_bda.bda, BD_ADDR_LEN); 1666 BD_ADDR bda; local [all...] |
btm_acl.c | 130 ** Description This function returns the FIRST acl_db entry for the passed BDA. 132 ** Returns Returns pointer to the ACL DB for the requested BDA if found. 136 tACL_CONN *btm_bda_to_acl (BD_ADDR bda) 140 if (bda) 144 if ((p->in_use) && (!memcmp (p->remote_addr, bda, BD_ADDR_LEN))) 191 void btm_acl_created (BD_ADDR bda, DEV_CLASS dc, BD_NAME bdn, 202 p = btm_bda_to_acl(bda); 207 btm_save_remote_device_role(bda, link_role); 212 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]) 3274 BD_ADDR bda; local [all...] |
btm_ble.c | 39 extern void smp_link_encrypted(BD_ADDR bda, UINT8 encr_enable); 40 extern BOOLEAN smp_proc_ltk_request(BD_ADDR bda); 172 BTM_TRACE_DEBUG3 ("BTM_SecAddLeKey() BDA: %08x%04x, Type: 0x%02x", 1568 BD_ADDR bda; local [all...] |
/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); 879 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, 888 APPL_TRACE_DEBUG6("bta_gatts_conn_cback bda :%02x-%02x-%02x-%02x-%02x-%02x ", 889 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); 896 if (!BTM_IsBleLink(bda)) [all...] |