Lines Matching +full:auto +full:- +full:boot
3 #include <xyz/openbmc_project/State/Boot/Progress/server.hpp>
11 //------------------------------------------------------------------------------
13 constexpr auto objectMapperService = "xyz.openbmc_project.ObjectMapper";
14 constexpr auto objectMapperPath = "/xyz/openbmc_project/object_mapper";
15 constexpr auto objectMapperInterface = "xyz.openbmc_project.ObjectMapper";
25 auto bus = sdbusplus::bus::new_default(); in find()
29 constexpr auto function = "GetSubTree"; in find()
31 auto method = bus.new_method_call(objectMapperService, objectMapperPath, in find()
38 auto reply = bus.call(method); in find()
46 auto object = *(response.begin()); in find()
48 o_service = object.second.begin()->first; // return service in find()
69 auto bus = sdbusplus::bus::new_default(); in findService()
73 constexpr auto function = "GetObject"; in findService()
75 auto method = bus.new_method_call(objectMapperService, objectMapperPath, in findService()
82 auto reply = bus.call(method); in findService()
91 o_service = response.begin()->first; in findService()
113 auto bus = sdbusplus::bus::new_default(); in getProperty()
117 constexpr auto interface = "org.freedesktop.DBus.Properties"; in getProperty()
118 constexpr auto function = "Get"; in getProperty()
121 auto method = bus.new_method_call(i_service.c_str(), i_path.c_str(), in getProperty()
125 auto reply = bus.call(method); in getProperty()
147 constexpr auto interface = in systemNames()
159 constexpr auto property = "Names"; in systemNames()
177 std::string target = "obmc-host-quiesce@0.target"; // quiesce is default in transitionHost()
182 target = "obmc-host-crash@0.target"; in transitionHost()
191 target = "obmc-chassis-hard-poweroff@0.target"; in transitionHost()
194 auto bus = sdbusplus::bus::new_system(); in transitionHost()
195 auto method = bus.new_method_call( in transitionHost()
218 constexpr auto interface = "xyz.openbmc_project.Control.Boot.RebootPolicy"; in autoRebootEnabled()
229 constexpr auto property = "AutoReboot"; in autoRebootEnabled()
247 constexpr auto interface = "xyz.openbmc_project.State.Boot.Progress"; in hostRunningState()
257 // boot progress is implemented as a property in hostRunningState()
258 constexpr auto property = "BootProgress"; in hostRunningState()
265 // convert boot progress to host state in hostRunningState()
266 using BootProgress = sdbusplus::xyz::openbmc_project::State::Boot:: in hostRunningState()
269 BootProgress stage = sdbusplus::xyz::openbmc_project::State::Boot:: in hostRunningState()
287 constexpr auto hostStateInterface = "xyz.openbmc_project.State.Host"; in hostRunningState()
293 constexpr auto stateProperty = "CurrentHostState"; in hostRunningState()
319 constexpr auto interface = "xyz.openbmc_project.Object.Enable"; in dumpPolicyEnabled()
320 constexpr auto path = "/xyz/openbmc_project/dump/system_dump_policy"; in dumpPolicyEnabled()
330 constexpr auto property = "Enabled"; in dumpPolicyEnabled()
351 constexpr auto interface = "org.open_power.Logging.PEL"; in createPel()
352 constexpr auto path = "/xyz/openbmc_project/logging"; in createPel()
361 constexpr auto function = "CreatePELWithFFDCFiles"; in createPel()
367 auto bus = sdbusplus::bus::new_system(); in createPel()
375 auto response = bus.call(method); in createPel()
402 constexpr auto interface = "com.ibm.ipzvpd.VSBP"; in getMachineType()
412 constexpr auto property = "IM"; in getMachineType()
421 // are defined in /openbmc/openpower-vpd-parser/const.hpp in getMachineType()
455 for (const auto& id : ids) in getMachineType()
476 constexpr auto service = "xyz.openbmc_project.PLDM"; in getStateEffecterPdrs()
477 constexpr auto path = "/xyz/openbmc_project/pldm"; in getStateEffecterPdrs()
478 constexpr auto interface = "xyz.openbmc_project.PLDM.PDR"; in getStateEffecterPdrs()
479 constexpr auto function = "FindStateEffecterPDR"; in getStateEffecterPdrs()
486 auto bus = sdbusplus::bus::new_default(); in getStateEffecterPdrs()
494 auto reply = bus.call(method); in getStateEffecterPdrs()
511 constexpr auto service = "xyz.openbmc_project.PLDM"; in getStateSensorPdrs()
512 constexpr auto path = "/xyz/openbmc_project/pldm"; in getStateSensorPdrs()
513 constexpr auto interface = "xyz.openbmc_project.PLDM.PDR"; in getStateSensorPdrs()
514 constexpr auto function = "FindStateSensorPDR"; in getStateSensorPdrs()
521 auto bus = sdbusplus::bus::new_default(); in getStateSensorPdrs()
529 auto reply = bus.call(method); in getStateSensorPdrs()
548 constexpr auto interface = "org.openbmc.control.Power"; in powerFault()
559 constexpr auto property = "pgood"; in powerFault()