Home
last modified time | relevance | path

Searched refs:dbusInfo (Results 1 – 6 of 6) sorted by relevance

/openbmc/pldm/host-bmc/
H A Ddbus_to_terminus_effecters.cpp99 DBusNumericEffecterMapping dbusInfo{}; in parseEffecterJson() local
101 dbusInfo.dataSize = effecter.value("effecterDataSize", 0); in parseEffecterJson()
102 dbusInfo.unitModifier = effecter.value("unitModifier", 0); in parseEffecterJson()
103 dbusInfo.resolution = effecter.value("resolution", 1); in parseEffecterJson()
104 dbusInfo.offset = effecter.value("offset", 0); in parseEffecterJson()
105 dbusInfo.dbusMap.objectPath = in parseEffecterJson()
107 dbusInfo.dbusMap.interface = in parseEffecterJson()
109 dbusInfo.dbusMap.propertyName = in parseEffecterJson()
111 dbusInfo.dbusMap.propertyType = in parseEffecterJson()
120 dbusInfo.dbusMap.propertyType)) in parseEffecterJson()
[all …]
H A Ddbus_to_terminus_effecters.hpp72 dbusInfo; //!< D-Bus information for the effecter id member
/openbmc/pldm/libpldmresponder/
H A Devent_parser.cpp66 pldm::utils::DBusMapping dbusInfo{}; in StateSensorHandler() local
69 dbusInfo.objectPath = dbus.value("object_path", ""); in StateSensorHandler()
70 dbusInfo.interface = dbus.value("interface", ""); in StateSensorHandler()
71 dbusInfo.propertyName = dbus.value("property_name", ""); in StateSensorHandler()
72 dbusInfo.propertyType = dbus.value("property_type", ""); in StateSensorHandler()
73 if (dbusInfo.objectPath.empty() || dbusInfo.interface.empty() || in StateSensorHandler()
74 dbusInfo.propertyName.empty() || in StateSensorHandler()
75 !supportedDbusPropertyTypes.contains(dbusInfo.propertyType)) in StateSensorHandler()
79 "PATH", dbusInfo.objectPath, "DBUS_INTERFACE", in StateSensorHandler()
80 dbusInfo.interface, "PROPERTY_NAME", dbusInfo.propertyName, in StateSensorHandler()
[all …]
H A Dfru.cpp147 fru_parser::DBusLookupInfo dbusInfo; in buildFRUTable() local
151 dbusInfo = parser.inventoryLookup(); in buildFRUTable()
163 auto itemIntfsLookup = std::get<2>(dbusInfo); in buildFRUTable()
/openbmc/pldm/host-bmc/test/
H A Ddbus_to_terminus_effecter_test.cpp47 ASSERT_EQ(hostEffecterInfo[0].dbusInfo.size(), 1); in TEST()
49 DBusEffecterMapping dbusInfo{ in TEST() local
54 auto& temp = hostEffecterInfo[0].dbusInfo[0]; in TEST()
55 ASSERT_EQ(temp.dbusMap.objectPath == dbusInfo.dbusMap.objectPath, true); in TEST()
56 ASSERT_EQ(temp.dbusMap.interface == dbusInfo.dbusMap.interface, true); in TEST()
57 ASSERT_EQ(temp.dbusMap.propertyName == dbusInfo.dbusMap.propertyName, true); in TEST()
58 ASSERT_EQ(temp.dbusMap.propertyType == dbusInfo.dbusMap.propertyType, true); in TEST()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_fru_test.cpp73 auto dbusInfo = parser.inventoryLookup(); in TEST() local
74 ASSERT_EQ(dbusInfo == lookupInfo, true); in TEST()