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_act.cc109 if (bta_gattc_cb.state == BTA_GATTC_STATE_DISABLED) { in bta_gattc_enable()
111 memset(&bta_gattc_cb, 0, sizeof(tBTA_GATTC_CB)); in bta_gattc_enable()
112 bta_gattc_cb.state = BTA_GATTC_STATE_ENABLED; in bta_gattc_enable()
133 if (bta_gattc_cb.state != BTA_GATTC_STATE_ENABLED) { in bta_gattc_disable()
139 if (bta_gattc_cb.cl_rcb[i].in_use) { 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()
154 if (bta_gattc_cb.state != BTA_GATTC_STATE_DISABLING) { in bta_gattc_disable()
155 memset(&bta_gattc_cb, 0, sizeof(tBTA_GATTC_CB)); in bta_gattc_disable()
[all …]
Dbta_gattc_utils.cc121 tBTA_GATTC_RCB* p_clrcb = &bta_gattc_cb.cl_rcb[0]; in bta_gattc_cl_get_regcb()
141 if (bta_gattc_cb.cl_rcb[i].in_use) j++; in bta_gattc_num_reg_app()
157 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_cif()
177 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_conn_id()
202 if (!bta_gattc_cb.clcb[i_clcb].in_use) { in bta_gattc_clcb_alloc()
207 p_clcb = &bta_gattc_cb.clcb[i_clcb]; in bta_gattc_clcb_alloc()
301 tBTA_GATTC_SERV* p_srcb = &bta_gattc_cb.known_server[0]; in bta_gattc_find_srcb()
320 tBTA_GATTC_SERV* p_srcb = &bta_gattc_cb.known_server[0]; in bta_gattc_find_srvr_cache()
355 tBTA_GATTC_SERV *p_tcb = &bta_gattc_cb.known_server[0], *p_recycle = NULL; in bta_gattc_srcb_alloc()
486 tBTA_GATTC_BG_TCK* p_bg_tck = &bta_gattc_cb.bg_track[0]; in bta_gattc_mark_bg_conn()
[all …]
Dbta_gattc_main.cc286 tBTA_GATTC_CB bta_gattc_cb; variable
Dbta_gattc_int.h356 extern tBTA_GATTC_CB bta_gattc_cb;