/openbmc/phosphor-objmgr/src/ |
H A D | handler.cpp | 15 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 D | main.cpp | 133 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 D | handler.hpp | 10 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 D | processing.cpp | 46 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 D | associations.cpp | 243 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 D | processing.hpp | 68 InterfaceMapType& interfaceMap, AssociationMaps& assocMaps, 83 boost::asio::io_context& io, InterfaceMapType& interfaceMap,
|
H A D | associations.hpp | 93 const std::string& owner, const InterfaceMapType& interfaceMap, 162 const InterfaceMapType& interfaceMap, AssociationMaps& assocMaps,
|
/openbmc/phosphor-objmgr/src/test/ |
H A D | handler.cpp | 19 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 D | name_change.cpp | 26 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 D | associations.cpp | 175 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 D | interfaces_added.cpp | 34 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 D | association_objects.hpp | 56 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 D | fw_update_watch.cpp | 40 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 D | platform_config.cpp | 23 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 D | utility.hpp | 110 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 D | worker.hpp | 317 types::InterfaceMap& interfaceMap); 327 types::InterfaceMap& interfaceMap,
|
/openbmc/phosphor-virtual-sensor/ |
H A D | virtualSensor.cpp | 375 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 D | virtualSensor.hpp | 189 void initVirtualSensor(const InterfaceMap& interfaceMap,
|
/openbmc/openpower-vpd-parser/vpd-manager/src/ |
H A D | worker.cpp | 579 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 D | log_services.hpp | 230 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 D | data_interface.cpp | 646 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 D | channel_mgmt.cpp | 121 static std::unordered_map<EInterfaceIndex, std::string> interfaceMap = { variable
|