Home
last modified time | relevance | path

Searched refs:sensorHdiConnection_ (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dmedical_service.cpp99 auto ret = sensorHdiConnection_.ConnectHdi(); in InitInterface()
117 auto ret = sensorHdiConnection_.RegisteDataReport(cacheData, reportDataCache_); in InitDataCache()
128 int32_t ret = sensorHdiConnection_.GetSensorList(sensors_); in InitSensorList()
151 int32_t ret = sensorHdiConnection_.DestroyHdiConnection(); in OnStop()
269 ret = sensorHdiConnection_.EnableSensor(sensorId); in EnableSensor()
301 if (sensorHdiConnection_.DisableSensor(sensorId) != ERR_OK) { in DisableSensor()
317 if (sensorHdiConnection_.SetOption(sensorId, opt) != ERR_OK) { in SetOption()
357 if (sensorHdiConnection_.RunCommand(sensorId, cmdType, params) != ERR_OK) { in RunCommand()
370 int32_t ret = sensorHdiConnection_.GetSensorList(sensors_); in GetSensorList()
H A Dmedical_manager.cpp72 auto ret = sensorHdiConnection_.SetBatch(sensorId, bestSamplingPeriodNs, bestReportDelayNs); in SetBestSensorParams()
89 auto ret = sensorHdiConnection_.SetBatch(sensorId, sensorInfo.GetSamplingPeriodNs(), in ResetBestSensorParams()
H A Dflush_info_record.cpp102 … auto ret = sensorHdiConnection_.RunCommand(sensorId, static_cast<int32_t>(FlushCmdId::FLUSH), 0); in FlushProcess()
/ohos5.0/base/sensors/sensor/services/src/
H A Dsensor_service.cpp136 auto ret = sensorHdiConnection_.ConnectHdi(); in InitInterface()
149 auto ret = sensorHdiConnection_.RegisterDataReport(cb, reportDataCallback_); in InitDataCallback()
160 int32_t ret = sensorHdiConnection_.GetSensorList(sensors_); in InitSensorList()
191 int32_t ret = sensorHdiConnection_.DestroyHdiConnection(); in OnStop()
329 ret = sensorHdiConnection_.EnableSensor(sensorId); in EnableSensor()
365 if (sensorHdiConnection_.DisableSensor(sensorId) != ERR_OK) { in DisableSensor()
386 int32_t ret = sensorHdiConnection_.GetSensorList(sensors_); in GetSensorList()
H A Dsensor_power_policy.cpp36 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance(); variable
92 auto ret = sensorHdiConnection_.DisableSensor(sensorId); in Suspend()
160 ret = sensorHdiConnection_.EnableSensor(sensorId); in Resume()
H A Dsensor_manager.cpp68 auto ret = sensorHdiConnection_.SetBatch(sensorId, bestSamplingPeriodNs, bestReportDelayNs); in SetBestSensorParams()
85 auto ret = sensorHdiConnection_.SetBatch(sensorId, in ResetBestSensorParams()
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/include/
H A Dflush_info_record.h61 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
H A Dmedical_sensor_manager.h47 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
H A Dmedical_sensor_service.h88 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
/ohos5.0/base/sensors/sensor/services/include/
H A Dsensor_manager.h54 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
H A Dsensor_service.h107 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();