Searched refs:sensorHdiConnection_ (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/ |
H A D | medical_service.cpp | 99 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 D | medical_manager.cpp | 72 auto ret = sensorHdiConnection_.SetBatch(sensorId, bestSamplingPeriodNs, bestReportDelayNs); in SetBestSensorParams() 89 auto ret = sensorHdiConnection_.SetBatch(sensorId, sensorInfo.GetSamplingPeriodNs(), in ResetBestSensorParams()
|
H A D | flush_info_record.cpp | 102 … auto ret = sensorHdiConnection_.RunCommand(sensorId, static_cast<int32_t>(FlushCmdId::FLUSH), 0); in FlushProcess()
|
/ohos5.0/base/sensors/sensor/services/src/ |
H A D | sensor_service.cpp | 136 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 D | sensor_power_policy.cpp | 36 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance(); variable 92 auto ret = sensorHdiConnection_.DisableSensor(sensorId); in Suspend() 160 ret = sensorHdiConnection_.EnableSensor(sensorId); in Resume()
|
H A D | sensor_manager.cpp | 68 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 D | flush_info_record.h | 61 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
|
H A D | medical_sensor_manager.h | 47 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
|
H A D | medical_sensor_service.h | 88 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
|
/ohos5.0/base/sensors/sensor/services/include/ |
H A D | sensor_manager.h | 54 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
|
H A D | sensor_service.h | 107 SensorHdiConnection &sensorHdiConnection_ = SensorHdiConnection::GetInstance();
|