Searched refs:iSensorHdiConnection_ (Results 1 – 4 of 4) sorted by relevance
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/src/ |
D | sensor_hdi_connection.cpp | 34 iSensorHdiConnection_ = std::make_unique<HdiConnection>(); in ConnectHdi() 39 iSensorHdiConnection_ = std::make_unique<CompatibleConnection>(); in ConnectHdi() 50 int32_t ret = iSensorHdiConnection_->ConnectHdi(); in connectHdiService() 55 ret = iSensorHdiConnection_->GetSensorList(sensorList_); in connectHdiService() 71 int32_t ret = iSensorHdiConnection_->EnableSensor(sensorId); in EnableSensor() 81 int32_t ret = iSensorHdiConnection_->DisableSensor(sensorId); in DisableSensor() 91 int32_t ret = iSensorHdiConnection_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch() 101 int32_t ret = iSensorHdiConnection_->SetMode(sensorId, mode); in SetMode() 111 int32_t ret = iSensorHdiConnection_->SetOption(sensorId, option); in SetOption() 121 int32_t ret = iSensorHdiConnection_->RunCommand(sensorId, cmd, params); in RunCommand() [all …]
|
/base/sensors/sensor/services/sensor/hdi_connection/interface/src/ |
D | sensor_hdi_connection.cpp | 37 iSensorHdiConnection_ = std::make_unique<HdiConnection>(); in ConnectHdi() 42 iSensorHdiConnection_ = std::make_unique<CompatibleConnection>(); in ConnectHdi() 68 int32_t ret = iSensorHdiConnection_->ConnectHdi(); in ConnectHdiService() 73 ret = iSensorHdiConnection_->GetSensorList(sensorList_); in ConnectHdiService() 150 CHKPR(iSensorHdiConnection_, ENABLE_SENSOR_ERR); in EnableSensor() 151 ret = iSensorHdiConnection_->EnableSensor(sensorId); in EnableSensor() 174 CHKPR(iSensorHdiConnection_, DISABLE_SENSOR_ERR); in DisableSensor() 175 ret = iSensorHdiConnection_->DisableSensor(sensorId); in DisableSensor() 198 CHKPR(iSensorHdiConnection_, SET_SENSOR_CONFIG_ERR); in SetBatch() 199 ret = iSensorHdiConnection_->SetBatch(sensorId, samplingInterval, reportInterval); in SetBatch() [all …]
|
/base/sensors/sensor/services/sensor/hdi_connection/interface/include/ |
D | sensor_hdi_connection.h | 41 std::unique_ptr<ISensorHdiConnection> iSensorHdiConnection_ { nullptr };
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/include/ |
D | sensor_hdi_connection.h | 52 std::unique_ptr<ISensorHdiConnection> iSensorHdiConnection_; variable
|