Home
last modified time | relevance | path

Searched full:currenthoststate (Results 1 – 25 of 68) sorted by relevance

123

/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 Dhypervisor_state_manager.hpp61 /** @brief Set value of CurrentHostState */
62 server::Host::HostState currentHostState(
65 /** @brief Return value of CurrentHostState */
66 server::Host::HostState currentHostState() const override;
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()
/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.hpp269 * @brief PropertiesChanged callback for the CurrentHostState property.
286 auto currentHostState = in hostStateChanged() local
290 if (!currentHostState) in hostStateChanged()
294 HostState hostState = *currentHostState; in hostStateChanged()
334 * @brief Reads the CurrentHostState property from D-Bus and saves it.
359 auto currentHostState = in readHostState() local
364 hostPowerStates.emplace_back(currentHostState); in readHostState()
377 const std::string _hostStateProperty{"CurrentHostState"};
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_dbus.cpp143 method.append(interface, "CurrentHostState"); in isHostStateRunning()
149 std::string currentHostState(std::get<std::string>(reply)); in isHostStateRunning() local
151 if (currentHostState == in isHostStateRunning()
159 lg2::error("Failed to read CurrentHostState property ({ERROR})", in isHostStateRunning()
H A Dwatchdog_dbus.hpp57 * @return true if the CurrentHostState is 'Running'
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DHost.interface.yaml24 supported. This list is valid from any CurrentHostState.
26 - name: CurrentHostState
31 comparing the CurrentHostState and the RequestedHostTransition
/openbmc/openpower-proc-control/
H A Dutil.cpp55 constexpr auto property = "CurrentHostState"; in isHostPoweringOff()
70 "CurrentHostState property is not set ({})", object); in isHostPoweringOff()
87 std::format("Failed to read CurrentHostState property ({})", in isHostPoweringOff()
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dassert-power-good13 CurrentHostState | awk '{print $2}' | tr -d '"')
23 CurrentHostState s \
H A Ddeassert-power-good29 CurrentHostState | awk '{print $2}' | tr -d '"')
39 CurrentHostState s \
/openbmc/phosphor-post-code-manager/inc/
H A Dpost_code.hpp98 auto valPropMap = msgData.find("CurrentHostState"); in __anon43c04d960202()
101 StateServer::Host::HostState currentHostState = in __anon43c04d960202() local
104 if (currentHostState == StateServer::Host::HostState::Off) in __anon43c04d960202()
/openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/
H A Dside_switch.cpp153 auto currentHostState = utils::getProperty<std::string>( in powerOffSystem() local
155 "xyz.openbmc_project.State.Host", "CurrentHostState"); in powerOffSystem()
157 if (currentHostState == in powerOffSystem()
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/
H A Dhoststate15 CurrentHostState"
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/gpio/greatlakes-gpio-monitor-register/
H A Dset-current-host-state@.service6 …%i /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbm…
/openbmc/phosphor-state-manager/service_files/
H A Dphosphor-set-host-transition-to-off@.service13 …i` /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host CurrentHostState s xyz.openbmc…
H A Dphosphor-set-host-transition-to-running@.service14 …i` /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host CurrentHostState s xyz.openbmc…
/openbmc/openbmc/meta-ampere/meta-common/recipes-ampere/host/ampere-hostctrl/
H A Dampere-bmc-reboot-host-check@.service13 …t0` /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState | grep -i "\\…
H A Dampere_host_check.sh6 CurrentHostState | cut -d"." -f6)
/openbmc/openbmc/meta-ampere/meta-common/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend10 # To use CurrentHostState to decide host state for phosphor-fan-monitor
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/plat-tools/files/
H A Dbletchley-system-state-init10 PROPERTY_NAME="CurrentHostState"
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dhost-poweron-failure23 xyz.openbmc_project.State.Host CurrentHostState \
H A Dpower-cmd23 export HOST_PROPERTY_NAME="CurrentHostState"
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/power-saving-policy/
H A Dnic-3.yaml17 property: CurrentHostState
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/
H A Dpower-cmd33 export HOST_PROPERTY_NAME="CurrentHostState"

123