Home
last modified time | relevance | path

Searched refs:currentHostState (Results 1 – 11 of 11) 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()
463 Host::HostState Host::currentHostState(HostState value) in currentHostState() function in phosphor::state::manager::Host
466 return server::Host::currentHostState(value); in currentHostState()
H A Dhypervisor_state_manager.hpp61 server::Host::HostState currentHostState(
65 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.hpp285 auto currentHostState = in hostStateChanged() local
289 if (!currentHostState) in hostStateChanged()
293 HostState hostState = *currentHostState; in hostStateChanged()
358 auto currentHostState = in readHostState() local
363 hostPowerStates.emplace_back(currentHostState); in readHostState()
/openbmc/phosphor-bmc-code-mgmt/bmc/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.cpp151 std::string currentHostState(std::get<std::string>(reply)); in isHostStateRunning() local
153 if (currentHostState == in isHostStateRunning()
/openbmc/phosphor-bmc-code-mgmt/eeprom-device/
H A Deeprom_device.cpp391 const auto& currentHostState = std::get<std::string>(it->second); in processHostStateChange() local
393 if (currentHostState == in processHostStateChange()
397 "STATE", currentHostState); in processHostStateChange()
/openbmc/phosphor-post-code-manager/inc/
H A Dpost_code.hpp125 StateServer::Host::HostState currentHostState = in __anon43c04d960202() local
128 if (currentHostState == StateServer::Host::HostState::Off) in __anon43c04d960202()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp1627 std::string* currentHostState = in currentHostStateMonitor() local
1629 if (currentHostState == nullptr) in currentHostStateMonitor()
1636 if (*currentHostState == in currentHostStateMonitor()