Lines Matching refs:bda
120 req.srv_chg.bda = bd_addr; in gatt_delete_dev_from_srv_chg_clt_list()
249 bool gatt_find_the_connected_bda(uint8_t start_idx, RawAddress& bda, in gatt_find_the_connected_bda() argument
258 bda = gatt_cb.tcb[i].peer_bda; in gatt_find_the_connected_bda()
262 VLOG(1) << " bda :" << bda; in gatt_find_the_connected_bda()
310 tGATTS_SRV_CHG* gatt_is_bda_in_the_srv_chg_clt_list(const RawAddress& bda) { in gatt_is_bda_in_the_srv_chg_clt_list() argument
312 VLOG(1) << __func__ << ": " << bda; in gatt_is_bda_in_the_srv_chg_clt_list()
320 if (bda == p_buf->bda) { in gatt_is_bda_in_the_srv_chg_clt_list()
338 bool gatt_is_bda_connected(const RawAddress& bda) { in gatt_is_bda_connected() argument
343 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].peer_bda == bda) { in gatt_is_bda_connected()
360 uint8_t gatt_find_i_tcb_by_addr(const RawAddress& bda, in gatt_find_i_tcb_by_addr() argument
365 if (gatt_cb.tcb[i].peer_bda == bda && in gatt_find_i_tcb_by_addr()
400 tGATT_TCB* gatt_find_tcb_by_addr(const RawAddress& bda, in gatt_find_tcb_by_addr() argument
405 i = gatt_find_i_tcb_by_addr(bda, transport); in gatt_find_tcb_by_addr()
420 tGATT_TCB* gatt_allocate_tcb_by_bdaddr(const RawAddress& bda, in gatt_allocate_tcb_by_bdaddr() argument
423 uint8_t j = gatt_find_i_tcb_by_addr(bda, transport); in gatt_allocate_tcb_by_bdaddr()
439 p_tcb->peer_bda = bda; in gatt_allocate_tcb_by_bdaddr()
973 uint8_t gatt_num_clcb_by_bd_addr(const RawAddress& bda) { in gatt_num_clcb_by_bd_addr() argument
977 if (gatt_cb.clcb[i].in_use && gatt_cb.clcb[i].p_tcb->peer_bda == bda) num++; in gatt_num_clcb_by_bd_addr()
1111 bool gatt_cancel_open(tGATT_IF gatt_if, const RawAddress& bda) { in gatt_cancel_open() argument
1112 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bda, BT_TRANSPORT_LE); in gatt_cancel_open()
1124 connection_manager::direct_connect_remove(gatt_if, bda); in gatt_cancel_open()
1245 void gatt_cleanup_upon_disc(const RawAddress& bda, uint16_t reason, in gatt_cleanup_upon_disc() argument
1249 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bda, transport); in gatt_cleanup_upon_disc()
1281 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, false, reason, in gatt_cleanup_upon_disc()