Searched refs:clcb (Results 1 - 10 of 10) sorted by relevance

/system/bt/stack/gap/
H A Dgap_ble.cc103 void clcb_dealloc(tGAP_CLCB& clcb) { argument
107 if (it->conn_id == clcb.conn_id) {
237 bool send_cl_read_request(tGAP_CLCB& clcb) { argument
238 if (!clcb.requests.size()) {
242 tGAP_REQUEST& req = clcb.requests.front();
243 clcb.p_cback = req.p_cback;
245 clcb.requests.pop();
255 if (GATTC_Read(clcb.conn_id, GATT_READ_BY_TYPE, &param) == GATT_SUCCESS) {
256 clcb.cl_op_uuid = uuid;
263 void cl_op_cmpl(tGAP_CLCB& clcb, boo argument
[all...]
/system/bt/stack/srvc/
H A Dsrvc_eng.cc66 * Returns total number of clcb found.
73 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS;
96 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS;
118 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS;
140 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS;
163 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS;
188 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS;
266 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id;
296 srvc_eng_cb.clcb[clcb_idx].trans_id = 0;
426 if (srvc_eng_cb.clcb[clcb_id
[all...]
H A Dsrvc_eng_int.h50 tSRVC_CLCB clcb[SRVC_MAX_APPS]; /* connection link*/ member in struct:__anon1353
H A Dsrvc_battery.cc76 cfg.remote_bda = srvc_eng_cb.clcb[clcb_idx].bda;
/system/bt/bta/gatt/
H A Dbta_gattc_act.cc233 if (!bta_gattc_cb.clcb[i].in_use || (bta_gattc_cb.clcb[i].p_rcb != p_clreg))
240 buf.layer_specific = bta_gattc_cb.clcb[i].bta_conn_id;
241 bta_gattc_close(&bta_gattc_cb.clcb[i], (tBTA_GATTC_DATA*)&buf);
345 /* open failure, remove clcb */
564 /** when a SRCB finished discovery, tell all related clcb */
567 if (bta_gattc_cb.clcb[i].p_srcb == p_srcb) {
568 bta_gattc_cb.clcb[i].status = status;
569 bta_gattc_sm_execute(&bta_gattc_cb.clcb[i], BTA_GATTC_DISCOVER_CMPL_EVT,
593 /** when a SRCB start discovery, tell all related clcb an
[all...]
H A Dbta_gattc_utils.cc77 * Description get clcb by client interface and remote bd adddress
79 * Returns pointer to the clcb
85 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0];
99 * Description get clcb by connection ID
101 * Returns pointer to the clcb
105 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0];
120 * Returns pointer to the clcb
130 if (!bta_gattc_cb.clcb[i_clcb].in_use) {
132 VLOG(1) << __func__ << ": found clcb:" << +i_clcb << " available";
134 p_clcb = &bta_gattc_cb.clcb[i_clc
[all...]
H A Dbta_gattc_int.h246 uint16_t bta_conn_id; /* client channel ID, unique for clcb */
300 tBTA_GATTC_CLCB clcb[BTA_GATTC_CLCB_MAX]; member in struct:__anon123
/system/bt/stack/gatt/
H A Dgatt_utils.cc590 LOG(WARNING) << __func__ << " clcb is already deleted";
860 * Description The function check clcb for conn_id is allocated or not
871 if (gatt_cb.clcb[i].in_use && (gatt_cb.clcb[i].conn_id == conn_id)) {
899 if (!gatt_cb.clcb[i].in_use) {
900 p_clcb = &gatt_cb.clcb[i];
959 * Returns total number of clcb found.
966 if (gatt_cb.clcb[i].in_use && gatt_cb.clcb[i].p_tcb->peer_bda == bda) num++;
1249 tGATT_CLCB* p_clcb = &gatt_cb.clcb[
[all...]
H A Dgatt_int.h372 tGATT_CLCB clcb[GATT_CL_MAX_LCB]; /* connection link control block*/ member in struct:__anon1015
H A Dgatt_api.cc1026 for (j = 0, p_clcb = &gatt_cb.clcb[j]; j < GATT_CL_MAX_LCB;

Completed in 124 milliseconds