Searched refs:reportDataCallback_ (Results 1 – 10 of 10) sorted by relevance
46 sptr<ReportDataCache> reportDataCallback_ = HdiConnection_->getReportDataCallback(); in OnDataEvent() local47 if (reportDataCb_ == nullptr || reportDataCallback_ == nullptr) { in OnDataEvent()51 (void)(reportDataCallback_->*(reportDataCb_))(&sensorEvent, reportDataCallback_); in OnDataEvent()
45 sptr<ReportDataCallback> reportDataCallback_ = HdiConnection_->GetReportDataCallback(); in OnDataEvent() local47 CHKPR(reportDataCallback_, ERR_NO_INIT); in OnDataEvent()85 (void)(reportDataCallback_->*(reportDataCb_))(&sensorData, reportDataCallback_); in OnDataEvent()
30 sptr<ReportDataCallback> CompatibleConnection::reportDataCallback_ = nullptr; member in OHOS::Sensors::CompatibleConnection136 CHKPV(reportDataCallback_); in ReportSensorDataCallback()139 (void)(reportDataCallback_->*reportDataCb_)(&sensorData, reportDataCallback_); in ReportSensorDataCallback()153 reportDataCallback_ = reportDataCallback; in RegisterDataReport()
49 sptr<ReportDataCallback> HdiConnection::reportDataCallback_ = nullptr; member in OHOS::Sensors::HdiConnection185 reportDataCallback_ = reportDataCallback; in RegisterDataReport()215 if (reportDataCallback_ == nullptr) { in GetReportDataCallback()218 return reportDataCallback_; in GetReportDataCallback()
47 reportDataCallback_ = dataCallback; in InitSensorMap()100 …read dataProcessThread(SensorDataProcesser::DataThread, sensorDataProcesser_, reportDataCallback_); in StartDataReportThread()
116 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()
41 static sptr<ReportDataCallback> reportDataCallback_; variable
44 static sptr<ReportDataCallback> reportDataCallback_; variable
57 sptr<ReportDataCallback> reportDataCallback_ = nullptr; variable
109 sptr<ReportDataCallback> reportDataCallback_ = nullptr; variable