/system/bt/bta/gatt/ |
D | bta_gatts_act.cc | 177 tBTA_GATTS cb_data; in bta_gatts_register() local 203 cb_data.reg_oper.server_if = BTA_GATTS_INVALID_IF; in bta_gatts_register() 204 cb_data.reg_oper.uuid = p_msg->api_reg.app_uuid; in bta_gatts_register() 211 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = in bta_gatts_register() 228 cb_data.reg_oper.status = status; in bta_gatts_register() 230 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register() 264 tBTA_GATTS cb_data; in bta_gatts_deregister() local 266 cb_data.reg_oper.server_if = p_msg->api_dereg.server_if; in bta_gatts_deregister() 267 cb_data.reg_oper.status = status; in bta_gatts_deregister() 280 cb_data.reg_oper.status = status; in bta_gatts_deregister() [all …]
|
D | bta_gattc_queue.cc | 33 void* cb_data; member 49 void* tmp_cb_data = tmp->cb_data; in gatt_read_op_finished() 64 void* cb_data; member 71 void* tmp_cb_data = tmp->cb_data; in gatt_write_op_finished() 86 void* cb_data; member 94 void* tmp_cb_data = tmp->cb_data; in gatt_configure_mtu_op_finished() 136 data->cb_data = op.read_cb_data; in gatt_execute_next_op() 144 data->cb_data = op.read_cb_data; in gatt_execute_next_op() 152 data->cb_data = op.write_cb_data; in gatt_execute_next_op() 161 data->cb_data = op.write_cb_data; in gatt_execute_next_op() [all …]
|
D | bta_gattc_act.cc | 304 tBTA_GATTC cb_data; in bta_gattc_process_api_open_cancel() local 305 cb_data.status = GATT_ERROR; in bta_gattc_process_api_open_cancel() 306 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_process_api_open_cancel() 316 tBTA_GATTC cb_data; in bta_gattc_process_enc_cmpl() local 317 memset(&cb_data, 0, sizeof(tBTA_GATTC)); in bta_gattc_process_enc_cmpl() 319 cb_data.enc_cmpl.client_if = client_if; in bta_gattc_process_enc_cmpl() 320 cb_data.enc_cmpl.remote_bda = bda; in bta_gattc_process_enc_cmpl() 322 (*p_clreg->p_cback)(BTA_GATTC_ENC_CMPL_CB_EVT, &cb_data); in bta_gattc_process_enc_cmpl() 327 tBTA_GATTC cb_data; in bta_gattc_cancel_open_error() local 329 cb_data.status = GATT_ERROR; in bta_gattc_cancel_open_error() [all …]
|
D | bta_gattc_api.cc | 211 GATT_CONFIGURE_MTU_OP_CB callback, void* cb_data) { in BTA_GATTC_ConfigureMTU() argument 219 p_buf->mtu_cb_data = cb_data; in BTA_GATTC_ConfigureMTU() 365 GATT_READ_OP_CB callback, void* cb_data) { in BTA_GATTC_ReadCharacteristic() argument 374 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadCharacteristic() 386 GATT_READ_OP_CB callback, void* cb_data) { in BTA_GATTC_ReadUsingCharUuid() argument 398 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadUsingCharUuid() 417 void* cb_data) { in BTA_GATTC_ReadCharDescr() argument 426 p_buf->read_cb_data = cb_data; in BTA_GATTC_ReadCharDescr() 479 GATT_WRITE_OP_CB callback, void* cb_data) { in BTA_GATTC_WriteCharValue() argument 490 p_buf->write_cb_data = cb_data; in BTA_GATTC_WriteCharValue() [all …]
|
D | bta_gattc_cache.cc | 272 tBTA_GATTC_CB_DATA* cb_data = (tBTA_GATTC_CB_DATA*)user_data; in bta_gattc_sdp_callback() local 273 tBTA_GATTC_SERV* p_srvc_cb = bta_gattc_find_scb_by_cid(cb_data->sdp_conn_id); in bta_gattc_sdp_callback() 278 osi_free(cb_data); in bta_gattc_sdp_callback() 283 bta_gattc_explore_srvc_finished(cb_data->sdp_conn_id, p_srvc_cb); in bta_gattc_sdp_callback() 286 osi_free(cb_data); in bta_gattc_sdp_callback() 292 tSDP_DISC_REC* p_sdp_rec = SDP_FindServiceInDb(cb_data->p_sdp_db, 0, nullptr); in bta_gattc_sdp_callback() 322 p_sdp_rec = SDP_FindServiceInDb(cb_data->p_sdp_db, 0, p_sdp_rec); in bta_gattc_sdp_callback() 329 bta_gattc_explore_next_service(cb_data->sdp_conn_id, p_srvc_cb); in bta_gattc_sdp_callback() 333 osi_free(cb_data); in bta_gattc_sdp_callback() 346 tBTA_GATTC_CB_DATA* cb_data = (tBTA_GATTC_CB_DATA*)osi_malloc( in bta_gattc_sdp_service_disc() local [all …]
|
D | bta_gattc_utils.cc | 501 tBTA_GATTC cb_data; in bta_gattc_send_open_cback() local 504 memset(&cb_data, 0, sizeof(tBTA_GATTC)); in bta_gattc_send_open_cback() 506 cb_data.open.status = status; in bta_gattc_send_open_cback() 507 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback() 508 cb_data.open.conn_id = conn_id; in bta_gattc_send_open_cback() 509 cb_data.open.mtu = mtu; in bta_gattc_send_open_cback() 510 cb_data.open.transport = transport; in bta_gattc_send_open_cback() 511 cb_data.open.remote_bda = remote_bda; in bta_gattc_send_open_cback() 513 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
|
/system/bt/bta/test/common/ |
D | bta_gatt_queue_mock.cc | 29 GATT_READ_OP_CB cb, void* cb_data) { in ReadCharacteristic() argument 30 gatt_queue->ReadCharacteristic(conn_id, handle, cb, cb_data); in ReadCharacteristic() 36 GATT_WRITE_OP_CB cb, void* cb_data) { in WriteCharacteristic() argument 38 cb_data); in WriteCharacteristic() 44 GATT_WRITE_OP_CB cb, void* cb_data) { in WriteDescriptor() argument 45 gatt_queue->WriteDescriptor(conn_id, handle, value, write_type, cb, cb_data); in WriteDescriptor()
|
D | bta_gatt_queue_mock.h | 31 void* cb_data)); 35 void* cb_data)); 39 void* cb_data));
|
/system/chre/platform/slpi/see/include/ |
D | sns_client.h | 42 uint32_t msg_len, void *cb_data); 50 void *cb_data); 58 void *cb_data);
|
/system/bt/bta/include/ |
D | bta_gatt_queue.h | 40 GATT_READ_OP_CB cb, void* cb_data); 42 GATT_READ_OP_CB cb, void* cb_data); 46 GATT_WRITE_OP_CB cb, void* cb_data); 50 void* cb_data);
|
D | bta_gatt_api.h | 605 GATT_READ_OP_CB callback, void* cb_data); 614 GATT_READ_OP_CB callback, void* cb_data); 630 void* cb_data); 650 GATT_WRITE_OP_CB callback, void* cb_data); 668 GATT_WRITE_OP_CB callback, void* cb_data); 736 GATT_WRITE_OP_CB callback, void* cb_data); 799 void* cb_data);
|
/system/bt/test/mock/ |
D | mock_bta_gattc_api.cc | 96 GATT_CONFIGURE_MTU_OP_CB callback, void* cb_data) { in BTA_GATTC_ConfigureMTU() argument 122 GATT_WRITE_OP_CB callback, void* cb_data) { in BTA_GATTC_PrepareWrite() argument 127 void* cb_data) { in BTA_GATTC_ReadCharDescr() argument 132 GATT_READ_OP_CB callback, void* cb_data) { in BTA_GATTC_ReadCharacteristic() argument 142 GATT_READ_OP_CB callback, void* cb_data) { in BTA_GATTC_ReadUsingCharUuid() argument 158 GATT_WRITE_OP_CB callback, void* cb_data) { in BTA_GATTC_WriteCharDescr() argument 165 GATT_WRITE_OP_CB callback, void* cb_data) { in BTA_GATTC_WriteCharValue() argument
|
D | mock_bta_vc_device.cc | 79 void* cb_data) { in ControlPointOperation() argument
|
/system/bt/stack/smp/ |
D | smp_act.cc | 100 tSMP_EVT_DATA cb_data; in smp_send_app_cback() local 106 cb_data.io_req.auth_req = p_cb->peer_auth_req; in smp_send_app_cback() 107 cb_data.io_req.oob_data = SMP_OOB_NONE; in smp_send_app_cback() 108 cb_data.io_req.io_cap = btif_storage_get_local_io_caps_ble(); in smp_send_app_cback() 109 cb_data.io_req.max_key_size = SMP_MAX_ENC_KEY_SIZE; in smp_send_app_cback() 110 cb_data.io_req.init_keys = p_cb->local_i_key; in smp_send_app_cback() 111 cb_data.io_req.resp_keys = p_cb->local_r_key; in smp_send_app_cback() 112 LOG_DEBUG("Notify app io_cap = %hhu", cb_data.io_req.io_cap); in smp_send_app_cback() 116 cb_data.passkey = p_data->passkey; in smp_send_app_cback() 119 cb_data.req_oob_type = p_data->req_oob_type; in smp_send_app_cback() [all …]
|
/system/bt/bta/vc/ |
D | devices.h | 98 GATT_WRITE_OP_CB cb, void* cb_data); 178 GATT_WRITE_OP_CB cb, void* cb_data) { in ControlPointOperation() argument 182 device->ControlPointOperation(opcode, arg, cb, cb_data); in ControlPointOperation()
|
D | devices_test.cc | 159 void* cb_data = nullptr; in TEST_F() local 160 devices_->ControlPointOperation(devices, opcode, arg, cb, cb_data); in TEST_F() 189 void* cb_data = nullptr; in TEST_F() local 190 devices_->ControlPointOperation(devices, opcode, &arg, cb, cb_data); in TEST_F() 209 void* cb_data = nullptr; in TEST_F() local 210 devices_->ControlPointOperation(devices, opcode, arg, cb, cb_data); in TEST_F() 373 void* cb_data) -> void { requested_handles.push_back(handle); })); in TEST_F() argument 377 GATT_READ_OP_CB cb, void* cb_data) -> void { in TEST_F() argument
|
D | device.cc | 146 void* cb_data) { in ControlPointOperation() argument 152 set_value, GATT_WRITE, cb, cb_data); in ControlPointOperation()
|
D | vc_test.cc | 132 GATT_READ_OP_CB cb, void* cb_data) -> void { in set_sample_database() argument 157 cb_data); in set_sample_database() 219 GATT_WRITE_OP_CB cb, void* cb_data) -> void { in SetUp() argument 220 if (cb) cb(conn_id, GATT_SUCCESS, handle, cb_data); in SetUp()
|
/system/bt/stack/gatt/ |
D | gatt_utils.cc | 1481 tGATT_CL_COMPLETE cb_data; in gatt_end_operation() local 1494 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation() 1498 cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation() 1499 cb_data.att_value.len = p_clcb->counter; in gatt_end_operation() 1502 memcpy(cb_data.att_value.value, p_data, cb_data.att_value.len); in gatt_end_operation() 1506 memset(&cb_data.att_value, 0, sizeof(tGATT_VALUE)); in gatt_end_operation() 1507 cb_data.handle = cb_data.att_value.handle = p_clcb->s_handle; in gatt_end_operation() 1510 cb_data.att_value = *((tGATT_VALUE*)p_data); in gatt_end_operation() 1518 cb_data.mtu = p_clcb->p_tcb->payload_size; in gatt_end_operation() 1536 (*p_cmpl_cb)(conn_id, op, status, &cb_data); in gatt_end_operation()
|
D | gatt_attr.cc | 779 gatt_op_cb_data cb_data; in gatt_cl_read_sr_supp_feat_req() local 780 cb_data.cb = std::move(cb); in gatt_cl_read_sr_supp_feat_req() 781 cb_data.op_uuid = GATT_UUID_SERVER_SUP_FEAT; in gatt_cl_read_sr_supp_feat_req() 782 OngoingOps[conn_id] = std::move(cb_data); in gatt_cl_read_sr_supp_feat_req()
|
/system/bt/stack/btm/ |
D | btm_ble.cc | 1113 tBTM_LE_EVT_DATA cb_data; in btm_sec_save_le_key() local 1223 cb_data.key.p_key_value = p_keys; in btm_sec_save_le_key() 1224 cb_data.key.key_type = key_type; in btm_sec_save_le_key() 1226 (*btm_cb.api.p_le_callback)(BTM_LE_KEY_EVT, bd_addr, &cb_data); in btm_sec_save_le_key()
|
/system/bt/bta/hh/ |
D | bta_hh_le.cc | 467 void* cb_data) { in bta_hh_le_read_char_descriptor() argument 472 BtaGattQueue::ReadDescriptor(p_cb->conn_id, p_desc->handle, cb, cb_data); in bta_hh_le_read_char_descriptor() 646 void* cb_data) { in bta_hh_le_write_ccc() argument 656 GATT_WRITE, cb, cb_data); in bta_hh_le_write_ccc()
|
/system/bt/btif/src/ |
D | btif_rc.cc | 2779 bool iterate_supported_event_list_for_interim_rsp(void* data, void* cb_data) { in iterate_supported_event_list_for_interim_rsp() argument 2783 p_event_id = (uint8_t*)cb_data; in iterate_supported_event_list_for_interim_rsp() 2804 bool iterate_supported_event_list_for_timeout(void* data, void* cb_data) { in iterate_supported_event_list_for_timeout() argument 2805 rc_context_t* cntxt = (rc_context_t*)cb_data; in iterate_supported_event_list_for_timeout()
|