Home
last modified time | relevance | path

Searched refs:client_if (Results 1 – 11 of 11) sorted by relevance

/external/bluetooth/bluedroid/bta/gatt/
Dbta_gattc_act.c149 if (!bta_hh_le_is_hh_gatt_if(p_cb->cl_rcb[i].client_if)) { in bta_gattc_disable()
198 …if ((p_app_uuid == NULL) || (p_cb->cl_rcb[i].client_if = GATT_Register(p_app_uuid, &bta_gattc_cl_c… in bta_gattc_register()
210 cb_data.reg_oper.client_if = p_cb->cl_rcb[i].client_if; in bta_gattc_register()
215 p_buf->client_if = p_cb->cl_rcb[i].client_if; in bta_gattc_register()
222 GATT_Deregister(p_cb->cl_rcb[i].client_if); in bta_gattc_register()
253 if (bta_gattc_cl_get_regcb(p_msg->int_start_if.client_if) !=NULL ) in bta_gattc_start_if()
255 GATT_StartIf(p_msg->int_start_if.client_if); in bta_gattc_start_if()
259 … APPL_TRACE_ERROR1("Unable to start app.: Unknown interface =%d",p_msg->int_start_if.client_if ); in bta_gattc_start_if()
283 if (p_cb->bg_track[i].cif_mask & (1 <<(p_clreg->client_if - 1))) in bta_gattc_deregister()
285 … bta_gattc_mark_bg_conn(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE, FALSE); in bta_gattc_deregister()
[all …]
Dbta_gattc_utils.c124 tBTA_GATTC_RCB * bta_gattc_cl_get_regcb(UINT8 client_if) in bta_gattc_cl_get_regcb() argument
132 p_clrcb->client_if == client_if) in bta_gattc_cl_get_regcb()
166 tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda) in bta_gattc_find_clcb_by_cif() argument
174 p_clcb->p_rcb->client_if == client_if && in bta_gattc_find_clcb_by_cif()
212 tBTA_GATTC_CLCB * bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda) in bta_gattc_clcb_alloc() argument
229 p_clcb->p_rcb = bta_gattc_cl_get_regcb(client_if); in bta_gattc_clcb_alloc()
259 tBTA_GATTC_CLCB *bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda) in bta_gattc_find_alloc_clcb() argument
263 if ((p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda)) == NULL) in bta_gattc_find_alloc_clcb()
265 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda); in bta_gattc_find_alloc_clcb()
806 BOOLEAN bta_gattc_mark_bg_conn (tBTA_GATTC_IF client_if, BD_ADDR_PTR remote_bda_ptr, in bta_gattc_mark_bg_conn() argument
[all …]
Dbta_gattc_api.c123 void BTA_GATTC_AppDeregister(tBTA_GATTC_IF client_if) in BTA_GATTC_AppDeregister() argument
130 p_buf->client_if = client_if; in BTA_GATTC_AppDeregister()
150 void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_direct) in BTA_GATTC_Open() argument
158 p_buf->client_if = client_if; in BTA_GATTC_Open()
182 void BTA_GATTC_CancelOpen(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_direct) in BTA_GATTC_CancelOpen() argument
190 p_buf->client_if = client_if; in BTA_GATTC_CancelOpen()
867 tBTA_GATT_STATUS BTA_GATTC_RegisterForNotifications (tBTA_GATTC_IF client_if, in BTA_GATTC_RegisterForNotifications() argument
884 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL) in BTA_GATTC_RegisterForNotifications()
925 APPL_TRACE_ERROR1("Client_if: %d Not Registered", client_if); in BTA_GATTC_RegisterForNotifications()
946 tBTA_GATT_STATUS BTA_GATTC_DeregisterForNotifications (tBTA_GATTC_IF client_if, in BTA_GATTC_DeregisterForNotifications() argument
[all …]
Dbta_gattc_int.h108 tBTA_GATTC_IF client_if; member
118 tBTA_GATTC_IF client_if; member
187 tBTA_GATTC_IF client_if; member
195 tBTA_GATTC_IF client_if; member
204 tBTA_GATTC_IF client_if; member
347 … tBTA_GATTC_IF client_if; /* client interface with BTE stack for this application */ member
491 extern tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda);
493 extern tBTA_GATTC_CLCB * bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda);
495 extern tBTA_GATTC_CLCB * bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda);
496 extern tBTA_GATTC_RCB * bta_gattc_cl_get_regcb(UINT8 client_if);
[all …]
Dbta_gattc_main.c368 p_clreg = bta_gattc_cl_get_regcb(((tBTA_GATTC_DATA *)p_msg)->api_dereg.client_if); in bta_gattc_hdl_event()
/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_client.c123 uint8_t client_if; member
331 , p_data->reg_oper.client_if in btif_gattc_upstreams_evt()
439 , p_data->open.status, p_data->open.client_if, &bda); in btif_gattc_upstreams_evt()
451 , p_data->status, p_data->close.client_if, &bda); in btif_gattc_upstreams_evt()
500 HAL_CBACK(bt_gatt_callbacks, client->read_remote_rssi_cb, p_btif_cb->client_if, in btif_gattc_upstreams_evt()
509 , p_data->reg_oper.client_if in btif_gattc_upstreams_evt()
575 btif_cb.client_if = rssi_request_client_if; in btm_read_rssi_cb()
608 BTA_GATTC_AppDeregister(p_cb->client_if); in btgattc_handle_event()
635 BTA_GATTC_Open(p_cb->client_if, p_cb->bd_addr.address, p_cb->is_direct); in btgattc_handle_event()
644 BTA_GATTC_CancelOpen(p_cb->client_if, p_cb->bd_addr.address, TRUE); in btgattc_handle_event()
[all …]
/external/bluetooth/bluedroid/bta/include/
Dbta_gatt_api.h258 tBTA_GATTC_IF client_if; member
319 tBTA_GATTC_IF client_if; member
327 tBTA_GATTC_IF client_if; member
347 tBTA_GATTC_IF client_if; member
355 tBTA_GATTC_IF client_if; member
622 BTA_API extern void BTA_GATTC_AppDeregister (tBTA_GATTC_IF client_if);
638 BTA_API extern void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_direct);
654 BTA_API extern void BTA_GATTC_CancelOpen(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_di…
928 BTA_API extern tBTA_GATT_STATUS BTA_GATTC_RegisterForNotifications (tBTA_GATTC_IF client_if,
946 BTA_API extern tBTA_GATT_STATUS BTA_GATTC_DeregisterForNotifications (tBTA_GATTC_IF client_if,
[all …]
/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_int.h386 extern BOOLEAN bta_hh_le_is_hh_gatt_if(tBTA_GATTC_IF client_if);
Dbta_hh_le.c236 bta_hh_cb.gatt_if = p_reg->client_if; in bta_hh_le_register_cmpl()
256 BOOLEAN bta_hh_le_is_hh_gatt_if(tBTA_GATTC_IF client_if) in bta_hh_le_is_hh_gatt_if() argument
258 return (bta_hh_cb.gatt_if == client_if); in bta_hh_le_is_hh_gatt_if()
1277 p_buf == NULL || p_buf->le_enc_cmpl.client_if != bta_hh_cb.gatt_if) in bta_hh_le_notify_enc_cmpl()
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_act.c5084 if (bta_dm_search_cb.client_if == BTA_GATTS_INVALID_IF) in bta_dm_gattc_register()
5284 BTA_GATTC_Open(bta_dm_search_cb.client_if, bd_addr, TRUE); in btm_dm_start_gatt_discovery()
5300 BTA_GATTC_CancelOpen(bta_dm_search_cb.client_if, bd_addr, TRUE); in bta_dm_cancel_gatt_discovery()
5332 p_data->client_if, in bta_dm_proc_open_evt()
5363 APPL_TRACE_DEBUG1("BTA_GATTC_REG_EVT client_if = %d", p_data->reg_oper.client_if); in bta_dm_gattc_callback()
5365 bta_dm_search_cb.client_if = p_data->reg_oper.client_if; in bta_dm_gattc_callback()
5367 bta_dm_search_cb.client_if = BTA_GATTS_INVALID_IF; in bta_dm_gattc_callback()
Dbta_dm_int.h816 tBTA_GATTC_IF client_if; member