Home
last modified time | relevance | path

Searched refs:reportDataCb_ (Results 1 - 6 of 6) sorted by relevance

/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/
H A Dsensor_event_callback.cpp45 DataCacheFunc reportDataCb_ = HdiConnection_->getReportDataCb(); in OnDataEvent() local
47 if (reportDataCb_ == nullptr || reportDataCallback_ == nullptr) { in OnDataEvent()
48 HiLog::Error(LABEL, "%{public}s reportDataCb_ cannot be null", __func__); in OnDataEvent()
51 (void)(reportDataCallback_->*(reportDataCb_))(&sensorEvent, reportDataCallback_); in OnDataEvent()
/base/sensors/sensor/services/hdi_connection/adapter/src/
H A Dsensor_event_callback.cpp45 ReportDataCb reportDataCb_ = HdiConnection_->GetReportDataCb(); in OnDataEvent() local
47 CHKPR(reportDataCb_, ERR_NO_INIT); in OnDataEvent()
86 (void)(reportDataCallback_->*(reportDataCb_))(&sensorData, reportDataCallback_); in OnDataEvent()
H A Dcompatible_connection.cpp29 ReportDataCb CompatibleConnection::reportDataCb_ = nullptr;
137 CHKPV(reportDataCb_); in ReportSensorDataCallback()
139 (void)(reportDataCallback_->*reportDataCb_)(&sensorData, reportDataCallback_); in ReportSensorDataCallback()
151 reportDataCb_ = cb; in RegisterDataReport()
H A Dhdi_connection.cpp50 ReportDataCb HdiConnection::reportDataCb_ = nullptr;
196 reportDataCb_ = cb; in RegisterDataReport()
221 if (reportDataCb_ == nullptr) { in GetReportDataCb()
222 SEN_HILOGE("reportDataCb_ cannot be null"); in GetReportDataCb()
224 return reportDataCb_; in GetReportDataCb()
/base/sensors/sensor/services/hdi_connection/adapter/include/
H A Dcompatible_connection.h40 static ReportDataCb reportDataCb_; member in OHOS::Sensors::CompatibleConnection
H A Dhdi_connection.h43 static ReportDataCb reportDataCb_; member in OHOS::Sensors::HdiConnection

Completed in 3 milliseconds