Home
last modified time | relevance | path

Searched refs:objectPath (Results 1 – 25 of 151) sorted by relevance

1234567

/openbmc/phosphor-host-ipmid/test/session/
H A Dclosesession_unittest.cpp9 std::string objectPath = in TEST() local
13 parseCloseSessionInputPayload(objectPath, sessionId, sessionHandle)); in TEST()
27 std::string objectPath = "/xyz/openbmc_project/ipmi/session/eth0/12a4567d"; in TEST() local
30 parseCloseSessionInputPayload(objectPath, sessionId, sessionHandle)); in TEST()
37 std::string objectPath; in TEST() local
40 parseCloseSessionInputPayload(objectPath, sessionId, sessionHandle)); in TEST()
45 std::string objectPath = in TEST() local
50 EXPECT_TRUE(isSessionObjectMatched(objectPath, sessionId, sessionHandle)); in TEST()
55 std::string objectPath = in TEST() local
60 EXPECT_TRUE(isSessionObjectMatched(objectPath, sessionId, sessionHandle)); in TEST()
[all …]
/openbmc/ibm-logging/
H A Dmanager.cpp78 void Manager::createWithRestore(const std::string& objectPath, in createWithRestore() argument
81 createObject(objectPath, interfaces); in createWithRestore()
83 restoreCalloutObjects(objectPath, interfaces); in createWithRestore()
86 void Manager::create(const std::string& objectPath, in create() argument
89 createObject(objectPath, interfaces); in create()
91 createCalloutObjects(objectPath, interfaces); in create()
94 void Manager::createObject(const std::string& objectPath, in createObject() argument
99 createPolicyInterface(objectPath, logInterface->second); in createObject()
110 void Manager::addInterface(const std::string& objectPath, InterfaceType type, in addInterface() argument
113 auto id = getEntryID(objectPath); in addInterface()
[all …]
H A Dmanager.hpp102 void create(const std::string& objectPath,
116 void createWithRestore(const std::string& objectPath,
127 void createObject(const std::string& objectPath,
168 std::string getCalloutObjectPath(const std::string& objectPath,
180 void createPolicyInterface(const std::string& objectPath,
200 void createCalloutObjects(const std::string& objectPath,
212 void restoreCalloutObjects(const std::string& objectPath,
222 inline uint32_t getEntryID(const std::string& objectPath) in getEntryID() argument
224 std::experimental::filesystem::path path(objectPath); in getEntryID()
235 void addInterface(const std::string& objectPath, InterfaceType type,
[all …]
/openbmc/bmcweb/include/
H A Dopenbmc_dbus_rest.hpp96 const std::string& processName, const std::string& objectPath, in introspectObjects() argument
108 objectPath{std::string(objectPath)}]( in introspectObjects()
115 ec.message(), processName, objectPath); in introspectObjects()
119 object["path"] = objectPath; in introspectObjects()
131 processName, objectPath); in introspectObjects()
142 if (objectPath != "/") in introspectObjects()
144 newpath += objectPath; in introspectObjects()
155 processName, objectPath, "org.freedesktop.DBus.Introspectable", in introspectObjects()
160 const std::string& objectPath, const std::string& service, in getPropertiesForEnumerate() argument
164 BMCWEB_LOG_DEBUG("getPropertiesForEnumerate {} {} {}", objectPath, service, in getPropertiesForEnumerate()
[all …]
/openbmc/phosphor-led-manager/
H A Dutils.cpp40 PropertyMap DBusHandler::getAllProperties(const std::string& objectPath, in getAllProperties() argument
46 auto service = getService(objectPath, interface); in getAllProperties()
52 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getAllProperties()
63 PropertyValue DBusHandler::getProperty(const std::string& objectPath, in getProperty() argument
70 auto service = getService(objectPath, interface); in getProperty()
76 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getProperty()
88 const std::string& objectPath, const std::string& interface, in setProperty() argument
92 auto service = getService(objectPath, interface); in setProperty()
98 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in setProperty()
106 const std::string& objectPath, const std::string& interface) in getSubTreePaths() argument
[all …]
H A Dutils.hpp67 static PropertyMap getAllProperties(const std::string& objectPath,
80 static PropertyValue getProperty(const std::string& objectPath,
93 static void setProperty(const std::string& objectPath,
106 const std::string& objectPath, const std::string& interface);
/openbmc/phosphor-objmgr/src/
H A Dhandler.cpp14 const std::string& objectPath, in addObjectMapResult() argument
24 [&objectPath](const auto& i) { return objectPath == i.first; }); in addObjectMapResult()
33 object.first = objectPath; in addObjectMapResult()
57 for (const auto& objectPath : interfaceMap) in getAncestors() local
59 const auto& thisPath = objectPath.first; in getAncestors()
70 ret.emplace_back(objectPath); in getAncestors()
74 for (const auto& interfaceMap : objectPath.second) in getAncestors()
166 for (const auto& objectPath : interfaceMap) in getSubTree() local
168 const auto& thisPath = objectPath.first; in getSubTree()
183 for (const auto& interfaceMap : objectPath.second) in getSubTree()
[all …]
H A Dassociations.cpp252 std::string objectPath; in associationChanged() local
253 std::tie(forward, reverse, objectPath) = association; in associationChanged()
255 if (objectPath.empty()) in associationChanged()
262 if (interfaceMap.find(objectPath) == interfaceMap.end()) in associationChanged()
264 addPendingAssociation(objectPath, reverse, path, forward, owner, in associationChanged()
271 objects[path + "/" + forward].emplace(objectPath); in associationChanged()
275 objects[objectPath + "/" + reverse].emplace(path); in associationChanged()
314 const std::string& objectPath, const std::string& type, in addPendingAssociation() argument
320 auto p = assocMaps.pending.find(objectPath); in addPendingAssociation()
325 assocMaps.pending.emplace(objectPath, std::move(ee)); in addPendingAssociation()
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dsessionhelper.hpp26 bool parseCloseSessionInputPayload(const std::string& objectPath, in parseCloseSessionInputPayload() argument
29 if (objectPath.empty()) in parseCloseSessionInputPayload()
35 std::size_t ptrPosition = objectPath.rfind("/"); in parseCloseSessionInputPayload()
42 std::string sessionIdString = objectPath.substr(ptrPosition + 1); in parseCloseSessionInputPayload()
77 bool isSessionObjectMatched(const std::string objectPath, in isSessionObjectMatched() argument
84 if (parseCloseSessionInputPayload(objectPath, sessionId, sessionHandle)) in isSessionObjectMatched()
/openbmc/openpower-host-ipmi-oem/scripts/
H A Dinventorysensor.mako.cpp14 objectPath = sensorDict[key]
15 sensorID = objectPath["sensorID"]
16 sensorType = objectPath["sensorType"]
17 eventReadingType = objectPath["eventReadingType"]
18 offset = objectPath["offset"]
/openbmc/phosphor-debug-collector/
H A Delog_watch.cpp62 sdbusplus::message::object_path objectPath; in addCallback() local
66 msg.read(objectPath, propertyMap); in addCallback()
76 std::size_t found = objectPath.str.find("entry"); in addCallback()
83 auto eId = getEid(objectPath); in addCallback()
127 CreateParameters::FilePath)] = objectPath; in addCallback()
152 sdbusplus::message::object_path objectPath; in delCallback() local
155 msg.read(objectPath); in delCallback()
165 std::size_t found = objectPath.str.find("entry"); in delCallback()
173 auto eId = getEid(objectPath); in delCallback()
/openbmc/phosphor-host-ipmid/scripts/
H A Dinventorysensor.cpp.mako15 objectPath = sensorDict[key]
16 sensorID = objectPath["sensorID"]
17 sensorType = objectPath["sensorType"]
18 eventReadingType = objectPath["eventReadingType"]
19 offset = objectPath["offset"]
/openbmc/dbus-sensors/src/external/
H A DExternalSensor.cpp47 std::string objectPath = "/xyz/openbmc_project/sensors/"; in ExternalSensor() local
48 objectPath += dbusPath; in ExternalSensor()
49 objectPath += '/'; in ExternalSensor()
50 objectPath += sensorName; in ExternalSensor()
53 objectPath, "xyz.openbmc_project.Sensor.Value"); in ExternalSensor()
59 objectServer.add_interface(objectPath, interface); in ExternalSensor()
63 objectServer.add_interface(objectPath, association::interface); in ExternalSensor()
71 "NAME", name, "PATH", objectPath, "TYPE", objectType, "MIN", in ExternalSensor()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddbus_sensor.cpp76 std::string objectPath; local
79 getTypeBasedProperties(objectPath, unit, minValue, maxValue);
88 bus, objectPath.c_str(), DBusSensorObject::action::defer_emit);
175 void DBusSensor::getTypeBasedProperties(std::string& objectPath, Unit& unit, in getTypeBasedProperties() argument
260 objectPath = sensorsObjectPath; in getTypeBasedProperties()
261 objectPath += '/'; in getTypeBasedProperties()
262 objectPath += typeNamespace; in getTypeBasedProperties()
263 objectPath += '/'; in getTypeBasedProperties()
264 objectPath += name; in getTypeBasedProperties()
/openbmc/phosphor-bmc-code-mgmt/common/src/
H A Dsoftware.cpp44 objectPath(baseObjPathSoftware + swid), parentDevice(parent), swid(swid), in Software()
91 std::string path = objectPath; in createInventoryAssociations()
136 std::make_unique<SoftwareVersion>(ctx, objectPath.str.c_str()); in setVersion()
161 std::string path = objectPath; in setActivationBlocksTransition()
177 "OBJPATH", objectPath); in enableUpdate()
183 "OBJPATH", objectPath); in enableUpdate()
185 updateIntf = std::make_unique<SoftwareUpdate>(ctx, objectPath.str.c_str(), in enableUpdate()
/openbmc/smbios-mdr/include/
H A Dmdrv2.hpp68 static std::string placeGetRecordType(const std::string& objectPath) in placeGetRecordType() argument
70 if (objectPath != defaultObjectPath) in placeGetRecordType()
73 return objectPath; in placeGetRecordType()
76 std::filesystem::path path(objectPath); in placeGetRecordType()
108 std::string filePath, std::string objectPath, in MDRV2() argument
112 *conn, objectPath.c_str()), in MDRV2()
114 smbiosInterface(objServer->add_interface(placeGetRecordType(objectPath), in MDRV2()
117 smbiosObjectPath(std::move(objectPath)), in MDRV2()
/openbmc/bmcweb/redfish-core/lib/
H A Dcertificate_service.hpp333 const std::string& objectPath, const std::string& service, in getCertificateProperties() argument
338 objectPath, certId, certURL); in getCertificateProperties()
340 service, objectPath, certs::certPropIntf, in getCertificateProperties()
424 const sdbusplus::message::object_path& objectPath) in deleteCertificate() argument
428 id{objectPath.filename()}](const boost::system::error_code& ec) { in deleteCertificate()
437 service, objectPath, certs::objDeleteIntf, "Delete"); in deleteCertificate()
574 sdbusplus::message::object_path objectPath; in handleReplaceCertificateAction() local
581 objectPath = sdbusplus::message::object_path(certs::httpsObjectPath) / in handleReplaceCertificateAction()
590 objectPath = sdbusplus::message::object_path(certs::ldapObjectPath) / in handleReplaceCertificateAction()
599 objectPath = in handleReplaceCertificateAction()
[all …]
/openbmc/openpower-debug-collector/dump/
H A Ddump_monitor.cpp103 sdbusplus::message::object_path objectPath; in handleDBusSignal() local
106 msg.read(objectPath, interfaces); in handleDBusSignal()
108 lg2::info("Signal received at {PATH}: ", "PATH", objectPath); in handleDBusSignal()
121 initiateDumpCollection(objectPath, interfaceName, it->second); in handleDBusSignal()
151 const sdbusplus::message::object_path& objectPath) in startMpReboot() argument
170 updateProgressStatus(objectPath, dumpStatusFailed); in startMpReboot()
/openbmc/smbios-mdr/src/
H A Dsystem.cpp73 const std::string& objectPath, in getService() argument
81 method.append(objectPath); in getService()
95 "ERROR", e.what(), "SERVICE", objectPath.c_str(), "PATH", in getService()
104 static void setProperty(sdbusplus::bus_t& bus, const std::string& objectPath, in setProperty() argument
109 auto service = getService(bus, objectPath, interface); in setProperty()
115 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in setProperty()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dutils.hpp34 T getProperty(sdbusplus::bus_t& bus, const std::string& objectPath, in getProperty() argument
38 auto service = getService(bus, objectPath, interface); in getProperty()
44 auto method = bus.new_method_call(service.c_str(), objectPath.c_str(), in getProperty()
64 void setProperty(sdbusplus::bus_t& bus, const std::string& objectPath,
/openbmc/ibm-logging/test/
H A Dtest_callout.cpp49 std::string objectPath{"/callout/path/0"}; in TEST_F() local
60 auto callout = std::make_unique<Callout>(bus, objectPath, calloutPath, in TEST_F()
69 auto callout = std::make_unique<Callout>(bus, objectPath, id, ts); in TEST_F()
89 auto callout = std::make_unique<Callout>(bus, objectPath, id, ts + 1); in TEST_F()
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/
H A Dusb_manager.cpp99 sdbusplus::message::object_path objectPath = co_await updater.start_update( in startUpdate() local
101 if (objectPath.str.empty()) in startUpdate()
106 lg2::info("StartUpdate succeeded, objectPath: {PATH}", "PATH", objectPath); in startUpdate()
148 constexpr auto objectPath = "/xyz/openbmc_project/software/apply_time"; in setApplyTime() local
151 utils::setProperty(bus, objectPath, interface, propertyName, value); in setApplyTime()
/openbmc/phosphor-inventory-manager/
H A Dassociation_manager.cpp134 bool Manager::conditionMatch(const sdbusplus::message::object_path& objectPath, in conditionMatch() argument
140 if (condition.path != objectPath) in conditionMatch()
249 void Manager::createAssociations(const std::string& objectPath, in createAssociations() argument
252 auto endpoints = _associations.find(objectPath); in createAssociations()
258 if (std::find(_handled.begin(), _handled.end(), objectPath) != in createAssociations()
264 _handled.push_back(objectPath); in createAssociations()
276 createAssociation(objectPath, forwardType, endpointPath, in createAssociations()
/openbmc/phosphor-dbus-monitor/src/
H A Devent_entry.hpp47 objectPath(path) in Entry()
64 objectPath(path) in Entry()
70 std::string objectPath; member in phosphor::events::Entry
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Ddbus_utility.hpp33 inline types::MapperGetObject getObjectMap(const std::string& objectPath, in getObjectMap() argument
39 if (objectPath.empty()) in getObjectMap()
53 method.append(objectPath, interfaces); in getObjectMap()
179 const std::string& serviceName, const std::string& objectPath, in readDbusProperty() argument
185 if (serviceName.empty() || objectPath.empty() || interface.empty() || in readDbusProperty()
197 bus.new_method_call(serviceName.c_str(), objectPath.c_str(), in readDbusProperty()
226 const std::string& serviceName, const std::string& objectPath, in writeDbusProperty() argument
233 if (serviceName.empty() || objectPath.empty() || interface.empty() || in writeDbusProperty()
241 bus.new_method_call(serviceName.c_str(), objectPath.c_str(), in writeDbusProperty()

1234567