Home
last modified time | relevance | path

Searched full:currenthoststate (Results 1 – 25 of 69) 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.hpp60 /** @brief Set value of CurrentHostState */
61 server::Host::HostState currentHostState(
64 /** @brief Return value of CurrentHostState */
65 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.hpp268 * @brief PropertiesChanged callback for the CurrentHostState property.
285 auto currentHostState = in hostStateChanged() local
289 if (!currentHostState) in hostStateChanged()
293 HostState hostState = *currentHostState; in hostStateChanged()
333 * @brief Reads the CurrentHostState property from D-Bus and saves it.
358 auto currentHostState = in readHostState() local
363 hostPowerStates.emplace_back(currentHostState); in readHostState()
376 const std::string _hostStateProperty{"CurrentHostState"};
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_dbus.cpp145 method.append(interface, "CurrentHostState"); in isHostStateRunning()
151 std::string currentHostState(std::get<std::string>(reply)); in isHostStateRunning() local
153 if (currentHostState == in isHostStateRunning()
161 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/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-bmc-code-mgmt/eeprom-device/
H A Deeprom_device.cpp388 auto it = changedProperties.find("CurrentHostState"); in writeEEPROM()
391 const auto& currentHostState = std::get<std::string>(it->second); in writeEEPROM()
393 if (currentHostState == in writeEEPROM()
397 "STATE", currentHostState); in writeEEPROM()
445 const auto& currentHostState = std::get<std::string>(it->second); processHostStateChange() local
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/
H A Dhoststate15 CurrentHostState"
/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-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dassert-power-good13 CurrentHostState | awk '{print $2}' | tr -d '"')
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/power-saving-policy/
H A Dnic-3.yaml17 property: CurrentHostState
H A Dnic-4.yaml17 property: CurrentHostState
H A Dnic-2.yaml17 property: CurrentHostState

123