/system/bt/btif/co/ |
H A D | bta_gattc_co.c | 35 static void getFilename(char *buffer, BD_ADDR bda) argument 38 , bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); 50 static bool cacheOpen(BD_ADDR bda, bool to_save) argument 53 getFilename(fname, bda); 61 static void cacheReset(BD_ADDR bda) argument [all...] |
H A D | bta_gatts_co.c | 68 void btif_gatts_add_bonded_dev_from_nv(BD_ADDR bda) argument 78 if (!memcmp(p_cb->srv_chg[i].bda, bda, sizeof(BD_ADDR))) 89 bdcpy(p_cb->srv_chg[p_cb->num_clients].bda, bda);
|
/system/bt/btif/src/ |
H A D | btif_debug_conn.c | 33 bt_bdaddr_t bda; member in struct:conn_event_t 67 void btif_debug_conn_state(const bt_bdaddr_t bda, const btif_debug_conn_state_t state, argument 75 memcpy(&evt->bda, &bda, sizeof(bt_bdaddr_t)); 93 bdaddr_to_string(&evt->bda, name_buffer, sizeof(name_buffer))
|
H A D | btif_profile_queue.c | 50 bt_bdaddr_t bda; member in struct:__anon677 120 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, btif_connect_cb_t connect_cb) { argument 123 memcpy(&node.bda, bda, sizeof(bt_bdaddr_t)); 160 return p_head->connect_cb(&p_head->bda, p_head->uuid);
|
H A D | btif_gatt_test.c | 103 static void btif_test_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, argument 107 UNUSED(bda);
|
H A D | btif_gatt_util.c | 311 bt_bdaddr_t bda; local 312 bdcpy(bda.address, bd_addr); 315 if ((btif_storage_get_ble_bonding_key(&bda, BTIF_DM_LE_KEY_PENC,
|
H A D | btif_gatt_server.c | 194 bt_bdaddr_t bda; local 195 bdcpy(bda.address, p_data->conn.remote_bda); 200 p_data->conn.conn_id, p_data->conn.server_if, TRUE, &bda); 206 bt_bdaddr_t bda; local 207 bdcpy(bda.address, p_data->conn.remote_bda); 210 p_data->conn.conn_id, p_data->conn.server_if, FALSE, &bda); 287 bt_bdaddr_t bda; local 288 bdcpy(bda.address, p_data->req_data.remote_bda); 291 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, 300 bt_bdaddr_t bda; local 316 bt_bdaddr_t bda; local [all...] |
/system/bt/stack/srvc/ |
H A D | srvc_eng_int.h | 41 BD_ADDR bda; member in struct:__anon1288 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);
|
H A D | srvc_eng.c | 35 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 69 UINT16 srvc_eng_find_conn_id_by_bd_addr(BD_ADDR bda) argument 76 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 94 tSRVC_CLCB *srvc_eng_find_clcb_by_bd_addr(BD_ADDR bda) argument 101 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 166 tSRVC_CLCB *srvc_eng_clcb_alloc (UINT16 conn_id, BD_ADDR bda) argument 178 memcpy (p_clcb->bda, bda, BD_ADDR_LE 353 srvc_eng_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) argument [all...] |
/system/bt/bta/gatt/ |
H A D | bta_gatts_act.c | 44 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, 914 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, argument 924 APPL_TRACE_DEBUG("bta_gatts_conn_cback bda :%02x-%02x-%02x-%02x-%02x-%02x ", 925 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]); 928 bdcpy(bdaddr.address, bda); [all...] |
H A D | bta_gattc_api.c | 889 ** bda - target GATT server. 896 BD_ADDR bda, 914 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && 931 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN); 963 ** bda - target GATT server. 970 BD_ADDR bda, 988 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && 992 __func__, bda[0], bda[1], bda[ 895 BTA_GATTC_RegisterForNotifications(tBTA_GATTC_IF client_if, BD_ADDR bda, tBTA_GATTC_CHAR_ID *p_char_id) argument 969 BTA_GATTC_DeregisterForNotifications(tBTA_GATTC_IF client_if, BD_ADDR bda, tBTA_GATTC_CHAR_ID *p_char_id) argument [all...] |
H A D | bta_gattc_act.c | 51 static void bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id, 59 static void bta_gattc_enc_cmpl_cback(tGATT_IF gattc_if, BD_ADDR bda); 485 p_clcb->bda, 505 p_clcb->bda, 570 uint8_t *bda = (uint8_t *)p_data->remote_bda; local 573 __func__, bda[0], bda[1], bda[2], bda[3], bda[ 1808 bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) argument 1853 bta_gattc_enc_cmpl_cback(tGATT_IF gattc_if, BD_ADDR bda) argument [all...] |
H A D | bta_gattc_utils.c | 180 bdcmp(p_clcb->bda, remote_bda) == 0) 234 bdcpy(p_clcb->bda, remote_bda); 327 tBTA_GATTC_SERV * bta_gattc_find_srcb(BD_ADDR bda) argument 334 if (p_srcb->in_use && bdcmp(p_srcb->server_bda, bda) == 0) 349 tBTA_GATTC_SERV * bta_gattc_find_srvr_cache(BD_ADDR bda) argument 356 if (bdcmp(p_srcb->server_bda, bda) == 0) 388 tBTA_GATTC_SERV * bta_gattc_srcb_alloc(BD_ADDR bda) argument 423 bdcpy(p_tcb->server_bda, bda);
|
/system/bt/bta/hh/ |
H A D | bta_hh_api.c | 356 void BTA_HhAddDev(BD_ADDR bda, tBTA_HH_ATTR_MASK attr_mask, UINT8 sub_class, argument 375 bdcpy(p_buf->bda, bda);
|
H A D | bta_hh_utils.c | 63 UINT8 bta_hh_find_cb(BD_ADDR bda) argument 71 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) && 72 bdcmp(bda, bd_addr_null) != 0) ) 94 bdcpy(bta_hh_cb.kdev[xx].addr, bda);
|
/system/bt/stack/gatt/ |
H A D | gatt_attr.c | 44 static void gatt_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 113 static tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_bd_addr(BD_ADDR bda, tBT_TRANSPORT transport) argument 121 p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 137 tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda, tBT_TRANSPORT tranport) argument 150 memcpy (p_clcb->bda, bda, BD_ADDR_LEN); 232 static void gatt_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, argument 239 (bda[0]<<24)+(bda[ [all...] |
H A D | gatt_main.c | 1019 void gatt_add_a_bonded_dev_for_srv_chg (BD_ADDR bda) argument 1024 memcpy(srv_chg_clt.bda, bda, BD_ADDR_LEN); 1028 memcpy(req.srv_chg.bda, bda, BD_ADDR_LEN); 1089 gatt_send_srv_chg_ind(p_srv_chg_clt->bda); 1155 BD_ADDR bda; local 1166 while (gatt_find_the_connected_bda(start_idx, bda, &found_idx, &transport)) 1173 gatt_send_srv_chg_ind(bda);
|
H A D | gatt_api.c | 1337 BD_ADDR bda; local 1346 while (gatt_find_the_connected_bda(start_idx, bda, &found_idx, &transport)) 1348 p_tcb = gatt_find_tcb_by_addr(bda, transport); 1352 (*p_reg->app_cb.p_conn_cb)(gatt_if, bda, conn_id, TRUE, 0, transport);
|
/system/bt/stack/btm/ |
H A D | btm_ble_bgconn.c | 561 void btm_ble_initiate_select_conn(BD_ADDR bda) argument 566 if (!L2CA_ConnectFixedChnl(L2CAP_ATT_CID, bda))
|
H A D | btm_sco.c | 141 static void btm_esco_conn_rsp (UINT16 sco_inx, UINT8 hci_status, BD_ADDR bda, argument 163 if (!btsnd_hcic_reject_conn (bda, hci_status)) 170 if (!btsnd_hcic_reject_esco_conn (bda, hci_status)) 214 if (btsnd_hcic_accept_esco_conn (bda, p_setup->tx_bw, p_setup->rx_bw, 802 void btm_sco_conn_req (BD_ADDR bda, DEV_CLASS dev_class, UINT8 link_type) argument 817 !memcmp (p->esco.data.bd_addr, bda, BD_ADDR_LEN); 825 memcpy (p->esco.data.bd_addr, bda, BD_ADDR_LEN); 840 btm_esco_conn_rsp(xx, HCI_ERR_HOST_REJECT_RESOURCES, bda, NULL); 844 btm_esco_conn_rsp(xx, HCI_SUCCESS, bda, NULL); 849 memcpy(evt_data.bd_addr, bda, BD_ADDR_LE 900 btm_sco_connected(UINT8 hci_status, BD_ADDR bda, UINT16 hci_handle, tBTM_ESCO_DATA *p_esco_data) argument 1068 btm_remove_sco_links(BD_ADDR bda) argument 1137 btm_sco_acl_removed(BD_ADDR bda) argument [all...] |
/system/bt/stack/gap/ |
H A D | gap_ble.c | 46 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 72 tGAP_CLCB *gap_find_clcb_by_bd_addr(BD_ADDR bda) argument 79 if (p_clcb->in_use && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 122 tGAP_CLCB *gap_clcb_alloc (BD_ADDR bda) argument 133 memcpy (p_clcb->bda, bda, BD_ADDR_LEN); 157 (*p_q->p_cback)(FALSE, p_clcb->bda, 0, NULL); 558 (* p_cback)(status, p_clcb->bda, len, (char *)p_name); 581 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT1 argument [all...] |
H A D | gap_int.h | 123 BD_ADDR bda; member in struct:__anon857
|
/system/bt/stack/l2cap/ |
H A D | l2c_ble.c | 238 void l2cble_notify_le_connection (BD_ADDR bda) argument 240 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); 241 tACL_CONN *p_acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE) ; 263 void l2cble_scanner_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE type, argument 268 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev (bda); 276 p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_LE); 281 p_lcb = l2cu_allocate_lcb (bda, FALSE, BT_TRANSPORT_LE); 350 btm_acl_created (bda, NULL, p_dev_rec->sec_bd_name, handle, p_lcb->link_role, BT_TRANSPORT_LE); 372 void l2cble_advertiser_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE type, argument 384 p_lcb = l2cu_find_lcb_by_bd_addr (bda, BT_TRANSPORT_L 454 l2cble_conn_comp(UINT16 handle, UINT8 role, BD_ADDR bda, tBLE_ADDR_TYPE type, UINT16 conn_interval, UINT16 conn_latency, UINT16 conn_timeout) argument [all...] |
/system/bt/test/suite/support/ |
H A D | gatt.c | 79 void btgattc_scan_result_cb(bt_bdaddr_t* bda, int rssi, uint8_t* adv_data) { argument 83 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) { argument 87 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) { argument 139 void btgattc_remote_rssi_cb(int client_if,bt_bdaddr_t* bda, int rssi, int status) { argument 156 void btgatts_connection_cb(int conn_id, int server_if, int connected, bt_bdaddr_t *bda) { argument 159 remote_bd_addr.address[i] = bda->address[i]; 216 void btgatts_request_read_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int attr_handle, int offset, bool is_long) { argument 220 void btgatts_request_write_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int attr_handle, int offset, int length, bool need_rsp, bool is_prep, uint8_t* value) { argument 224 void btgatts_request_exec_write_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, int exec_write) { argument
|
/system/bt/stack/hcic/ |
H A D | hciblecmds.c | 352 BOOLEAN btsnd_hcic_ble_add_white_list (UINT8 addr_type, BD_ADDR bda) argument 369 BDADDR_TO_STREAM (pp, bda); 375 BOOLEAN btsnd_hcic_ble_remove_from_white_list (UINT8 addr_type, BD_ADDR bda) argument 392 BDADDR_TO_STREAM (pp, bda);
|