Home
last modified time | relevance | path

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

/system/bt/stack/gap/
Dgap_ble.cc103 void clcb_dealloc(tGAP_CLCB& clcb) { in clcb_dealloc() argument
107 if (it->conn_id == clcb.conn_id) { in clcb_dealloc()
237 bool send_cl_read_request(tGAP_CLCB& clcb) { in send_cl_read_request() argument
238 if (!clcb.requests.size()) { in send_cl_read_request()
242 tGAP_REQUEST& req = clcb.requests.front(); in send_cl_read_request()
243 clcb.p_cback = req.p_cback; in send_cl_read_request()
245 clcb.requests.pop(); in send_cl_read_request()
255 if (GATTC_Read(clcb.conn_id, GATT_READ_BY_TYPE, &param) == GATT_SUCCESS) { in send_cl_read_request()
256 clcb.cl_op_uuid = uuid; in send_cl_read_request()
263 void cl_op_cmpl(tGAP_CLCB& clcb, bool status, uint16_t len, uint8_t* p_name) { in cl_op_cmpl() argument
[all …]
/system/bt/stack/srvc/
Dsrvc_eng.cc72 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_conn_id_by_bd_addr()
95 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_by_bd_addr()
117 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_by_conn_id()
139 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_idx_by_conn_id()
162 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_clcb_alloc()
187 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_clcb_dealloc()
257 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; in srvc_eng_s_request_cback()
287 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_eng_s_request_cback()
417 if (srvc_eng_cb.clcb[clcb_idx].trans_id != 0) { in srvc_sr_rsp()
418 GATTS_SendRsp(srvc_eng_cb.clcb[clcb_idx].conn_id, in srvc_sr_rsp()
[all …]
Dsrvc_eng_int.h50 tSRVC_CLCB clcb[SRVC_MAX_APPS]; /* connection link*/ member
/system/bt/bta/gatt/
Dbta_gattc_act.cc234 if (!bta_gattc_cb.clcb[i].in_use || (bta_gattc_cb.clcb[i].p_rcb != p_clreg)) in bta_gattc_deregister()
241 buf.layer_specific = bta_gattc_cb.clcb[i].bta_conn_id; in bta_gattc_deregister()
242 bta_gattc_close(&bta_gattc_cb.clcb[i], (tBTA_GATTC_DATA*)&buf); in bta_gattc_deregister()
568 if (bta_gattc_cb.clcb[i].p_srcb == p_srcb) { in bta_gattc_reset_discover_st()
569 bta_gattc_cb.clcb[i].status = status; in bta_gattc_reset_discover_st()
570 bta_gattc_sm_execute(&bta_gattc_cb.clcb[i], BTA_GATTC_DISCOVER_CMPL_EVT, in bta_gattc_reset_discover_st()
600 if (bta_gattc_cb.clcb[i].p_srcb == p_srcb) { in bta_gattc_set_discover_st()
601 bta_gattc_cb.clcb[i].status = GATT_SUCCESS; in bta_gattc_set_discover_st()
602 bta_gattc_cb.clcb[i].state = BTA_GATTC_DISCOVER_ST; in bta_gattc_set_discover_st()
1099 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_process_api_refresh()
[all …]
Dbta_gattc_utils.cc85 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()
Dbta_gattc_int.h299 tBTA_GATTC_CLCB clcb[BTA_GATTC_CLCB_MAX]; member
/system/bt/stack/gatt/
Dgatt_utils.cc882 if (gatt_cb.clcb[i].in_use && (gatt_cb.clcb[i].conn_id == conn_id)) { in gatt_is_clcb_allocated()
910 if (!gatt_cb.clcb[i].in_use) { in gatt_clcb_alloc()
911 p_clcb = &gatt_cb.clcb[i]; in gatt_clcb_alloc()
977 if (gatt_cb.clcb[i].in_use && gatt_cb.clcb[i].p_tcb->peer_bda == bda) num++; in gatt_num_clcb_by_bd_addr()
1254 tGATT_CLCB* p_clcb = &gatt_cb.clcb[i]; in gatt_cleanup_upon_disc()
Dgatt_int.h367 tGATT_CLCB clcb[GATT_CL_MAX_LCB]; /* connection link control block*/ member
Dgatt_api.cc1026 for (j = 0, p_clcb = &gatt_cb.clcb[j]; j < GATT_CL_MAX_LCB; j++, p_clcb++) { in GATT_Deregister()