Lines Matching refs:state

55             state = PowerOpState::powerOnPress;  in pressed()
69 if (state == PowerOpState::buttonNotPressed) in pressed()
72 state = PowerOpState::buttonPressed; in pressed()
79 else if (state == PowerOpState::buttonReleasedHostToChassisOffWindow) in pressed()
82 state = PowerOpState::chassisOffStarted; in pressed()
95 if (state == PowerOpState::buttonPressedHostOffStarted) in released()
97 state = PowerOpState::buttonReleasedHostToChassisOffWindow; in released()
101 state = PowerOpState::buttonNotPressed; in released()
109 if ((state == PowerOpState::buttonPressed) && (now >= hostOffTime)) in timerHandler()
113 state = PowerOpState::buttonPressedHostOffStarted; in timerHandler()
117 else if ((state == PowerOpState::buttonPressedHostOffStarted) && in timerHandler()
122 state = PowerOpState::chassisOffStarted; in timerHandler()
132 std::variant<std::string> state = convertForMessage(transition); in hostTransition() local
135 "TRANS", std::get<std::string>(state)); in hostTransition()
140 method.append(interface::hostState, "RequestedHostTransition", state); in hostTransition()
167 std::variant<std::string> state = in chassisPowerOff() local
174 state); in chassisPowerOff()
196 auto state = result.unpack<std::variant<std::string>>(); in isPoweredOn() local
199 Chassis::convertPowerStateFromString(std::get<std::string>(state)); in isPoweredOn()
222 auto state = result.unpack<std::variant<std::string>>(); in isBmcReady() local
224 bmcState = BMC::convertBMCStateFromString(std::get<std::string>(state)); in isBmcReady()