Lines Matching refs:client_if
144 if (!bta_hh_le_is_hh_gatt_if(bta_gattc_cb.cl_rcb[i].client_if)) { in bta_gattc_disable()
160 void bta_gattc_start_if(uint8_t client_if) { in bta_gattc_start_if() argument
161 if (!bta_gattc_cl_get_regcb(client_if)) { in bta_gattc_start_if()
162 LOG(ERROR) << "Unable to start app.: Unknown client_if=" << +client_if; in bta_gattc_start_if()
166 GATT_StartIf(client_if); in bta_gattc_start_if()
173 uint8_t client_if = 0; in bta_gattc_register() local
183 if ((bta_gattc_cb.cl_rcb[i].client_if = in bta_gattc_register()
193 client_if = bta_gattc_cb.cl_rcb[i].client_if; in bta_gattc_register()
196 base::Bind(&bta_gattc_start_if, client_if)); in bta_gattc_register()
204 if (!cb.is_null()) cb.Run(client_if, status); in bta_gattc_register()
219 if (bta_gattc_cb.bg_track[i].cif_mask & (1 << (p_clreg->client_if - 1))) { in bta_gattc_deregister()
220 bta_gattc_mark_bg_conn(p_clreg->client_if, in bta_gattc_deregister()
222 GATT_CancelConnect(p_clreg->client_if, in bta_gattc_deregister()
250 tBTA_GATTC_RCB* p_clreg = bta_gattc_cl_get_regcb(p_msg->api_conn.client_if); in bta_gattc_process_api_open()
253 << ": Failed, unknown client_if=" << +p_msg->api_conn.client_if; in bta_gattc_process_api_open()
263 p_msg->api_conn.client_if, p_msg->api_conn.remote_bda, in bta_gattc_process_api_open()
286 p_msg->api_cancel_conn.client_if, p_msg->api_cancel_conn.remote_bda, in bta_gattc_process_api_open_cancel()
296 bta_gattc_cl_get_regcb(p_msg->api_cancel_conn.client_if); in bta_gattc_process_api_open_cancel()
306 void bta_gattc_process_enc_cmpl(tGATT_IF client_if, const RawAddress& bda) { in bta_gattc_process_enc_cmpl() argument
307 tBTA_GATTC_RCB* p_clreg = bta_gattc_cl_get_regcb(client_if); in bta_gattc_process_enc_cmpl()
314 cb_data.enc_cmpl.client_if = client_if; in bta_gattc_process_enc_cmpl()
355 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, true, in bta_gattc_open()
366 p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, in bta_gattc_open()
378 if (!bta_gattc_mark_bg_conn(p_data->client_if, p_data->remote_bda, true)) { in bta_gattc_init_bk_conn()
385 if (!GATT_Connect(p_data->client_if, p_data->remote_bda, false, in bta_gattc_init_bk_conn()
396 if (!GATT_GetConnIdIfConnected(p_data->client_if, p_data->remote_bda, in bta_gattc_init_bk_conn()
402 p_data->client_if, p_data->remote_bda, GATT_TRANSPORT_LE); in bta_gattc_init_bk_conn()
419 if (bta_gattc_mark_bg_conn(p_data->client_if, p_data->remote_bda, false)) { in bta_gattc_cancel_bk_conn()
420 if (GATT_CancelConnect(p_data->client_if, p_data->remote_bda, false)) { in bta_gattc_cancel_bk_conn()
426 p_clreg = bta_gattc_cl_get_regcb(p_data->client_if); in bta_gattc_cancel_bk_conn()
448 if (GATT_CancelConnect(p_clcb->p_rcb->client_if, in bta_gattc_cancel_open()
519 cb_data.close.client_if = p_clcb->p_rcb->client_if; in bta_gattc_close_fail()
540 cb_data.close.client_if = p_clcb->p_rcb->client_if; in bta_gattc_close()
1017 tGATT_IF client_if = p_clreg->client_if; in bta_gattc_deregister_cmpl() local
1023 GATT_Deregister(p_clreg->client_if); in bta_gattc_deregister_cmpl()
1026 cb_data.reg_oper.client_if = client_if; in bta_gattc_deregister_cmpl()
1059 p_buf->int_conn.client_if = gattc_if; in bta_gattc_conn_cback()