Lines Matching defs:client_if
146 if (!bta_hh_le_is_hh_gatt_if(p_cb->cl_rcb[i].client_if)) {
195 if ((p_app_uuid == NULL) || (p_cb->cl_rcb[i].client_if = GATT_Register(p_app_uuid, &bta_gattc_cl_cback)) == 0)
207 cb_data.reg_oper.client_if = p_cb->cl_rcb[i].client_if;
212 p_buf->client_if = p_cb->cl_rcb[i].client_if;
219 GATT_Deregister(p_cb->cl_rcb[i].client_if);
250 if (bta_gattc_cl_get_regcb(p_msg->int_start_if.client_if) !=NULL )
252 GATT_StartIf(p_msg->int_start_if.client_if);
256 APPL_TRACE_ERROR1("Unable to start app.: Unknown interface =%d",p_msg->int_start_if.client_if );
280 if (p_cb->bg_track[i].cif_mask & (1 <<(p_clreg->client_if - 1)))
282 bta_gattc_mark_bg_conn(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE, FALSE);
283 GATT_CancelConnect(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE);
285 if (p_cb->bg_track[i].cif_adv_mask & (1 <<(p_clreg->client_if - 1)))
287 bta_gattc_mark_bg_conn(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE, TRUE);
328 tBTA_GATTC_RCB *p_clreg = bta_gattc_cl_get_regcb(p_msg->api_conn.client_if);
334 if ((p_clcb = bta_gattc_find_alloc_clcb(p_msg->api_conn.client_if,
356 APPL_TRACE_ERROR1("bta_gattc_process_api_open Failed, unknown client_if: %d",
357 p_msg->api_conn.client_if);
378 if ((p_clcb = bta_gattc_find_clcb_by_cif(p_msg->api_cancel_conn.client_if,
387 p_clreg = bta_gattc_cl_get_regcb(p_msg->api_cancel_conn.client_if);
472 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, TRUE))
481 if (GATT_GetConnIdIfConnected(p_clcb->p_rcb->client_if,
508 if (bta_gattc_mark_bg_conn(p_data->client_if
511 if (!GATT_Connect(p_data->client_if, p_data->remote_bda, FALSE))
521 if (GATT_GetConnIdIfConnected(p_data->client_if,
525 if ((p_clcb = bta_gattc_find_alloc_clcb(p_data->client_if, p_data->remote_bda)) != NULL)
559 if (bta_gattc_mark_bg_conn(p_data->client_if, p_data->remote_bda, FALSE, FALSE))
561 if (GATT_CancelConnect(p_data->client_if, p_data->remote_bda, FALSE))
570 p_clreg = bta_gattc_cl_get_regcb(p_data->client_if);
612 if (GATT_CancelConnect(p_clcb->p_rcb->client_if, p_data->api_cancel_conn.remote_bda, TRUE))
698 cb_data.close.client_if = p_clcb->p_rcb->client_if;
725 cb_data.close.client_if = p_clcb->p_rcb->client_if;
1582 tBTA_GATTC_IF client_if = p_clreg->client_if;
1588 GATT_Deregister(p_clreg->client_if);
1591 cb_data.reg_oper.client_if = client_if;
1627 p_buf->int_conn.client_if = gattc_if;
1951 gattc_data.api_conn.client_if = cif;
2000 tBTA_GATTC_RCB *p_clreg = bta_gattc_cl_get_regcb(p_msg->api_listen.client_if);
2003 cb_data.reg_oper.client_if = p_msg->api_listen.client_if;
2007 APPL_TRACE_ERROR1("bta_gattc_listen failed, unknown client_if: %d",
2008 p_msg->api_listen.client_if);
2012 if (bta_gattc_mark_bg_conn(p_msg->api_listen.client_if,
2017 if (!GATT_Listen(p_msg->api_listen.client_if,
2038 bta_gattc_find_clcb_by_cif(p_msg->api_listen.client_if, p_msg->api_listen.remote_bda) == NULL)
2041 bta_gattc_init_clcb_conn(p_msg->api_listen.client_if,
2050 bta_gattc_process_listen_all(p_msg->api_listen.client_if);