Home
last modified time | relevance | path

Searched refs:sensorObject (Results 1 – 4 of 4) sorted by relevance

/openbmc/telemetry/tests/src/
H A Dtest_sensor.cpp23 sensorObject->setValue(42.7); in SetUp()
57 DbusEnvironment::serviceName(), sensorObject->path(), "metadata",
70 sensorObject->path()))); in TEST_F()
145 sensorObject->setValue(42.7); in TEST_F()
155 sensorObject->setValue(42.7); in TEST_F()
156 sensorObject->setValue(42.7); in TEST_F()
171 sensorObject->setValue(42.7); in TEST_F()
194 sensorObject->setValue(42.7); in TEST_F()
214 sensorObject->setValue(42.7); in TEST_F()
219 sensorObject = nullptr; in TEST_F()
[all …]
/openbmc/fb-ipmi-oem/src/
H A Dstoragecommands.cpp716 auto sensorObject = sensorMap.find("xyz.openbmc_project.Sensor.Value"); in ipmiStorageGetSDR() local
717 if (sensorObject == sensorMap.end()) in ipmiStorageGetSDR()
722 auto maxObject = sensorObject->second.find("MaxValue"); in ipmiStorageGetSDR()
723 auto minObject = sensorObject->second.find("MinValue"); in ipmiStorageGetSDR()
726 if (maxObject != sensorObject->second.end()) in ipmiStorageGetSDR()
731 if (minObject != sensorObject->second.end()) in ipmiStorageGetSDR()
927 auto sensorObject = sensorMap.find("xyz.openbmc_project.Sensor.Value"); in getSensorValue() local
929 if (sensorObject == sensorMap.end() || in getSensorValue()
930 sensorObject->second.find("Value") == sensorObject->second.end()) in getSensorValue()
934 auto& valueVariant = sensorObject->second["Value"]; in getSensorValue()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp267 if (sensorObject != sensorMap.end()) in getSensorMaxMin()
269 auto maxMap = sensorObject->second.find("MaxValue"); in getSensorMaxMin()
270 auto minMap = sensorObject->second.find("MinValue"); in getSensorMaxMin()
272 if (maxMap != sensorObject->second.end()) in getSensorMaxMin()
276 if (minMap != sensorObject->second.end()) in getSensorMaxMin()
804 if (sensorObject == sensorMap.end()) in ipmiSetSensorReading()
858 if (sensorObject == sensorMap.end()) in ipmiSetSensorReading()
962 if (sensorObject == sensorMap.end() || in ipmiSenGetSensorReading()
963 sensorObject->second.find("Value") == sensorObject->second.end()) in ipmiSenGetSensorReading()
967 auto& valueVariant = sensorObject->second["Value"]; in ipmiSenGetSensorReading()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dsensors.hpp191 void addMetadata(const nlohmann::json& sensorObject, in addMetadata() argument
197 sensorObject["Name"], sensorObject["@odata.id"], dbusPath}); in addMetadata()