Searched refs:OccDBusSensors (Results 1 – 4 of 4) sorted by relevance
/openbmc/openpower-occ-control/test/ |
H A D | occ_dbus_test.cpp | 7 TEST(OccDBusSensors, MaxValue) in TEST() argument 13 OccDBusSensors::getOccDBus().setMaxValue(tmpPath, maxValue); in TEST() 14 retMaxValue = OccDBusSensors::getOccDBus().getMaxValue(tmpPath); in TEST() 17 ASSERT_THROW(OccDBusSensors::getOccDBus().getMaxValue("/abcd/"), in TEST() 21 TEST(OccDBusSensors, MinValue) in TEST() argument 27 OccDBusSensors::getOccDBus().setMinValue(tmpPath, minValue); in TEST() 28 retMinValue = OccDBusSensors::getOccDBus().getMinValue(tmpPath); in TEST() 31 ASSERT_THROW(OccDBusSensors::getOccDBus().getMinValue("/abcd/"), in TEST() 35 TEST(OccDBusSensors, Value) in TEST() argument 41 OccDBusSensors::getOccDBus().setValue(tmpPath, value); in TEST() [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_dbus.hpp | 30 class OccDBusSensors class 33 OccDBusSensors() {} in OccDBusSensors() function in open_power::occ::dbus::OccDBusSensors 36 OccDBusSensors(const OccDBusSensors&) = delete; 37 OccDBusSensors(OccDBusSensors&&) = delete; 38 OccDBusSensors& operator=(const OccDBusSensors&) = delete; 39 OccDBusSensors& operator=(OccDBusSensors&&) = delete; 40 ~OccDBusSensors() = default; 42 static OccDBusSensors& getOccDBus() in getOccDBus() 44 static OccDBusSensors customDBus; in getOccDBus()
|
H A D | occ_dbus.cpp | 21 bool OccDBusSensors::setMaxValue(const std::string& path, double value) in setMaxValue() 38 double OccDBusSensors::getMaxValue(const std::string& path) const in getMaxValue() 48 bool OccDBusSensors::setMinValue(const std::string& path, double value) in setMinValue() 65 double OccDBusSensors::getMinValue(const std::string& path) const in getMinValue() 75 bool OccDBusSensors::setValue(const std::string& path, double value) in setValue() 92 double OccDBusSensors::getValue(const std::string& path) const in getValue() 102 bool OccDBusSensors::setUnit(const std::string& path, const std::string& value) in setUnit() 128 std::string OccDBusSensors::getUnit(const std::string& path) const in getUnit() 145 bool OccDBusSensors::setOperationalStatus(const std::string& path, bool value) in setOperationalStatus() 162 bool OccDBusSensors::getOperationalStatus(const std::string& path) const in getOperationalStatus() [all …]
|
H A D | occ_manager.cpp | 1030 !dbus::OccDBusSensors::getOccDBus().hasDvfsTemp(dvfsTempPath)) in readTempSensors() 1036 dbus::OccDBusSensors::getOccDBus().setDvfsTemp( in readTempSensors() 1129 dbus::OccDBusSensors::getOccDBus().setValue(objectPath, in readTempSensors() 1132 dbus::OccDBusSensors::getOccDBus().setOperationalStatus( in readTempSensors() 1137 dbus::OccDBusSensors::getOccDBus().setChassisAssociation( in readTempSensors() 1230 dbus::OccDBusSensors::getOccDBus().setUnit( in readPowerSensors() 1233 dbus::OccDBusSensors::getOccDBus().setValue( in readPowerSensors() 1236 dbus::OccDBusSensors::getOccDBus().setOperationalStatus( in readPowerSensors() 1248 dbus::OccDBusSensors::getOccDBus().setChassisAssociation( in readPowerSensors() 1263 dbus::OccDBusSensors::getOccDBus().setValue( in setSensorValueToNaN() [all …]
|