Home
last modified time | relevance | path

Searched refs:bta_gattc_cb (Results 1 – 4 of 4) sorted by relevance

/system/bt/bta/gatt/
Dbta_gattc_utils.cc49 tBTA_GATTC_RCB* p_clrcb = &bta_gattc_cb.cl_rcb[0]; in bta_gattc_cl_get_regcb()
69 if (bta_gattc_cb.cl_rcb[i].in_use) j++; in bta_gattc_num_reg_app()
85 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_cif()
105 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_conn_id()
130 if (!bta_gattc_cb.clcb[i_clcb].in_use) { in bta_gattc_clcb_alloc()
134 p_clcb = &bta_gattc_cb.clcb[i_clcb]; in bta_gattc_clcb_alloc()
224 tBTA_GATTC_SERV* p_srcb = &bta_gattc_cb.known_server[0]; in bta_gattc_find_srcb()
243 tBTA_GATTC_SERV* p_srcb = &bta_gattc_cb.known_server[0]; in bta_gattc_find_srvr_cache()
278 tBTA_GATTC_SERV *p_tcb = &bta_gattc_cb.known_server[0], *p_recycle = NULL; in bta_gattc_srcb_alloc()
408 tBTA_GATTC_BG_TCK* p_bg_tck = &bta_gattc_cb.bg_track[0]; in bta_gattc_mark_bg_conn()
[all …]
Dbta_gattc_act.cc116 if (bta_gattc_cb.state == BTA_GATTC_STATE_DISABLED) { in bta_gattc_enable()
118 bta_gattc_cb = tBTA_GATTC_CB(); in bta_gattc_enable()
119 bta_gattc_cb.state = BTA_GATTC_STATE_ENABLED; in bta_gattc_enable()
132 if (bta_gattc_cb.state != BTA_GATTC_STATE_ENABLED) { in bta_gattc_disable()
138 if (!bta_gattc_cb.cl_rcb[i].in_use) continue; in bta_gattc_disable()
140 bta_gattc_cb.state = BTA_GATTC_STATE_DISABLING; in bta_gattc_disable()
144 if (!bta_hh_le_is_hh_gatt_if(bta_gattc_cb.cl_rcb[i].client_if)) { in bta_gattc_disable()
146 bta_gattc_deregister(&bta_gattc_cb.cl_rcb[i]); in bta_gattc_disable()
153 if (bta_gattc_cb.state != BTA_GATTC_STATE_DISABLING) { in bta_gattc_disable()
154 bta_gattc_cb = tBTA_GATTC_CB(); in bta_gattc_disable()
[all …]
Dbta_gattc_main.cc281 tBTA_GATTC_CB bta_gattc_cb; variable
Dbta_gattc_int.h308 extern tBTA_GATTC_CB bta_gattc_cb;