| /openbmc/sdbusplus/test/message/ |
| H A D | types.cpp | 41 EXPECT_EQ(dbus_string(sdbusplus::message::object_path("/asdf")), "o"); in TEST() 46 EXPECT_EQ(sdbusplus::message::object_path("/abc/def").filename(), "def"); in TEST() 47 EXPECT_EQ(sdbusplus::message::object_path("/abc/").filename(), ""); in TEST() 48 EXPECT_EQ(sdbusplus::message::object_path("/abc").filename(), "abc"); in TEST() 49 EXPECT_EQ(sdbusplus::message::object_path("/_61bc").filename(), "abc"); in TEST() 50 EXPECT_EQ(sdbusplus::message::object_path("/").filename(), ""); in TEST() 51 EXPECT_EQ(sdbusplus::message::object_path("").filename(), ""); in TEST() 52 EXPECT_EQ(sdbusplus::message::object_path("abc").filename(), ""); in TEST() 53 EXPECT_EQ(sdbusplus::message::object_path("/_2d").filename(), "-"); in TEST() 54 EXPECT_EQ(sdbusplus::message::object_path("/_20").filename(), " "); in TEST() [all …]
|
| H A D | native_types.cpp | 18 std::string s1 = sdbusplus::message::object_path("/asdf/"); in TEST() 19 sdbusplus::message::object_path p = std::move(s1); in TEST() 61 sdbusplus::message::object_path obj = orig; in TEST() 69 sdbusplus::message::object_path obj = orig; in TEST()
|
| /openbmc/telemetry/tests/src/ |
| H A D | test_path_append.cpp | 9 using sdbusplus::message::object_path; 14 public WithParamInterface<std::tuple<object_path, std::string, object_path>> 19 Values(std::make_tuple(object_path("/Base/Path"), "one", 20 object_path("/Base/Path/one")), 21 std::make_tuple(object_path("/Base/Path"), "one/two", 22 object_path("/Base/Path/one/two")), 23 std::make_tuple(object_path("/Base/Path"), "one/two/foobar", 24 object_path("/Base/Path/one/two/foobar")), 25 std::make_tuple(object_path("/Base/Path/"), "one", 26 object_path("/Base/Path/one")), [all …]
|
| /openbmc/phosphor-modbus/common/ |
| H A D | events.hpp | 25 auto generateSensorReadingEvent(sdbusplus::message::object_path objectPath, 30 auto generateSensorFailureEvent(sdbusplus::message::object_path objectPath, 34 sdbusplus::message::object_path objectPath, std::string additionalInfo, 37 auto generatePowerFaultEvent(sdbusplus::message::object_path objectPath, 41 auto generateFilterFailureEvent(sdbusplus::message::object_path objectPath, 44 auto generatePumpFailureEvent(sdbusplus::message::object_path objectPath, 47 auto generateFanFailureEvent(sdbusplus::message::object_path objectPath, 50 auto generateLeakDetectedEvent(sdbusplus::message::object_path objectPath, 58 using event_map_t = std::map<std::string, sdbusplus::message::object_path>;
|
| H A D | events.cpp | 26 sdbusplus::message::object_path objectPath, EventLevel level, double value, in generateSensorReadingEvent() 42 sdbusplus::message::object_path eventPath{}; in generateSensorReadingEvent() 81 sdbusplus::message::object_path objectPath, bool asserted) in generateSensorFailureEvent() 116 sdbusplus::message::object_path objectPath, std::string additionalInfo, in generateControllerFailureEvent() 152 auto Events::generatePowerFaultEvent(sdbusplus::message::object_path objectPath, in generatePowerFaultEvent() 191 sdbusplus::message::object_path objectPath, bool asserted) in generateFilterFailureEvent() 230 sdbusplus::message::object_path objectPath, bool asserted) in generatePumpFailureEvent() 265 auto Events::generateFanFailureEvent(sdbusplus::message::object_path objectPath, in generateFanFailureEvent() 301 sdbusplus::message::object_path objectPath, EventLevel level, bool asserted) in generateLeakDetectedEvent() 325 sdbusplus::message::object_path eventPath{}; in generateLeakDetectedEvent()
|
| /openbmc/telemetry/src/utils/ |
| H A D | dbus_path_utils.hpp | 40 const sdbusplus::message::object_path triggerDirPath = 41 sdbusplus::message::object_path(std::string(triggerDirStr)); 42 const sdbusplus::message::object_path reportDirPath = 43 sdbusplus::message::object_path(std::string(reportDirStr)); 62 sdbusplus::message::object_path pathAppend(sdbusplus::message::object_path path, 65 std::string reportPathToId(const sdbusplus::message::object_path& path);
|
| /openbmc/openbmc/meta-facebook/meta-minerva/recipes-minerva/plat-svc/files/ |
| H A D | minerva-fan-status-monitor | 11 local object_path="/xyz/openbmc_project/logging" 19 …busctl call "$service" "$object_path" "$interface" Create "ssa{ss}" "$message" "$severity" 1 "$arg… 25 local object_path="/xyz/openbmc_project/inventory/fan/fault" 29 …mapfile -t -d " " endpoint_array < <(busctl get-property "$service" "$object_path" "$interface" "$… 51 local object_path="/xyz/openbmc_project/sensors/fan_tach/$sensor_name" 54 …tach_alarm=$(busctl get-property "$service" "$object_path" "$interface" "$property" | cut -d ' ' -… 63 …functional=$(busctl get-property "$service" "$object_path" "$operation_interface" Functional | awk…
|
| /openbmc/phosphor-modbus/tests/ |
| H A D | test_events.cpp | 80 co_return sdbusplus::message::object_path(objectPath); in method_call() member in TestEventServer::method_call::sdbusplus::message 139 sdbusplus::message::object_path(sensorObjectPath), in testAssertEvent() 147 sdbusplus::message::object_path(sensorObjectPath), in testAssertEvent() 155 sdbusplus::message::object_path(sensorObjectPath), assert); in testAssertEvent() 161 sdbusplus::message::object_path(sensorObjectPath), "", in testAssertEvent() 168 sdbusplus::message::object_path(sensorObjectPath), "", in testAssertEvent() 175 sdbusplus::message::object_path(sensorObjectPath), in testAssertEvent() 182 sdbusplus::message::object_path(sensorObjectPath), in testAssertEvent() 197 sdbusplus::message::object_path(sensorObjectPath), in testDeassertEvent() 205 sdbusplus::message::object_path(sensorObjectPat in testDeassertEvent() [all...] |
| /openbmc/phosphor-logging/lib/include/phosphor-logging/ |
| H A D | commit.hpp | 17 -> sdbusplus::message::object_path; 27 void resolve(const sdbusplus::message::object_path& logPath); 37 -> sdbusplus::async::task<sdbusplus::message::object_path>; 46 const sdbusplus::message::object_path& logPath)
|
| /openbmc/pyphosphor/obmc/dbuslib/ |
| H A D | bindings.py | 181 def add(self, object_path, obj): argument 182 self.objects[object_path] = obj 184 self.InterfacesAdded(object_path, obj.properties) 186 def remove(self, object_path): argument 187 obj = self.objects.pop(object_path, None) 190 self.InterfacesRemoved(object_path, list(obj.properties.keys())) 192 def get(self, object_path, default=None): argument 193 return self.objects.get(object_path, default) 206 def InterfacesAdded(self, object_path, properties): argument 211 def InterfacesRemoved(self, object_path, interfaces): argument
|
| /openbmc/dbus-sensors/src/leakdetector/ |
| H A D | LeakDetectionManager.hpp | 35 const sdbusplus::message::object_path& objectPath, 40 const sdbusplus::message::object_path& objectPath, 44 auto processConfigAddedAsync(sdbusplus::message::object_path objectPath) 48 auto getDetectorConfig(sdbusplus::message::object_path objectPath)
|
| /openbmc/phosphor-modbus/rtu/ |
| H A D | device_manager.hpp | 42 auto processConfigAdded(const sdbusplus::message::object_path& objectPath, 46 auto processPortAdded(const sdbusplus::message::object_path& objectPath, 51 const sdbusplus::message::object_path& objectPath) 54 auto processDeviceAdded(const sdbusplus::message::object_path& objectPath, 58 auto processConfigRemoved(const sdbusplus::message::object_path& objectPath,
|
| /openbmc/dbus-sensors/src/cable-monitor/ |
| H A D | CableMonitor.hpp | 32 const sdbusplus::message::object_path& objectPath, 37 const sdbusplus::message::object_path& objectPath, 48 auto processCableAddedAsync(sdbusplus::message::object_path objectPath) 52 auto processCableRemovedAsync(sdbusplus::message::object_path objectPath)
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | data_interface.cpp | 43 namespace object_path namespace 130 bus, object_path::hostState, interface::bootProgress, "BootProgress", in DataInterface() 149 bus, object_path::enableHostPELs, interface::enable, "Enabled", *this, in DataInterface() 161 bus, object_path::bmcState, interface::bmcState, "CurrentBMCState", in DataInterface() 176 bus, object_path::chassisState, interface::chassisState, *this, in DataInterface() 193 bus, object_path::hostState, interface::hostState, "CurrentHostState", in DataInterface() 200 bus, object_path::biosConfigMgr, interface::biosConfigMgr, in DataInterface() 264 service_name::objectMapper, object_path::objectMapper, in getPaths() 280 object_path::objectMapper, in getService() 325 auto service = getService(object_path::systemInv, interface::invAsset); in getMachineTypeModel() [all …]
|
| /openbmc/entity-manager/src/gpio-presence/ |
| H A D | gpio_presence_manager.hpp | 40 auto addConfig(const sdbusplus::message::object_path& obj, 55 auto addConfigFromDbusAsync(sdbusplus::message::object_path obj) 61 const sdbusplus::message::object_path& obj) 74 auto addConfigHandler(sdbusplus::message::object_path obj) -> void;
|
| H A D | device_presence.cpp | 51 auto DevicePresence::getObjPath() const -> sdbusplus::message::object_path in getObjPath() 53 sdbusplus::message::object_path objPathBase( in getObjPath() 55 sdbusplus::message::object_path objPath = objPathBase / deviceName; in getObjPath() 90 sdbusplus::message::object_path objPath = getObjPath(); in updateDbusInterfaces()
|
| /openbmc/phosphor-objmgr/src/test/ |
| H A D | handler.cpp | 317 sdbusplus::message::object_path path("/test/object_path_0"); in TEST_F() 318 sdbusplus::message::object_path validAssociatedPath = path / "descendent"; in TEST_F() 334 path = sdbusplus::message::object_path("/invalid_path"); in TEST_F() 343 sdbusplus::message::object_path path0("/test/object_path_0"); in TEST_F() 344 sdbusplus::message::object_path path1("/test/object_path_0/child"); in TEST_F() 345 sdbusplus::message::object_path associatedPath = path0 / "descendent"; in TEST_F() 386 sdbusplus::message::object_path path("/test/object_path_0"); in TEST_F() 387 sdbusplus::message::object_path validAssociatedPath = path / "descendent"; in TEST_F() 404 path = sdbusplus::message::object_path("/invalid_path"); in TEST_F() 414 sdbusplus::message::object_path path0("/test/object_path_0"); in TEST_F() [all …]
|
| /openbmc/rest-dbus/ |
| H A D | rest-dbus | 132 'object_path': obj.object_path, 153 obj.object_path + '/' + interface_name) 199 'object_path': obj.object_path, 216 'object_path': obj.object_path, 244 object_path = '' 248 object_path += '/' + parts.pop(0) 250 obj = self.get_object_or_404(bus_name, object_path) 288 'obj': obj.object_path, 329 object_path = '' 333 object_path += '/' + parts.pop(0) [all …]
|
| /openbmc/bmcweb/include/ |
| H A D | dbus_utility.hpp | 50 sdbusplus::message::object_path, 53 std::vector<sdbusplus::message::object_path>, 58 std::vector<std::tuple<sdbusplus::message::object_path, std::string>>, 60 std::vector<std::pair<sdbusplus::message::object_path, std::string>>, 70 std::vector<std::pair<sdbusplus::message::object_path, DBusInterfacesMap>>; 167 const sdbusplus::message::object_path& associatedPath, 168 const sdbusplus::message::object_path& path, int32_t depth, 174 const sdbusplus::message::object_path& associatedPath, 175 const sdbusplus::message::object_path& path, int32_t depth, 207 const std::string& service, const sdbusplus::message::object_path& path,
|
| /openbmc/phosphor-modbus/rtu/device/ |
| H A D | base_device.cpp | 32 -> sdbusplus::message::object_path in getObjectPath() 34 return sdbusplus::message::object_path( in getObjectPath() 189 -> sdbusplus::message::object_path in getObjectPath() 196 return sdbusplus::message::object_path( in getObjectPath() 201 return sdbusplus::message::object_path( in getObjectPath() 204 return sdbusplus::message::object_path( in getObjectPath() 207 return sdbusplus::message::object_path( in getObjectPath() 210 return sdbusplus::message::object_path( in getObjectPath() 217 return sdbusplus::message::object_path( in getObjectPath() 224 return sdbusplus::message::object_path(); in getObjectPath() [all …]
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | systems_utils.hpp | 80 sdbusplus::message::object_path path(object); in handleSystemCollectionMembers() 151 sdbusplus::message::object_path systemPath; in afterGetComputerSystemSubTreePaths() 168 objects, [systemName](const sdbusplus::message::object_path& path) { in afterGetComputerSystemSubTreePaths() 219 inline sdbusplus::message::object_path getHostStateObjectPath( in getHostStateObjectPath() 222 const sdbusplus::message::object_path hostStatePath( in getHostStateObjectPath() 240 inline sdbusplus::message::object_path getChassisStateObjectPath( in getChassisStateObjectPath() 243 const sdbusplus::message::object_path chassisStatePath( in getChassisStateObjectPath() 284 sdbusplus::message::object_path path(system); in afterGetValidSystemsPath() 339 const sdbusplus::message::object_path path{obj.first}; in indexMatchingSubTreeMapObjectPath()
|
| H A D | sw_utils.hpp | 46 inline std::optional<sdbusplus::message::object_path> getFunctionalSoftwarePath( in getFunctionalSoftwarePath() 53 return sdbusplus::message::object_path( in getFunctionalSoftwarePath() 58 return sdbusplus::message::object_path( in getFunctionalSoftwarePath() 66 return sdbusplus::message::object_path( in getFunctionalSoftwarePath() 71 return sdbusplus::message::object_path( in getFunctionalSoftwarePath() 197 sdbusplus::message::object_path path(obj.first); in afterGetSubtree() 263 sdbusplus::message::object_path path(sw); in afterAssociatedEndpoints() 396 sdbusplus::message::object_path path("/xyz/openbmc_project/software"); in getSwMinimumVersion() 489 sdbusplus::message::object_path reqSwObjPath( in handleUpdateableEndpoints() 538 sdbusplus::message::object_path swObjectPath( in getSwUpdatableStatus()
|
| /openbmc/openbmc/meta-facebook/meta-ventura/recipes-ventura/plat-svc/files/ |
| H A D | ventura-fan-status-monitor | 55 …local object_path="/xyz/openbmc_project/sensors/fan_tach/FCB_${fcb_num}_FAN${fan_number}_TACH_${io… 58 …tach_alarm=$(busctl get-property "$service" "$object_path" "$interface" "$property" | cut -d ' ' -… 74 …functional=$(busctl get-property "$service" "$object_path" "$operation_interface" Functional | awk…
|
| /openbmc/phosphor-objmgr/src/ |
| H A D | handler.hpp | 46 const sdbusplus::message::object_path& associationPath, 47 const sdbusplus::message::object_path& reqPath, int32_t depth, 68 const sdbusplus::message::object_path& associationPath, 69 const sdbusplus::message::object_path& reqPath, int32_t depth,
|
| /openbmc/skeleton/libopenbmc_intf/ |
| H A D | openbmc_intf.h | 94 const gchar *object_path, 105 const gchar *object_path, 113 const gchar *object_path, 124 const gchar *object_path, 345 const gchar *object_path, 356 const gchar *object_path, 364 const gchar *object_path, 375 const gchar *object_path, 615 const gchar *object_path, 626 const gchar *object_path, [all …]
|