Home
last modified time | relevance | path

Searched refs:currentHostState (Results 1 – 10 of 10) sorted by relevance

/openbmc/phosphor-state-manager/
H A Dhypervisor_state_manager.cpp47 server::Host::HostState Hypervisor::currentHostState(HostState value) in currentHostState() function in phosphor::state::manager::Hypervisor
50 if (value != server::Host::currentHostState()) in currentHostState()
54 return server::Host::currentHostState(value); in currentHostState()
57 server::Host::HostState Hypervisor::currentHostState() const in currentHostState() function in phosphor::state::manager::Hypervisor
59 return server::Host::currentHostState(); in currentHostState()
69 currentHostState(server::Host::HostState::Standby); in updateCurrentHostState()
74 currentHostState(server::Host::HostState::Running); in updateCurrentHostState()
82 currentHostState(server::Host::HostState::Off); in updateCurrentHostState()
89 currentHostState(server::Host::HostState::Off); in updateCurrentHostState()
H A Dhost_state_manager.cpp69 server::Host::currentHostState(HostState::Running, true); in determineInitialState()
75 server::Host::currentHostState(HostState::Off, true); in determineInitialState()
297 this->currentHostState(server::Host::HostState::Off); in sysStateChangeJobRemoved()
306 this->currentHostState(server::Host::HostState::Running); in sysStateChangeJobRemoved()
331 this->currentHostState(server::Host::HostState::Quiesced); in sysStateChangeJobRemoved()
348 this->currentHostState(server::Host::HostState::DiagnosticMode); in sysStateChangeJobNew()
351 (server::Host::currentHostState() == in sysStateChangeJobNew()
452 Host::HostState Host::currentHostState(HostState value) in currentHostState() function in phosphor::state::manager::Host
455 return server::Host::currentHostState(value); in currentHostState()
H A Dhypervisor_state_manager.hpp63 currentHostState(server::Host::HostState value) override;
66 server::Host::HostState currentHostState() const override;
H A Dhost_state_manager.hpp102 HostState currentHostState(HostState value) override;
/openbmc/phosphor-state-manager/test/
H A Dhypervisor_state.cpp22 EXPECT_EQ(hypObj.currentHostState(), server::Host::HostState::Off); in TEST()
27 EXPECT_EQ(hypObj.currentHostState(), server::Host::HostState::Standby); in TEST()
32 EXPECT_EQ(hypObj.currentHostState(), server::Host::HostState::Running); in TEST()
37 EXPECT_EQ(hypObj.currentHostState(), server::Host::HostState::Off); in TEST()
/openbmc/phosphor-fan-presence/
H A Dpower_state.hpp286 auto currentHostState = in hostStateChanged() local
290 if (!currentHostState) in hostStateChanged()
294 HostState hostState = *currentHostState; in hostStateChanged()
359 auto currentHostState = in readHostState() local
364 hostPowerStates.emplace_back(currentHostState); in readHostState()
/openbmc/phosphor-bmc-code-mgmt/side-switch/
H A Dside_switch.cpp153 auto currentHostState = utils::getProperty<std::string>( in powerOffSystem() local
157 if (currentHostState == in powerOffSystem()
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_dbus.cpp149 std::string currentHostState(std::get<std::string>(reply)); in isHostStateRunning() local
151 if (currentHostState == in isHostStateRunning()
/openbmc/phosphor-post-code-manager/inc/
H A Dpost_code.hpp101 StateServer::Host::HostState currentHostState = in __anon43c04d960202() local
104 if (currentHostState == StateServer::Host::HostState::Off) in __anon43c04d960202()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp1625 std::string* currentHostState = in currentHostStateMonitor() local
1627 if (currentHostState == nullptr) in currentHostStateMonitor()
1634 if (*currentHostState == in currentHostStateMonitor()