Home
last modified time | relevance | path

Searched refs:interfaceMap (Results 1 – 22 of 22) sorted by relevance

/openbmc/phosphor-objmgr/src/
H A Dhandler.cpp15 const ConnectionNames::value_type& interfaceMap) in addObjectMapResult() argument
28 entry->second.emplace(interfaceMap); in addObjectMapResult()
34 object.second.emplace(interfaceMap); in addObjectMapResult()
40 const InterfaceMapType& interfaceMap, std::string reqPath, in getAncestors() argument
50 if (!reqPath.empty() && interfaceMap.find(reqPath) == interfaceMap.end()) in getAncestors()
57 for (const auto& objectPath : interfaceMap) in getAncestors()
74 for (const auto& interfaceMap : objectPath.second) in getAncestors() local
77 interfaces.size(), interfaceMap.second.size())); in getAncestors()
82 interfaceMap.second.begin(), in getAncestors()
83 interfaceMap.second.end(), output.begin()) != in getAncestors()
[all …]
H A Dmain.cpp133 InterfaceMapType& interfaceMap, in doAssociations() argument
140 [&io, &objectServer, path, processName, &interfaceMap, systemBus, in doAssociations()
149 doAssociations(io, systemBus, interfaceMap, objectServer, in doAssociations()
158 processName, interfaceMap, associationMaps); in doAssociations()
167 InterfaceMapType& interfaceMap, in doIntrospect() argument
173 [&io, &interfaceMap, &objectServer, transaction, path, systemBus, in doIntrospect()
181 doIntrospect(io, systemBus, transaction, interfaceMap, in doIntrospect()
207 auto& thisPathMap = interfaceMap[path]; in doIntrospect()
222 doAssociations(io, systemBus, interfaceMap, objectServer, in doIntrospect()
231 checkIfPendingAssociation(io, path, interfaceMap, in doIntrospect()
[all …]
H A Dhandler.hpp10 const ConnectionNames::value_type& interfaceMap);
13 const InterfaceMapType& interfaceMap, std::string reqPath,
16 ConnectionNames getObject(const InterfaceMapType& interfaceMap,
21 const InterfaceMapType& interfaceMap, std::string reqPath, int32_t depth,
24 std::vector<std::string> getSubTreePaths(const InterfaceMapType& interfaceMap,
44 const InterfaceMapType& interfaceMap,
66 const InterfaceMapType& interfaceMap,
90 const InterfaceMapType& interfaceMap,
114 const InterfaceMapType& interfaceMap,
H A Dprocessing.cpp46 InterfaceMapType& interfaceMap, AssociationMaps& assocMaps, in processNameChangeDelete() argument
58 InterfaceMapType::iterator pathIt = interfaceMap.begin(); in processNameChangeDelete()
59 while (pathIt != interfaceMap.end()) in processNameChangeDelete()
93 pathIt = interfaceMap.erase(pathIt); in processNameChangeDelete()
101 boost::asio::io_context& io, InterfaceMapType& interfaceMap, in processInterfaceAdded() argument
106 auto& ifaceList = interfaceMap[objPath.str]; in processInterfaceAdded()
132 interfaceMap, assocMaps); in processInterfaceAdded()
159 interfaceMap.emplace(parent, ConnectionNames{}); in processInterfaceAdded()
174 checkIfPendingAssociation(io, objPath.str, interfaceMap, assocMaps, server); in processInterfaceAdded()
H A Dassociations.cpp243 const std::string& owner, const InterfaceMapType& interfaceMap, in associationChanged() argument
262 if (interfaceMap.find(objectPath) == interfaceMap.end()) in associationChanged()
419 const InterfaceMapType& interfaceMap, AssociationMaps& assocMaps, in checkIfPendingAssociation() argument
428 if (interfaceMap.find(objectPath) == interfaceMap.end()) in checkIfPendingAssociation()
440 if (interfaceMap.find(std::get<reversePathPos>(e)) == in checkIfPendingAssociation()
441 interfaceMap.end()) in checkIfPendingAssociation()
H A Dprocessing.hpp68 InterfaceMapType& interfaceMap, AssociationMaps& assocMaps,
83 boost::asio::io_context& io, InterfaceMapType& interfaceMap,
H A Dassociations.hpp93 const std::string& owner, const InterfaceMapType& interfaceMap,
162 const InterfaceMapType& interfaceMap, AssociationMaps& assocMaps,
/openbmc/phosphor-objmgr/src/test/
H A Dhandler.cpp19 InterfaceMapType interfaceMap = { member in TestHandler
113 ASSERT_NE(entry, interfaceMap.end()); in TEST_F()
143 getAncestors(interfaceMap, path, interfaces); in TEST_F()
148 getAncestors(interfaceMap, path, interfaces), in TEST_F()
158 getAncestors(interfaceMap, path, interfaces); in TEST_F()
181 getObject(interfaceMap, path, interfaces), in TEST_F()
186 getObject(interfaceMap, path, interfaces), in TEST_F()
191 getObject(interfaceMap, path, interfaces), in TEST_F()
200 ConnectionNames connection = getObject(interfaceMap, path, interfaces); in TEST_F()
206 connection = getObject(interfaceMap, path, interfaces); in TEST_F()
[all …]
H A Dname_change.cpp26 InterfaceMapType interfaceMap; in TEST_F() local
29 processNameChangeDelete(io, nameOwners, wellKnown, oldOwner, interfaceMap, in TEST_F()
47 auto interfaceMap = createInterfaceMap(defaultSourcePath, defaultDbusSvc, in TEST_F() local
51 interfaceMap, assocMaps, *server); in TEST_F()
65 EXPECT_TRUE(interfaceMap.empty()); in TEST_F()
H A Dassociations.cpp175 InterfaceMapType interfaceMap; in TEST_F() local
183 defaultDbusSvc, interfaceMap, assocMaps); in TEST_F()
206 InterfaceMapType interfaceMap = { in TEST_F() local
211 defaultDbusSvc, interfaceMap, assocMaps); in TEST_F()
242 InterfaceMapType interfaceMap = createDefaultInterfaceMap(); in TEST_F() local
245 defaultDbusSvc, interfaceMap, assocMaps); in TEST_F()
274 InterfaceMapType interfaceMap = createDefaultInterfaceMap(); in TEST_F() local
281 interfaceMap, assocMaps); in TEST_F()
307 InterfaceMapType interfaceMap = createDefaultInterfaceMap(); in TEST_F() local
314 defaultDbusSvc, interfaceMap, assocMaps); in TEST_F()
[all …]
H A Dinterfaces_added.cpp34 auto interfaceMap = createDefaultInterfaceMap(); in TEST_F() local
42 processInterfaceAdded(io, interfaceMap, defaultSourcePath, intfAdded, in TEST_F()
50 EXPECT_EQ(interfaceMap.size(), 5); in TEST_F()
/openbmc/phosphor-objmgr/src/test/util/
H A Dassociation_objects.hpp56 InterfaceMapType interfaceMap{{path, connectionMap}}; in createInterfaceMap() local
58 return interfaceMap; in createInterfaceMap()
65 InterfaceMapType interfaceMap = { in createDefaultInterfaceMap() local
69 return interfaceMap; in createDefaultInterfaceMap()
/openbmc/openpower-proc-control/extensions/phal/
H A Dfw_update_watch.cpp40 InterfaceMap interfaceMap; in fwIntfAddedCallback() local
44 msg.read(objectPath, interfaceMap); in fwIntfAddedCallback()
55 auto iter = interfaceMap.find("xyz.openbmc_project.Software.Activation"); in fwIntfAddedCallback()
56 if (iter == interfaceMap.end()) in fwIntfAddedCallback()
/openbmc/pldm/libpldmresponder/
H A Dplatform_config.cpp23 pldm::utils::InterfaceMap interfaceMap; in systemCompatibleCallback() local
25 msg.read(path, interfaceMap); in systemCompatibleCallback()
27 if (!interfaceMap.contains(compatibleInterface)) in systemCompatibleCallback()
33 const auto& properties = interfaceMap.at(compatibleInterface); in systemCompatibleCallback()
/openbmc/phosphor-fan-presence/
H A Dutility.hpp110 InterfaceMap interfaceMap; in getObjMap() local
114 interfaceMap.emplace(intf, std::move(propertyMap)); in getObjMap()
115 objectMap.emplace(path, std::move(interfaceMap)); in getObjMap()
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dworker.hpp317 types::InterfaceMap& interfaceMap);
327 types::InterfaceMap& interfaceMap,
/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.cpp375 const InterfaceMap& interfaceMap, const std::string& objPath, in initVirtualSensor() argument
382 for (const auto& [interface, propertyMap] : interfaceMap) in initVirtualSensor()
755 for (const auto& [path, interfaceMap] : objects) in createVirtualSensorsFromDBus()
758 auto intfIter = interfaceMap.find(calculationIface); in createVirtualSensorsFromDBus()
759 if (intfIter == interfaceMap.end()) in createVirtualSensorsFromDBus()
799 bus, virtObjPath.c_str(), interfaceMap, name, sensorType, in createVirtualSensorsFromDBus()
H A DvirtualSensor.hpp189 void initVirtualSensor(const InterfaceMap& interfaceMap,
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dworker.cpp579 types::InterfaceMap& interfaceMap) in populateKwdVPDpropertyMap() argument
613 interfaceMap.emplace("xyz.openbmc_project.Inventory.Item.Dimm", in populateKwdVPDpropertyMap()
634 interfaceMap, constants::kwdVpdInf, move(propertyValueMap)); in populateKwdVPDpropertyMap()
640 types::InterfaceMap& interfaceMap, in populateInterfaces() argument
670 interfaceMap, in populateInterfaces()
762 vpdSpecificUtility::insertOrMerge(interfaceMap, interface, in populateInterfaces()
/openbmc/bmcweb/redfish-core/lib/
H A Dlog_services.hpp230 for (const auto& interfaceMap : object.second) in parseDumpEntryFromDbusObject() local
232 if (interfaceMap.first == "xyz.openbmc_project.Common.Progress") in parseDumpEntryFromDbusObject()
234 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject()
249 else if (interfaceMap.first == "xyz.openbmc_project.Dump.Entry") in parseDumpEntryFromDbusObject()
251 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject()
267 else if (interfaceMap.first == "xyz.openbmc_project.Time.EpochTime") in parseDumpEntryFromDbusObject()
269 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject()
285 else if (interfaceMap.first == in parseDumpEntryFromDbusObject()
288 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject()
1502 for (const auto& interfaceMap : objectPath.second) in afterLogEntriesGetManagedObjects() local
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddata_interface.cpp646 for (const auto& [path, interfaceMap] : subtree) in getSystemNames()
648 auto iface = interfaceMap.find(service_name::entityManager); in getSystemNames()
649 if (iface == interfaceMap.end()) in getSystemNames()
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_mgmt.cpp121 static std::unordered_map<EInterfaceIndex, std::string> interfaceMap = { variable