/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 …]
|
H A D | test_trigger.cpp | 25 using sdbusplus::message::object_path; 163 getProperty<std::vector<object_path>>(sut->getPath(), "Reports"), in TEST_F() 197 std::vector<object_path> newNames = { in TEST_F() 204 getProperty<std::vector<object_path>>(sut->getPath(), "Reports"), in TEST_F() 210 std::vector<object_path> newPropertyVal = { in TEST_F() 225 const std::vector<object_path> newPropertyVal = triggerParams.reports(); in TEST_F() 239 std::vector<object_path> newPropertyVal{ in TEST_F() 253 std::vector<object_path> newPropertyVal{ in TEST_F() 254 object_path("/xyz/openbmc_project/Telemetry/Reports/P1/P2/MyReport")}; in TEST_F() 265 std::vector<object_path> newPropertyVal{ in TEST_F() [all …]
|
/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);
|
H A D | dbus_path_utils.cpp | 5 sdbusplus::message::object_path pathAppend(sdbusplus::message::object_path path, in pathAppend() 33 std::string reportPathToId(const sdbusplus::message::object_path& path) in reportPathToId()
|
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-minerva/plat-svc/files/ |
H A D | minerva-fan-status-monitor | 10 local object_path="/xyz/openbmc_project/logging" 17 …busctl call "$service" "$object_path" "$interface" Create "ssa{ss}" "$message" "$severity" 1 "$arg… 23 local object_path="/xyz/openbmc_project/inventory/fan/fault" 27 …mapfile -t -d " " endpoint_array < <(busctl get-property "$service" "$object_path" "$interface" "$… 53 …local object_path="/xyz/openbmc_project/sensors/fan_tach/FCB_${fcb_num}_FAN_${fan_number}_TACH_${i… 55 …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-logging/extensions/openpower-pels/ |
H A D | data_interface.cpp | 57 namespace object_path namespace 145 bus, object_path::hostState, interface::bootProgress, "BootProgress", in DataInterface() 164 bus, object_path::enableHostPELs, interface::enable, "Enabled", *this, in DataInterface() 176 bus, object_path::bmcState, interface::bmcState, "CurrentBMCState", in DataInterface() 191 bus, object_path::chassisState, interface::chassisState, *this, in DataInterface() 208 bus, object_path::hostState, interface::hostState, "CurrentHostState", in DataInterface() 215 bus, object_path::biosConfigMgr, interface::biosConfigMgr, in DataInterface() 279 service_name::objectMapper, object_path::objectMapper, in getPaths() 296 object_path::objectMapper, in getService() 342 auto service = getService(object_path::systemInv, interface::invAsset); in getMachineTypeModel() [all …]
|
/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/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/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/bmcweb/include/ |
H A D | dbus_utility.hpp | 48 sdbusplus::message::object_path, 50 std::vector<sdbusplus::message::object_path>, 55 std::vector<std::tuple<sdbusplus::message::object_path, std::string>>, 57 std::vector<std::pair<sdbusplus::message::object_path, std::string>>, 67 std::vector<std::pair<sdbusplus::message::object_path, DBusInterfacesMap>>; 146 const sdbusplus::message::object_path& associatedPath, 147 const sdbusplus::message::object_path& path, int32_t depth, 153 const sdbusplus::message::object_path& associatedPath, 154 const sdbusplus::message::object_path& path, int32_t depth, 186 const std::string& service, const sdbusplus::message::object_path& path,
|
/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/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 …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | sw_utils.hpp | 45 inline std::optional<sdbusplus::message::object_path> getFunctionalSoftwarePath( in getFunctionalSoftwarePath() 52 return sdbusplus::message::object_path( in getFunctionalSoftwarePath() 57 return sdbusplus::message::object_path( in getFunctionalSoftwarePath() 65 return sdbusplus::message::object_path( in getFunctionalSoftwarePath() 70 return sdbusplus::message::object_path( in getFunctionalSoftwarePath() 191 sdbusplus::message::object_path path(obj.first); in afterGetSubtree() 258 sdbusplus::message::object_path path(sw); in afterAssociatedEndpoints() 444 sdbusplus::message::object_path reqSwObjPath( in handleUpdateableEndpoints() 493 sdbusplus::message::object_path swObjectPath( in getSwUpdatableStatus()
|
/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/phosphor-buttons/src/ |
H A D | host_then_chassis_poweroff.cpp | 23 namespace object_path namespace 138 bus.new_method_call(service::hostState, object_path::hostState, in hostTransition() 171 object_path::chassisState, in chassisPowerOff() 191 object_path::chassisState, in isPoweredOn() 218 bus.new_method_call(service::bmcState, object_path::bmcState, in isBmcReady()
|
/openbmc/telemetry/tests/src/params/ |
H A D | trigger_params.hpp | 14 using sdbusplus::message::object_path; 80 const std::vector<object_path>& reports() const in reports() 85 TriggerParams& reports(std::vector<object_path> val) in reports() 134 std::vector<object_path> reportsProperty;
|
/openbmc/phosphor-logging/lib/ |
H A D | lg2_commit.cpp | 118 -> sdbusplus::message::object_path in commit() 139 return reply.unpack<sdbusplus::message::object_path>(); in commit() 145 void resolve(const sdbusplus::message::object_path& logPath) in resolve() 161 -> sdbusplus::async::task<sdbusplus::message::object_path> in commit() 182 const sdbusplus::message::object_path& logPath) in resolve()
|
/openbmc/phosphor-inventory-manager/ |
H A D | manager.hpp | 79 std::map<sdbusplus::message::object_path, Object> objs) override; 90 const std::map<sdbusplus::message::object_path, Object>& objs); 94 const std::map<sdbusplus::message::object_path, Object>& objs, 186 void updateInterfaces(const sdbusplus::message::object_path& path,
|
/openbmc/openpower-vpd-parser/vpd-manager/include/ |
H A D | manager.hpp | 123 const sdbusplus::message::object_path& i_dbusObjPath); 132 const sdbusplus::message::object_path& i_dbusObjPath); 195 std::string getHwPath(const sdbusplus::message::object_path& i_dbusObjPath);
|
/openbmc/bmcweb/src/ |
H A D | dbus_utility.cpp | 139 const sdbusplus::message::object_path& associatedPath, in getAssociatedSubTree() 140 const sdbusplus::message::object_path& path, int32_t depth, in getAssociatedSubTree() 156 const sdbusplus::message::object_path& associatedPath, in getAssociatedSubTreePaths() 157 const sdbusplus::message::object_path& path, int32_t depth, in getAssociatedSubTreePaths() 238 const sdbusplus::message::object_path& path, in getManagedObjects()
|
/openbmc/boost-dbus/include/dbus/ |
H A D | element.hpp | 41 struct object_path { struct 43 bool operator<(const object_path& b) const { return value < b.value; } in operator <() argument 114 struct element<object_path> { 165 struct is_string_type<object_path> : std::true_type {};
|
/openbmc/ipmitool/src/plugins/dbus/ |
H A D | dbus.c | 56 static const char *object_path = "/org/openbmc/HostIpmi/ipmitool"; variable 69 rc = sd_bus_message_new_signal(bus, &msg, object_path, in ipmi_dbus_sendrecv() 174 sd_bus_add_object_vtable(bus, NULL, object_path, interface, in ipmi_dbus_setup()
|
/openbmc/phosphor-logging/ |
H A D | log_manager.hpp | 187 -> sdbusplus::message::object_path; 194 -> sdbusplus::message::object_path; 275 -> sdbusplus::message::object_path; 373 -> sdbusplus::message::object_path override in create()
|