Lines Matching defs:modeValue
2134 computer_system::PowerMode modeValue =
2136 if (modeValue == computer_system::PowerMode::Invalid)
2141 modeList.emplace_back(modeValue);
2147 const computer_system::PowerMode modeValue =
2149 if (modeValue == computer_system::PowerMode::Invalid)
2154 asyncResp->res.jsonValue["PowerMode"] = modeValue;
2230 * @param[in] modeValue String representing the desired PowerMode
2236 const nlohmann::json& modeValue)
2241 if (modeValue == PowerMode::Static)
2245 else if (modeValue == PowerMode::MaximumPerformance)
2250 else if (modeValue == PowerMode::PowerSaving)
2254 else if (modeValue == PowerMode::BalancedPerformance)
2259 else if (modeValue == PowerMode::EfficiencyFavorPerformance)
2264 else if (modeValue == PowerMode::EfficiencyFavorPower)
2271 messages::propertyValueNotInList(asyncResp->res, modeValue.dump(),