Home
last modified time | relevance | path

Searched refs:clcb (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/stack/gap/
Dgap_ble.cc115 void clcb_dealloc(tGAP_CLCB& clcb) { in clcb_dealloc() argument
119 if (it->conn_id == clcb.conn_id) { in clcb_dealloc()
252 bool send_cl_read_request(tGAP_CLCB& clcb) { in send_cl_read_request() argument
253 if (!clcb.requests.size() || clcb.cl_op_uuid != 0) { in send_cl_read_request()
257 tGAP_REQUEST& req = clcb.requests.front(); in send_cl_read_request()
258 clcb.p_cback = req.p_cback; in send_cl_read_request()
260 clcb.requests.pop(); in send_cl_read_request()
270 if (GATTC_Read(clcb.conn_id, GATT_READ_BY_TYPE, &param) == GATT_SUCCESS) { in send_cl_read_request()
271 clcb.cl_op_uuid = uuid; in send_cl_read_request()
278 void cl_op_cmpl(tGAP_CLCB& clcb, bool status, uint16_t len, uint8_t* p_name) { in cl_op_cmpl() argument
[all …]
/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_eng.cc80 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_by_bd_addr()
102 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_by_conn_id()
124 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_idx_by_conn_id()
148 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_clcb_alloc()
173 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_clcb_dealloc()
249 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; in srvc_eng_s_request_cback()
278 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_eng_s_request_cback()
Dsrvc_eng_int.h51 tSRVC_CLCB clcb[SRVC_MAX_APPS]; /* connection link*/ member
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_act.cc256 if (!bta_gattc_cb.clcb[i].in_use || (bta_gattc_cb.clcb[i].p_rcb != p_clreg)) in bta_gattc_deregister()
263 buf.layer_specific = bta_gattc_cb.clcb[i].bta_conn_id; in bta_gattc_deregister()
264 bta_gattc_close(&bta_gattc_cb.clcb[i], (tBTA_GATTC_DATA*)&buf); in bta_gattc_deregister()
704 if (bta_gattc_cb.clcb[i].p_srcb == p_srcb) { in bta_gattc_reset_discover_st()
705 bta_gattc_cb.clcb[i].status = status; in bta_gattc_reset_discover_st()
706 bta_gattc_sm_execute(&bta_gattc_cb.clcb[i], BTA_GATTC_DISCOVER_CMPL_EVT, in bta_gattc_reset_discover_st()
741 if (bta_gattc_cb.clcb[i].p_srcb == p_srcb) { in bta_gattc_set_discover_st()
742 bta_gattc_cb.clcb[i].status = GATT_SUCCESS; in bta_gattc_set_discover_st()
743 bta_gattc_cb.clcb[i].state = BTA_GATTC_DISCOVER_ST; in bta_gattc_set_discover_st()
744 bta_gattc_cb.clcb[i].request_during_discovery = in bta_gattc_set_discover_st()
[all …]
Dbta_gattc_utils.cc99 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_cif()
118 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_conn_id()
141 if (!bta_gattc_cb.clcb[i_clcb].in_use) { in bta_gattc_clcb_alloc()
145 p_clcb = &bta_gattc_cb.clcb[i_clcb]; in bta_gattc_clcb_alloc()
851 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[i]; in bta_gatt_client_dump()
Dbta_gattc_int.h347 tBTA_GATTC_CLCB clcb[BTA_GATTC_CLCB_MAX]; member
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc1083 tGATT_CLCB clcb = {}; in gatt_clcb_alloc() local
1089 clcb.conn_id = conn_id; in gatt_clcb_alloc()
1090 clcb.p_reg = p_reg; in gatt_clcb_alloc()
1091 clcb.p_tcb = p_tcb; in gatt_clcb_alloc()
1093 clcb.cid = gatt_tcb_get_att_cid(*p_tcb, p_reg->eatt_support); in gatt_clcb_alloc()
1095 gatt_cb.clcb_queue.emplace_back(clcb); in gatt_clcb_alloc()