Home
last modified time | relevance | path

Searched refs:getChassisState (Results 1 – 6 of 6) sorted by relevance

/openbmc/phosphor-logging/test/openpower-pels/
H A Dmocks.hpp35 MOCK_METHOD(std::string, getChassisState, (), (const override));
H A Dpel_test.cpp404 EXPECT_CALL(dataIface, getChassisState()).WillOnce(Return("State.On")); in TEST_F()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp537 static constexpr std::string_view getChassisState(const PowerState state) in getChassisState() function
607 std::string{getChassisState(state)}); in savePowerState()
619 std::string(getChassisState(powerState))); in setPowerState()
3204 std::string(getChassisState(powerState))); in main()
3240 "CurrentPowerState", std::string(getChassisState(powerState))); in main()
/openbmc/bmcweb/redfish-core/lib/
H A Dchassis.hpp135 inline void getChassisState(std::shared_ptr<bmcweb::AsyncResp> asyncResp) in getChassisState() function
496 getChassisState(asyncResp); in handleDecoratorAssetProperties()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddata_interface.hpp288 virtual std::string getChassisState() const in getChassisState() function in openpower::pels::DataInterfaceBase
H A Dpel.cpp897 json["ChassisState"] = lastSegment('.', dataIface.getChassisState()); in addStatesToJSON()