Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_client.c137 uint8_t client_if; member
159 uint8_t client_if; member
196 uint8_t client_if; member
247 static bt_status_t btif_gattc_multi_adv_disable(int client_if);
250 int client_if = ((TIMER_LIST_ENT*)p_tle)->data; in btif_multi_adv_stop_cb() local
251 btif_gattc_multi_adv_disable(client_if); // Does context switch in btif_multi_adv_stop_cb()
423 , p_data->reg_oper.client_if in btif_gattc_upstreams_evt()
531 , p_data->open.status, p_data->open.client_if, &bda); in btif_gattc_upstreams_evt()
549 , p_data->status, p_data->close.client_if, &bda); in btif_gattc_upstreams_evt()
613 HAL_CBACK(bt_gatt_callbacks, client->read_remote_rssi_cb, p_btif_cb->client_if, in btif_gattc_upstreams_evt()
[all …]
Dbtif_gatt_multi_adv_util.c106 int btif_multi_adv_add_instid_map(int client_if, int inst_id, BOOLEAN gen_temp_instid) in btif_multi_adv_add_instid_map() argument
116 if (client_if == p_multi_adv_data_cb->clntif_map[i + i]) in btif_multi_adv_add_instid_map()
149 p_multi_adv_data_cb->clntif_map[i + i] = client_if; in btif_multi_adv_add_instid_map()
167 int btif_multi_adv_instid_for_clientif(int client_if) in btif_multi_adv_instid_for_clientif() argument
179 if (client_if == p_multi_adv_data_cb->clntif_map[i + i]) in btif_multi_adv_instid_for_clientif()
181 BTIF_TRACE_DEBUG("%s - Client if found", __FUNCTION__, client_if); in btif_multi_adv_instid_for_clientif()
216 void btif_gattc_adv_data_packager(int client_if, bool set_scan_rsp, in btif_gattc_adv_data_packager() argument
224 p_multi_adv_inst->client_if = (uint8_t) client_if; in btif_gattc_adv_data_packager()
482 void btif_gattc_clear_clientif(int client_if, BOOLEAN stop_timer) in btif_gattc_clear_clientif() argument
491 if (client_if == p_multi_adv_data_cb->clntif_map[i]) in btif_gattc_clear_clientif()
[all …]
/external/bluetooth/bluedroid/btif/include/
Dbtif_gatt_multi_adv_util.h38 int client_if; member
56 UINT8 client_if; member
76 extern int btif_multi_adv_add_instid_map(int client_if, int inst_id,
78 extern int btif_multi_adv_instid_for_clientif(int client_if);
80 extern void btif_gattc_clear_clientif(int client_if, BOOLEAN stop_timer);
88 extern void btif_gattc_adv_data_packager(int client_if, bool set_scan_rsp,
93 void btif_multi_adv_timer_ctrl(int client_if, TIMER_CBACK cb);
/external/bluetooth/bluedroid/bta/gatt/
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
175 p_clcb->p_rcb->client_if == client_if && in bta_gattc_find_clcb_by_cif()
214 tBTA_GATTC_CLCB * bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, in bta_gattc_clcb_alloc() argument
233 p_clcb->p_rcb = bta_gattc_cl_get_regcb(client_if); in bta_gattc_clcb_alloc()
263 tBTA_GATTC_CLCB *bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, in bta_gattc_find_alloc_clcb() argument
268 if ((p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport)) == NULL) in bta_gattc_find_alloc_clcb()
270 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb()
678 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_act.c152 if (!bta_hh_le_is_hh_gatt_if(p_cb->cl_rcb[i].client_if)) { in bta_gattc_disable()
201 …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()
213 cb_data.reg_oper.client_if = p_cb->cl_rcb[i].client_if; in bta_gattc_register()
218 p_buf->client_if = p_cb->cl_rcb[i].client_if; in bta_gattc_register()
225 GATT_Deregister(p_cb->cl_rcb[i].client_if); in bta_gattc_register()
258 if (bta_gattc_cl_get_regcb(p_msg->int_start_if.client_if) !=NULL ) in bta_gattc_start_if()
260 GATT_StartIf(p_msg->int_start_if.client_if); in bta_gattc_start_if()
264 … APPL_TRACE_ERROR("Unable to start app.: Unknown interface =%d",p_msg->int_start_if.client_if ); in bta_gattc_start_if()
288 if (p_cb->bg_track[i].cif_mask & (1 <<(p_clreg->client_if - 1))) in bta_gattc_deregister()
290 … 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_api.c121 void BTA_GATTC_AppDeregister(tBTA_GATTC_IF client_if) in BTA_GATTC_AppDeregister() argument
128 p_buf->client_if = client_if; in BTA_GATTC_AppDeregister()
149 void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, in BTA_GATTC_Open() argument
158 p_buf->client_if = client_if; in BTA_GATTC_Open()
183 void BTA_GATTC_CancelOpen(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_direct) in BTA_GATTC_CancelOpen() argument
191 p_buf->client_if = client_if; in BTA_GATTC_CancelOpen()
895 tBTA_GATT_STATUS BTA_GATTC_RegisterForNotifications (tBTA_GATTC_IF client_if, in BTA_GATTC_RegisterForNotifications() argument
909 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL) in BTA_GATTC_RegisterForNotifications()
950 APPL_TRACE_ERROR("Client_if: %d Not Registered", client_if); in BTA_GATTC_RegisterForNotifications()
969 tBTA_GATT_STATUS BTA_GATTC_DeregisterForNotifications (tBTA_GATTC_IF client_if, in BTA_GATTC_DeregisterForNotifications() argument
[all …]
Dbta_gattc_int.h109 tBTA_GATTC_IF client_if; member
119 tBTA_GATTC_IF client_if; member
189 tBTA_GATTC_IF client_if; member
204 tBTA_GATTC_IF client_if; member
214 tBTA_GATTC_IF client_if; member
359 … tBTA_GATTC_IF client_if; /* client interface with BTE stack for this application */ member
506 extern tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda, tBTA_TRAN…
508 extern tBTA_GATTC_CLCB * bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBTA_TRA…
510 extern tBTA_GATTC_CLCB * bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBT…
511 extern tBTA_GATTC_RCB * bta_gattc_cl_get_regcb(UINT8 client_if);
[all …]
Dbta_gattc_main.c384 p_clreg = bta_gattc_cl_get_regcb(((tBTA_GATTC_DATA *)p_msg)->api_dereg.client_if); in bta_gattc_hdl_event()
/external/bluetooth/bluedroid/bta/include/
Dbta_gatt_api.h287 tBTA_GATTC_IF client_if; member
354 tBTA_GATTC_IF client_if; member
364 tBTA_GATTC_IF client_if; member
390 tBTA_GATTC_IF client_if; member
398 tBTA_GATTC_IF client_if; member
680 BTA_API extern void BTA_GATTC_AppDeregister (tBTA_GATTC_IF client_if);
696 BTA_API extern void BTA_GATTC_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda,
713 BTA_API extern void BTA_GATTC_CancelOpen(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_di…
987 BTA_API extern tBTA_GATT_STATUS BTA_GATTC_RegisterForNotifications (tBTA_GATTC_IF client_if,
1005 BTA_API extern tBTA_GATT_STATUS BTA_GATTC_DeregisterForNotifications (tBTA_GATTC_IF client_if,
[all …]
/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_int.h383 extern BOOLEAN bta_hh_le_is_hh_gatt_if(tBTA_GATTC_IF client_if);
Dbta_hh_le.c243 bta_hh_cb.gatt_if = p_reg->client_if; in bta_hh_le_register_cmpl()
263 BOOLEAN bta_hh_le_is_hh_gatt_if(tBTA_GATTC_IF client_if) in bta_hh_le_is_hh_gatt_if() argument
265 return (bta_hh_cb.gatt_if == client_if); in bta_hh_le_is_hh_gatt_if()
1338 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.c5813 if (bta_dm_search_cb.client_if == BTA_GATTS_INVALID_IF) in bta_dm_gattc_register()
6015 BTA_GATTC_Open(bta_dm_search_cb.client_if, bd_addr, TRUE, BTA_GATT_TRANSPORT_LE); in btm_dm_start_gatt_discovery()
6031 BTA_GATTC_CancelOpen(bta_dm_search_cb.client_if, bd_addr, TRUE); in bta_dm_cancel_gatt_discovery()
6063 p_data->client_if, in bta_dm_proc_open_evt()
6094 APPL_TRACE_DEBUG("BTA_GATTC_REG_EVT client_if = %d", p_data->reg_oper.client_if); in bta_dm_gattc_callback()
6096 bta_dm_search_cb.client_if = p_data->reg_oper.client_if; in bta_dm_gattc_callback()
6098 bta_dm_search_cb.client_if = BTA_GATTS_INVALID_IF; in bta_dm_gattc_callback()
Dbta_dm_int.h1002 tBTA_GATTC_IF client_if; member