• Home
  • Raw
  • Download

Lines Matching refs:gatt_if

43 static void bta_gatts_conn_cback(tGATT_IF gatt_if, const RawAddress& bda,
51 static void bta_gatts_phy_update_cback(tGATT_IF gatt_if, uint16_t conn_id,
54 static void bta_gatts_conn_update_cback(tGATT_IF gatt_if, uint16_t conn_id,
158 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_api_disable()
211 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = in bta_gatts_register()
214 if (!p_cb->rcb[first_unuse].gatt_if) { in bta_gatts_register()
220 p_buf->server_if = p_cb->rcb[first_unuse].gatt_if; in bta_gatts_register()
271 p_cb->rcb[i].gatt_if == p_msg->api_dereg.server_if) { in bta_gatts_deregister()
276 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_deregister()
306 cb_data.srvc_oper.server_if = p_rcb->gatt_if; in bta_gatts_delete_service()
309 if (GATTS_DeleteService(p_rcb->gatt_if, &p_srvc_cb->service_uuid, in bta_gatts_delete_service()
335 cb_data.srvc_oper.server_if = p_rcb->gatt_if; in bta_gatts_stop_service()
372 tGATT_IF gatt_if; in bta_gatts_indicate_handle() local
382 &gatt_if, remote_bda, &transport)) { in bta_gatts_indicate_handle()
383 p_rcb = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_indicate_handle()
436 if (GATT_Connect(p_rcb->gatt_if, p_msg->api_open.remote_bda, in bta_gatts_open()
441 if (GATT_GetConnIdIfConnected(p_rcb->gatt_if, p_msg->api_open.remote_bda, in bta_gatts_open()
472 if (!GATT_CancelConnect(p_rcb->gatt_if, p_msg->api_cancel_open.remote_bda, in bta_gatts_cancel_open()
500 tGATT_IF gatt_if; in bta_gatts_close() local
504 if (GATT_GetConnectionInfor(p_msg->hdr.layer_specific, &gatt_if, remote_bda, in bta_gatts_close()
513 p_rcb = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_close()
542 tGATT_IF gatt_if; in bta_gatts_send_request_cback() local
547 if (GATT_GetConnectionInfor(conn_id, &gatt_if, cb_data.req_data.remote_bda, in bta_gatts_send_request_cback()
549 p_rcb = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_send_request_cback()
567 LOG(ERROR) << "connection request on gatt_if=" << +gatt_if in bta_gatts_send_request_cback()
584 static void bta_gatts_conn_cback(tGATT_IF gatt_if, const RawAddress& bdaddr, in bta_gatts_conn_cback() argument
592 VLOG(1) << __func__ << " bda=" << bdaddr << " gatt_if= " << gatt_if in bta_gatts_conn_cback()
600 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_conn_cback()
612 cb_data.conn.server_if = gatt_if; in bta_gatts_conn_cback()
617 LOG(ERROR) << __func__ << " server_if=" << +gatt_if << " not found"; in bta_gatts_conn_cback()
621 static void bta_gatts_phy_update_cback(tGATT_IF gatt_if, uint16_t conn_id, in bta_gatts_phy_update_cback() argument
624 tBTA_GATTS_RCB* p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_phy_update_cback()
626 LOG(ERROR) << __func__ << ": server_if=" << +gatt_if << " not found"; in bta_gatts_phy_update_cback()
632 cb_data.phy_update.server_if = gatt_if; in bta_gatts_phy_update_cback()
639 static void bta_gatts_conn_update_cback(tGATT_IF gatt_if, uint16_t conn_id, in bta_gatts_conn_update_cback() argument
642 tBTA_GATTS_RCB* p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_conn_update_cback()
644 LOG(ERROR) << __func__ << ": server_if=" << +gatt_if << " not found"; in bta_gatts_conn_update_cback()
650 cb_data.conn_update.server_if = gatt_if; in bta_gatts_conn_update_cback()
669 tGATT_IF gatt_if; in bta_gatts_cong_cback() local
673 if (GATT_GetConnectionInfor(conn_id, &gatt_if, cb_data.req_data.remote_bda, in bta_gatts_cong_cback()
675 p_rcb = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_cong_cback()