| /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() 240 InterfaceMapType interfaceMap = createDefaultInterfaceMap(); in TEST_F() local 243 defaultDbusSvc, interfaceMap, assocMaps); in TEST_F() 272 InterfaceMapType interfaceMap = createDefaultInterfaceMap(); in TEST_F() local 279 interfaceMap, assocMaps); in TEST_F() 305 InterfaceMapType interfaceMap = createDefaultInterfaceMap(); in TEST_F() local 312 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/ |
| H A D | main.cpp | 135 InterfaceMapType& interfaceMap, in doAssociations() argument 142 [&io, &objectServer, path, processName, &interfaceMap, systemBus, in doAssociations() 151 doAssociations(io, systemBus, interfaceMap, objectServer, in doAssociations() 160 processName, interfaceMap, associationMaps); in doAssociations() 169 InterfaceMapType& interfaceMap, in doIntrospect() argument 175 [&io, &interfaceMap, &objectServer, transaction, path, systemBus, in doIntrospect() 183 doIntrospect(io, systemBus, transaction, interfaceMap, in doIntrospect() 209 auto& thisPathMap = interfaceMap[path]; in doIntrospect() 224 doAssociations(io, systemBus, interfaceMap, objectServer, in doIntrospect() 233 checkIfPendingAssociation(io, path, interfaceMap, in doIntrospect() [all …]
|
| H A D | handler.cpp | 17 const ConnectionNames::value_type& interfaceMap) in addObjectMapResult() argument 30 entry->second.emplace(interfaceMap); in addObjectMapResult() 36 object.second.emplace(interfaceMap); in addObjectMapResult() 42 const InterfaceMapType& interfaceMap, std::string reqPath, in getAncestors() argument 52 if (!reqPath.empty() && !interfaceMap.contains(reqPath)) in getAncestors() 59 for (const auto& objectPath : interfaceMap) in getAncestors() 98 ConnectionNames getObject(const InterfaceMapType& interfaceMap, in getObject() argument 106 auto pathRef = interfaceMap.find(path); in getObject() 107 if (pathRef == interfaceMap.end()) in getObject() 142 const InterfaceMapType& interfaceMap, std::string reqPath, int32_t depth, in getSubTree() argument [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 | 48 InterfaceMapType& interfaceMap, AssociationMaps& assocMaps, in processNameChangeDelete() argument 60 InterfaceMapType::iterator pathIt = interfaceMap.begin(); in processNameChangeDelete() 61 while (pathIt != interfaceMap.end()) in processNameChangeDelete() 95 pathIt = interfaceMap.erase(pathIt); in processNameChangeDelete() 103 boost::asio::io_context& io, InterfaceMapType& interfaceMap, in processInterfaceAdded() argument 108 auto& ifaceList = interfaceMap[objPath.str]; in processInterfaceAdded() 134 interfaceMap, assocMaps); in processInterfaceAdded() 161 interfaceMap.emplace(parent, ConnectionNames{}); in processInterfaceAdded() 176 checkIfPendingAssociation(io, objPath.str, interfaceMap, assocMaps, server); in processInterfaceAdded()
|
| H A D | processing.hpp | 67 InterfaceMapType& interfaceMap, AssociationMaps& assocMaps, 82 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,
|
| H A D | associations.cpp | 245 const std::string& owner, const InterfaceMapType& interfaceMap, in associationChanged() argument 264 if (!interfaceMap.contains(objectPath)) in associationChanged() 421 const InterfaceMapType& interfaceMap, AssociationMaps& assocMaps, in checkIfPendingAssociation() argument 430 if (!interfaceMap.contains(objectPath)) in checkIfPendingAssociation() 442 if (!interfaceMap.contains(std::get<reversePathPos>(e))) in checkIfPendingAssociation()
|
| /openbmc/phosphor-objmgr/src/test/util/ |
| H A D | association_objects.hpp | 57 InterfaceMapType interfaceMap{{path, connectionMap}}; in createInterfaceMap() local 59 return interfaceMap; in createInterfaceMap() 66 InterfaceMapType interfaceMap = { in createDefaultInterfaceMap() local 70 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/phosphor-fan-presence/ |
| H A D | utility.hpp | 106 InterfaceMap interfaceMap; in getObjMap() local 110 interfaceMap.emplace(intf, std::move(propertyMap)); in getObjMap() 111 objectMap.emplace(path, std::move(interfaceMap)); in getObjMap()
|
| /openbmc/pldm/libpldmresponder/ |
| H A D | platform_config.cpp | 27 pldm::utils::InterfaceMap interfaceMap; in systemCompatibleCallback() local 29 msg.read(path, interfaceMap); in systemCompatibleCallback() 31 if (!interfaceMap.contains(InventoryDecoratorCompatible::interface)) in systemCompatibleCallback() 38 interfaceMap.at(InventoryDecoratorCompatible::interface); in systemCompatibleCallback()
|
| /openbmc/openpower-vpd-parser/vpd-manager/include/ |
| H A D | worker.hpp | 273 types::InterfaceMap& interfaceMap); 283 types::InterfaceMap& interfaceMap,
|
| /openbmc/phosphor-virtual-sensor/src/ |
| H A D | virtualSensor.cpp | 390 const InterfaceMap& interfaceMap, const std::string& objPath, in initVirtualSensor() argument 399 for (const auto& [interface, propertyMap] : interfaceMap) in initVirtualSensor() 768 for (const auto& [path, interfaceMap] : objects) in createVirtualSensorsFromDBus() 771 auto intfIter = interfaceMap.find(calculationIface); in createVirtualSensorsFromDBus() 772 if (intfIter == interfaceMap.end()) in createVirtualSensorsFromDBus() 812 bus, virtObjPath.c_str(), interfaceMap, name, sensorType, in createVirtualSensorsFromDBus()
|
| H A D | virtualSensor.hpp | 197 void initVirtualSensor(const InterfaceMap& interfaceMap,
|
| /openbmc/openpower-vpd-parser/vpd-manager/src/ |
| H A D | worker.cpp | 89 types::InterfaceMap& interfaceMap) in populateKwdVPDpropertyMap() argument 123 interfaceMap.emplace("xyz.openbmc_project.Inventory.Item.Dimm", in populateKwdVPDpropertyMap() 145 interfaceMap, constants::kwdVpdInf, move(propertyValueMap), in populateKwdVPDpropertyMap() 159 types::InterfaceMap& interfaceMap, in populateInterfaces() argument 200 interfaceMap, in populateInterfaces() 327 vpdSpecificUtility::insertOrMerge(interfaceMap, interface, in populateInterfaces()
|
| /openbmc/bmcweb/redfish-core/lib/ |
| H A D | log_services.hpp | 121 for (const auto& interfaceMap : object.second) in parseDumpEntryFromDbusObject() local 123 if (interfaceMap.first == "xyz.openbmc_project.Common.Progress") in parseDumpEntryFromDbusObject() 125 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() 140 else if (interfaceMap.first == "xyz.openbmc_project.Dump.Entry") in parseDumpEntryFromDbusObject() 142 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() 158 else if (interfaceMap.first == "xyz.openbmc_project.Time.EpochTime") in parseDumpEntryFromDbusObject() 160 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() 176 else if (interfaceMap.first == in parseDumpEntryFromDbusObject() 179 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | data_interface.cpp | 627 for (const auto& [path, interfaceMap] : subtree) in getSystemNames() 629 auto iface = interfaceMap.find(service_name::entityManager); in getSystemNames() 630 if (iface == interfaceMap.end()) in getSystemNames()
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | eventlog_utils.hpp | 625 for (const auto& interfaceMap : objectPath.second) in afterLogEntriesGetManagedObjects() local 627 for (const auto& propertyMap : interfaceMap.second) in afterLogEntriesGetManagedObjects()
|
| /openbmc/phosphor-host-ipmid/user_channel/ |
| H A D | channel_mgmt.cpp | 121 static std::unordered_map<EInterfaceIndex, std::string> interfaceMap = { variable
|