Home
last modified time | relevance | path

Searched refs:ReportDataCallback (Results 1 – 16 of 16) sorted by relevance

/base/sensors/sensor/utils/include/
Dreport_data_callback.h34 class ReportDataCallback : public RefBase {
36 ReportDataCallback();
37 ~ReportDataCallback();
38 int32_t ReportEventCallback(SensorEvent *event, sptr<ReportDataCallback> cb);
43 using ReportDataCb = int32_t (ReportDataCallback::*)(SensorEvent *event, sptr<ReportDataCallback> c…
/base/sensors/sensor/utils/src/
Dreport_data_callback.cpp26 ReportDataCallback::ReportDataCallback() in ReportDataCallback() function in OHOS::Sensors::ReportDataCallback
35 ReportDataCallback::~ReportDataCallback() in ~ReportDataCallback()
47 int32_t ReportDataCallback::ReportEventCallback(SensorEvent* event, sptr<ReportDataCallback> cb) in ReportEventCallback()
88 CircularEventBuf &ReportDataCallback::GetEventData() in GetEventData()
/base/sensors/sensor/services/sensor/hdi_connection/adapter/include/
Dhdi_connection.h35 … int32_t RegisteDataReport(ReportDataCb cb, sptr<ReportDataCallback> reportDataCallback) override;
38 sptr<ReportDataCallback> GetReportDataCallback();
44 static sptr<ReportDataCallback> reportDataCallback_;
Dcompatible_connection.h34 … int32_t RegisteDataReport(ReportDataCb cb, sptr<ReportDataCallback> reportDataCallback) override;
41 static sptr<ReportDataCallback> reportDataCallback_;
/base/sensors/sensor/services/sensor/include/
Dsensor_manager.h41 sptr<ReportDataCallback> dataCallback);
50 sptr<ReportDataCallback> reportDataCallback_;
Dsensor_data_processer.h40 int32_t ProcessEvents(sptr<ReportDataCallback> dataCallback);
42 …static int DataThread(sptr<SensorDataProcesser> dataProcesser, sptr<ReportDataCallback> dataCallba…
Dsensor_service.h79 sptr<ReportDataCallback> reportDataCallback_;
/base/sensors/sensor/services/sensor/hdi_connection/interface/include/
Di_sensor_hdi_connection.h36 …virtual int32_t RegisteDataReport(ReportDataCb cb, sptr<ReportDataCallback> reportDataCallback) = …
Dsensor_hdi_connection.h34 … int32_t RegisteDataReport(ReportDataCb cb, sptr<ReportDataCallback> reportDataCallback) override;
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dsensor_event_callback.cpp32 sptr<ReportDataCallback> reportDataCallback_ = HdiConnection_->GetReportDataCallback(); in OnDataEvent()
Dcompatible_connection.cpp31 sptr<ReportDataCallback> CompatibleConnection::reportDataCallback_ = nullptr;
144 int32_t CompatibleConnection::RegisteDataReport(ReportDataCb cb, sptr<ReportDataCallback> reportDat… in RegisteDataReport()
Dhdi_connection.cpp44 sptr<ReportDataCallback> HdiConnection::reportDataCallback_ = nullptr;
155 int32_t HdiConnection::RegisteDataReport(ReportDataCb cb, sptr<ReportDataCallback> reportDataCallba… in RegisteDataReport()
196 sptr<ReportDataCallback> HdiConnection::GetReportDataCallback() in GetReportDataCallback()
/base/sensors/sensor/services/sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp114 int32_t SensorHdiConnection::RegisteDataReport(ReportDataCb cb, sptr<ReportDataCallback> reportData… in RegisteDataReport()
/base/sensors/sensor/services/sensor/src/
Dsensor_service.cpp104 reportDataCallback_ = new (std::nothrow) ReportDataCallback(); in InitDataCallback()
106 ReportDataCb cb = &ReportDataCallback::ReportEventCallback; in InitDataCallback()
Dsensor_manager.cpp35 … sptr<SensorDataProcesser> dataProcesser, sptr<ReportDataCallback> dataCallback) in InitSensorMap()
Dsensor_data_processer.cpp338 int32_t SensorDataProcesser::ProcessEvents(sptr<ReportDataCallback> dataCallback) in ProcessEvents()
378 …rocesser::DataThread(sptr<SensorDataProcesser> dataProcesser, sptr<ReportDataCallback> dataCallbac… in DataThread()