Home
last modified time | relevance | path

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

/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()
/base/sensors/sensor/services/hdi_connection/adapter/src/
H A Dsensor_event_callback.cpp46 sptr<ReportDataCallback> reportDataCallback_ = HdiConnection_->GetReportDataCallback(); in OnDataEvent() local
48 CHKPR(reportDataCallback_, ERR_NO_INIT); in OnDataEvent()
86 (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()
152 reportDataCallback_ = reportDataCallback; in RegisterDataReport()
H A Dhdi_connection.cpp51 sptr<ReportDataCallback> HdiConnection::reportDataCallback_ = nullptr; member in OHOS::Sensors::HdiConnection
197 reportDataCallback_ = reportDataCallback; in RegisterDataReport()
229 if (reportDataCallback_ == nullptr) { in GetReportDataCallback()
230 SEN_HILOGE("reportDataCallback_ cannot be null"); in GetReportDataCallback()
232 return reportDataCallback_; in GetReportDataCallback()
/base/sensors/sensor/services/hdi_connection/adapter/include/
H A Dcompatible_connection.h41 static sptr<ReportDataCallback> reportDataCallback_; member in OHOS::Sensors::CompatibleConnection
H A Dhdi_connection.h44 static sptr<ReportDataCallback> reportDataCallback_; member in OHOS::Sensors::HdiConnection
/base/sensors/sensor/services/include/
H A Dsensor_manager.h57 sptr<ReportDataCallback> reportDataCallback_ = nullptr; member in OHOS::Sensors::SensorManager
H A Dsensor_service.h107 sptr<ReportDataCallback> reportDataCallback_ = nullptr; member in OHOS::Sensors::SensorService
/base/sensors/sensor/services/src/
H A Dsensor_manager.cpp47 reportDataCallback_ = dataCallback; in InitSensorMap()
98 std::thread dataProcessThread(SensorDataProcesser::DataThread, sensorDataProcesser_, reportDataCallback_); in StartDataReportThread()
H A Dsensor_service.cpp101 sensorManager_.InitSensorMap(sensorMap_, sensorDataProcesser_, reportDataCallback_); in OnStart()
128 reportDataCallback_ = new (std::nothrow) ReportDataCallback(); in InitDataCallback()
129 CHKPF(reportDataCallback_); in InitDataCallback()
131 auto ret = sensorHdiConnection_.RegisterDataReport(cb, reportDataCallback_); in InitDataCallback()

Completed in 4 milliseconds