Home
last modified time | relevance | path

Searched refs:reportDataCallback_ (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/
H A Dsensor_event_callback.cpp46 sptr<ReportDataCache> reportDataCallback_ = HdiConnection_->getReportDataCallback(); in OnDataEvent() local
47 if (reportDataCb_ == nullptr || reportDataCallback_ == nullptr) { in OnDataEvent()
51 (void)(reportDataCallback_->*(reportDataCb_))(&sensorEvent, reportDataCallback_); in OnDataEvent()
/ohos5.0/base/sensors/sensor/services/hdi_connection/adapter/src/
H A Dsensor_event_callback.cpp45 sptr<ReportDataCallback> reportDataCallback_ = HdiConnection_->GetReportDataCallback(); in OnDataEvent() local
47 CHKPR(reportDataCallback_, ERR_NO_INIT); in OnDataEvent()
85 (void)(reportDataCallback_->*(reportDataCb_))(&sensorData, reportDataCallback_); in OnDataEvent()
H A Dcompatible_connection.cpp30 sptr<ReportDataCallback> CompatibleConnection::reportDataCallback_ = nullptr; member in OHOS::Sensors::CompatibleConnection
136 CHKPV(reportDataCallback_); in ReportSensorDataCallback()
139 (void)(reportDataCallback_->*reportDataCb_)(&sensorData, reportDataCallback_); in ReportSensorDataCallback()
153 reportDataCallback_ = reportDataCallback; in RegisterDataReport()
H A Dhdi_connection.cpp49 sptr<ReportDataCallback> HdiConnection::reportDataCallback_ = nullptr; member in OHOS::Sensors::HdiConnection
185 reportDataCallback_ = reportDataCallback; in RegisterDataReport()
215 if (reportDataCallback_ == nullptr) { in GetReportDataCallback()
218 return reportDataCallback_; in GetReportDataCallback()
/ohos5.0/base/sensors/sensor/services/src/
H A Dsensor_manager.cpp47 reportDataCallback_ = dataCallback; in InitSensorMap()
100 …read dataProcessThread(SensorDataProcesser::DataThread, sensorDataProcesser_, reportDataCallback_); in StartDataReportThread()
H A Dsensor_service.cpp116 sensorManager_.InitSensorMap(sensorMap_, sensorDataProcesser_, reportDataCallback_); in OnStart()
146 reportDataCallback_ = new (std::nothrow) ReportDataCallback(); in InitDataCallback()
147 CHKPF(reportDataCallback_); in InitDataCallback()
149 auto ret = sensorHdiConnection_.RegisterDataReport(cb, reportDataCallback_); in InitDataCallback()
/ohos5.0/base/sensors/sensor/services/hdi_connection/adapter/include/
H A Dcompatible_connection.h41 static sptr<ReportDataCallback> reportDataCallback_; variable
H A Dhdi_connection.h44 static sptr<ReportDataCallback> reportDataCallback_; variable
/ohos5.0/base/sensors/sensor/services/include/
H A Dsensor_manager.h57 sptr<ReportDataCallback> reportDataCallback_ = nullptr; variable
H A Dsensor_service.h109 sptr<ReportDataCallback> reportDataCallback_ = nullptr; variable