Lines Matching +full:entry +full:- +full:method
8 * http://www.apache.org/licenses/LICENSE-2.0
18 #include <phosphor-logging/log.hpp>
51 auto method = bus.new_method_call(systemdService, path.c_str(), in inFailedState() local
54 method.append(systemdUnitInterface, "ActiveState"); in inFailedState()
56 auto reply = bus.call(method); in inFailedState()
60 entry("UNIT=%s", source.c_str())); in inFailedState()
61 // TODO openbmc/openbmc#851 - Once available, throw returned error in inFailedState()
75 auto method = bus.new_method_call(systemdService, systemdObjPath, in getSourceUnitPath() local
77 method.append(source); in getSourceUnitPath()
78 auto reply = bus.call(method); in getSourceUnitPath()
82 log<level::ERR>("Failed GetUnit DBus method call", in getSourceUnitPath()
83 entry("UNIT=%s", source.c_str())); in getSourceUnitPath()
84 // TODO openbmc/openbmc#851 - Once available, throw returned error in getSourceUnitPath()
85 throw std::runtime_error("Failed GetUnit DBus method call"); in getSourceUnitPath()
101 entry("SOURCE=%s", source.c_str()), in runTargetAction()
102 entry("TARGET=%s", target.c_str()), in runTargetAction()
103 entry("ACTION=%s", methodCall)); in runTargetAction()
105 auto method = this->bus.new_method_call(systemdService, systemdObjPath, in runTargetAction() local
107 method.append(target); in runTargetAction()
108 method.append("replace"); in runTargetAction()
110 auto reply = bus.call(method); in runTargetAction()
115 entry("UNIT=%s", target.c_str())); in runTargetAction()
116 // TODO openbmc/openbmc#851 - Once available, throw returned error in runTargetAction()