• Home
  • Raw
  • Download

Lines Matching refs:gatt_if

213                   tGATT_IF gatt_if) {  in gatt_connect()  argument
224 gatt_update_app_use_link_flag(gatt_if, p_tcb, true, true); in gatt_connect()
229 return acl_create_le_connection_with_id(gatt_if, rem_bda); in gatt_connect()
286 bool gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB* p_tcb, in gatt_update_app_hold_link_status() argument
292 auto ret = holders.insert(gatt_if); in gatt_update_app_hold_link_status()
294 VLOG(1) << "added gatt_if=" << +gatt_if; in gatt_update_app_hold_link_status()
296 VLOG(1) << "attempt to add already existing gatt_if=" << +gatt_if; in gatt_update_app_hold_link_status()
302 if (!holders.erase(gatt_if)) { in gatt_update_app_hold_link_status()
303 VLOG(1) << "attempt to remove nonexisting gatt_if=" << +gatt_if; in gatt_update_app_hold_link_status()
307 VLOG(1) << "removed gatt_if=" << +gatt_if; in gatt_update_app_hold_link_status()
322 void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb, in gatt_update_app_use_link_flag() argument
331 if (!gatt_update_app_hold_link_status(gatt_if, p_tcb, is_add)) return; in gatt_update_app_use_link_flag()
379 p_reg->gatt_if)) in gatt_act_connect()
392 LOG(ERROR) << "Max TCB for gatt_if [ " << +p_reg->gatt_if << "] reached."; in gatt_act_connect()
397 p_reg->gatt_if)) { in gatt_act_connect()
495 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_channel_congestion()
517 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_notify_phy_updated()
518 (*p_reg->app_cb.p_phy_update_cb)(p_reg->gatt_if, conn_id, tx_phy, rx_phy, in gatt_notify_phy_updated()
534 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_notify_conn_update()
535 (*p_reg->app_cb.p_conn_update_cb)(p_reg->gatt_if, conn_id, interval, in gatt_notify_conn_update()
764 if (apps.find(p_reg->gatt_if) != apps.end()) in gatt_send_conn_cback()
765 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, true, true); in gatt_send_conn_cback()
768 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_send_conn_cback()
769 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, p_tcb->peer_bda, conn_id, in gatt_send_conn_cback()