Lines Matching +full:auto +full:- +full:boot
3 #include <systemd/sd-event.h>
6 #include <phosphor-logging/elog-errors.hpp>
7 #include <phosphor-logging/lg2.hpp>
10 #include <xyz/openbmc_project/State/Boot/Progress/server.hpp>
25 using BootProgress = sdbusplus::xyz::openbmc_project::State::Boot::server::
27 constexpr auto HOST_STATE_OBJ_PATH = "/xyz/openbmc_project/state/host0";
35 auto& bus = getBus(); in getService()
37 auto mapper = bus.new_method_call(MAPPER_BUSNAME, MAPPER_OBJ_PATH, in getService()
41 auto mapperResponseMsg = bus.call(mapper); in getService()
52 return mapperResponse.cbegin()->first; in getService()
61 auto& bus = getBus(); in getProperty()
62 auto service = getService(objectPath, interface); in getProperty()
68 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getProperty()
72 auto reply = bus.call(method); in getProperty()
81 * @param[in] objectPath - Name of the object containing the property
82 * @param[in] interface - Interface name containing the property
83 * @param[in] propertyName - Property name
84 * @param[in] value - Property value
94 auto& bus = getBus(); in setProperty()
95 auto service = getService(objectPath, interface); in setProperty()
101 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in setProperty()
105 auto reply = bus.call(method); in setProperty()
114 auto error = errno; in setProperty()
125 auto& bus = getBus(); in getSubtreePaths()
126 auto method = bus.new_method_call(MAPPER_BUSNAME, MAPPER_OBJ_PATH, in getSubtreePaths()
130 auto reply = bus.call(method); in getSubtreePaths()
148 auto& bus = getBus(); in getServiceUsingSubTree()
149 auto method = bus.new_method_call(MAPPER_BUSNAME, MAPPER_OBJ_PATH, in getServiceUsingSubTree()
153 auto mapperResponseMsg = bus.call(method); in getServiceUsingSubTree()
163 path = rspObjects.begin()->first; in getServiceUsingSubTree()
164 if (!rspObjects.begin()->second.empty()) in getServiceUsingSubTree()
166 service = rspObjects.begin()->second.begin()->first; in getServiceUsingSubTree()
185 auto& bus = getBus(); in getStateValue()
186 auto service = getService(objPath, intf); in getStateValue()
192 auto method = in getStateValue()
198 auto reply = bus.call(method); in getStateValue()
208 lg2::error("D-Bus call exception, OBJPATH({PATH}), " in getStateValue()
229 constexpr auto bootProgressInterface = in getBootProgress()
230 "xyz.openbmc_project.State.Boot.Progress"; in getBootProgress()
233 bootProgessStage = sdbusplus::xyz::openbmc_project::State::Boot::server:: in getBootProgress()