Home
last modified time | relevance | path

Searched refs:cb_data (Results 1 – 15 of 15) sorted by relevance

/system/bt/bta/gatt/
Dbta_gatts_act.cc179 tBTA_GATTS cb_data; in bta_gatts_register() local
205 cb_data.reg_oper.server_if = BTA_GATTS_INVALID_IF; in bta_gatts_register()
206 cb_data.reg_oper.uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
213 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = in bta_gatts_register()
229 cb_data.reg_oper.status = status; in bta_gatts_register()
231 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register()
265 tBTA_GATTS cb_data; in bta_gatts_deregister() local
267 cb_data.reg_oper.server_if = p_msg->api_dereg.server_if; in bta_gatts_deregister()
268 cb_data.reg_oper.status = status; in bta_gatts_deregister()
281 cb_data.reg_oper.status = status; in bta_gatts_deregister()
[all …]
Dbta_gattc_queue.cc32 void* cb_data; member
48 void* tmp_cb_data = tmp->cb_data; in gatt_read_op_finished()
63 void* cb_data; member
70 void* tmp_cb_data = tmp->cb_data; in gatt_write_op_finished()
112 data->cb_data = op.read_cb_data; in gatt_execute_next_op()
120 data->cb_data = op.read_cb_data; in gatt_execute_next_op()
128 data->cb_data = op.write_cb_data; in gatt_execute_next_op()
137 data->cb_data = op.write_cb_data; in gatt_execute_next_op()
151 GATT_READ_OP_CB cb, void* cb_data) { in ReadCharacteristic() argument
155 .read_cb_data = cb_data}); in ReadCharacteristic()
[all …]
Dbta_gattc_act.cc298 tBTA_GATTC cb_data; in bta_gattc_process_api_open_cancel() local
299 cb_data.status = GATT_ERROR; in bta_gattc_process_api_open_cancel()
300 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_process_api_open_cancel()
310 tBTA_GATTC cb_data; in bta_gattc_process_enc_cmpl() local
311 memset(&cb_data, 0, sizeof(tBTA_GATTC)); in bta_gattc_process_enc_cmpl()
313 cb_data.enc_cmpl.client_if = client_if; in bta_gattc_process_enc_cmpl()
314 cb_data.enc_cmpl.remote_bda = bda; in bta_gattc_process_enc_cmpl()
316 (*p_clreg->p_cback)(BTA_GATTC_ENC_CMPL_CB_EVT, &cb_data); in bta_gattc_process_enc_cmpl()
321 tBTA_GATTC cb_data; in bta_gattc_cancel_open_error() local
323 cb_data.status = GATT_ERROR; in bta_gattc_cancel_open_error()
[all …]
Dbta_gattc_cache.cc223 tBTA_GATTC_CB_DATA* cb_data = (tBTA_GATTC_CB_DATA*)user_data; in bta_gattc_sdp_callback() local
224 tBTA_GATTC_SERV* p_srvc_cb = bta_gattc_find_scb_by_cid(cb_data->sdp_conn_id); in bta_gattc_sdp_callback()
229 osi_free(cb_data); in bta_gattc_sdp_callback()
234 bta_gattc_explore_srvc_finished(cb_data->sdp_conn_id, p_srvc_cb); in bta_gattc_sdp_callback()
237 osi_free(cb_data); in bta_gattc_sdp_callback()
243 tSDP_DISC_REC* p_sdp_rec = SDP_FindServiceInDb(cb_data->p_sdp_db, 0, nullptr); in bta_gattc_sdp_callback()
273 p_sdp_rec = SDP_FindServiceInDb(cb_data->p_sdp_db, 0, p_sdp_rec); in bta_gattc_sdp_callback()
280 bta_gattc_explore_next_service(cb_data->sdp_conn_id, p_srvc_cb); in bta_gattc_sdp_callback()
284 osi_free(cb_data); in bta_gattc_sdp_callback()
297 tBTA_GATTC_CB_DATA* cb_data = (tBTA_GATTC_CB_DATA*)osi_malloc( in bta_gattc_sdp_service_disc() local
[all …]
Dbta_gattc_api.cc358 GATT_READ_OP_CB callback, void* cb_data) { in BTA_GATTC_ReadCharacteristic() argument
367 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadCharacteristic()
379 GATT_READ_OP_CB callback, void* cb_data) { in BTA_GATTC_ReadUsingCharUuid() argument
391 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadUsingCharUuid()
410 void* cb_data) { in BTA_GATTC_ReadCharDescr() argument
419 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadCharDescr()
472 GATT_WRITE_OP_CB callback, void* cb_data) { in BTA_GATTC_WriteCharValue() argument
483 p_buf->write_cb_data = cb_data; in BTA_GATTC_WriteCharValue()
509 GATT_WRITE_OP_CB callback, void* cb_data) { in BTA_GATTC_WriteCharDescr() argument
519 p_buf->write_cb_data = cb_data; in BTA_GATTC_WriteCharDescr()
[all …]
Dbta_gattc_utils.cc493 tBTA_GATTC cb_data; in bta_gattc_send_open_cback() local
496 memset(&cb_data, 0, sizeof(tBTA_GATTC)); in bta_gattc_send_open_cback()
498 cb_data.open.status = status; in bta_gattc_send_open_cback()
499 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback()
500 cb_data.open.conn_id = conn_id; in bta_gattc_send_open_cback()
501 cb_data.open.mtu = mtu; in bta_gattc_send_open_cback()
502 cb_data.open.transport = transport; in bta_gattc_send_open_cback()
503 cb_data.open.remote_bda = remote_bda; in bta_gattc_send_open_cback()
505 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
/system/chre/platform/slpi/see/include/
Dsns_client.h42 uint32_t msg_len, void *cb_data);
50 void *cb_data);
58 void *cb_data);
/system/bt/bta/include/
Dbta_gatt_queue.h39 GATT_READ_OP_CB cb, void* cb_data);
41 GATT_READ_OP_CB cb, void* cb_data);
45 GATT_WRITE_OP_CB cb, void* cb_data);
49 void* cb_data);
Dbta_gatt_api.h574 GATT_READ_OP_CB callback, void* cb_data);
583 GATT_READ_OP_CB callback, void* cb_data);
599 void* cb_data);
619 GATT_WRITE_OP_CB callback, void* cb_data);
637 GATT_WRITE_OP_CB callback, void* cb_data);
705 GATT_WRITE_OP_CB callback, void* cb_data);
/system/bt/stack/smp/
Dsmp_act.cc103 tSMP_EVT_DATA cb_data; in smp_send_app_cback() local
109 cb_data.io_req.auth_req = p_cb->peer_auth_req; in smp_send_app_cback()
110 cb_data.io_req.oob_data = SMP_OOB_NONE; in smp_send_app_cback()
111 cb_data.io_req.io_cap = btif_storage_get_local_io_caps_ble(); in smp_send_app_cback()
112 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE; in smp_send_app_cback()
113 cb_data.io_req.init_keys = p_cb->local_i_key; in smp_send_app_cback()
114 cb_data.io_req.resp_keys = p_cb->local_r_key; in smp_send_app_cback()
115 SMP_TRACE_WARNING("io_cap = %d", cb_data.io_req.io_cap); in smp_send_app_cback()
119 cb_data.passkey = p_data->passkey; in smp_send_app_cback()
122 cb_data.req_oob_type = p_data->req_oob_type; in smp_send_app_cback()
[all …]
/system/bt/stack/gatt/
Dgatt_utils.cc1182 tGATT_CL_COMPLETE cb_data; in gatt_end_operation() local
1194 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation()
1198 cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation()
1199 cb_data.att_value.len = p_clcb->counter; in gatt_end_operation()
1202 memcpy(cb_data.att_value.value, p_data, cb_data.att_value.len); in gatt_end_operation()
1206 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation()
1207 cb_data.handle = cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation()
1210 cb_data.att_value = *((tGATT_VALUE*)p_data); in gatt_end_operation()
1218 cb_data.mtu = p_clcb->p_tcb->payload_size; in gatt_end_operation()
1236 (*p_cmpl_cb)(conn_id, op, status, &cb_data); in gatt_end_operation()
Dgatt_attr.cc708 gatt_op_cb_data cb_data; in gatt_svc_read_supp_feat_req() local
709 cb_data.cb = std::move(cb); in gatt_svc_read_supp_feat_req()
710 cb_data.op_uuid = GATT_UUID_SERVER_SUP_FEAT; in gatt_svc_read_supp_feat_req()
711 OngoingOps[conn_id] = std::move(cb_data); in gatt_svc_read_supp_feat_req()
/system/bt/stack/btm/
Dbtm_ble.cc1276 tBTM_LE_EVT_DATA cb_data; in btm_sec_save_le_key() local
1384 cb_data.key.p_key_value = p_keys; in btm_sec_save_le_key()
1385 cb_data.key.key_type = key_type; in btm_sec_save_le_key()
1387 (*btm_cb.api.p_le_callback)(BTM_LE_KEY_EVT, bd_addr, &cb_data); in btm_sec_save_le_key()
/system/bt/bta/hh/
Dbta_hh_le.cc487 void* cb_data) { in bta_hh_le_read_char_descriptor() argument
492 BtaGattQueue::ReadDescriptor(p_cb->conn_id, p_desc->handle, cb, cb_data); in bta_hh_le_read_char_descriptor()
672 void* cb_data) { in bta_hh_le_write_ccc() argument
682 GATT_WRITE, cb, cb_data); in bta_hh_le_write_ccc()
/system/bt/btif/src/
Dbtif_rc.cc2790 bool iterate_supported_event_list_for_interim_rsp(void* data, void* cb_data) { in iterate_supported_event_list_for_interim_rsp() argument
2794 p_event_id = (uint8_t*)cb_data; in iterate_supported_event_list_for_interim_rsp()
2815 bool iterate_supported_event_list_for_timeout(void* data, void* cb_data) { in iterate_supported_event_list_for_timeout() argument
2816 rc_context_t* cntxt = (rc_context_t*)cb_data; in iterate_supported_event_list_for_timeout()