Home
last modified time | relevance | path

Searched refs:propertyMap (Results 1 – 19 of 19) sorted by relevance

/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.cpp117 std::string getSeverityField(const PropertyMap& propertyMap) in getSeverityField() argument
124 if (auto itr = propertyMap.find("Severity"); itr != propertyMap.end()) in getSeverityField()
160 auto severity = getSeverityField(propertyMap); in parseThresholds()
162 if (auto itr = propertyMap.find("Direction"); itr != propertyMap.end()) in parseThresholds()
188 if (auto itr = propertyMap.find("Sensors"); itr != propertyMap.end()) in parseConfigInterface()
211 getNumberFromConfig<double>(propertyMap, "MaxValue", false)); in parseConfigInterface()
382 for (const auto& [interface, propertyMap] : interfaceMap) in initVirtualSensor()
388 parseThresholds(thresholds, propertyMap, interface); in initVirtualSensor()
779 auto propertyMap = intfIter->second; in createVirtualSensorsFromDBus() local
780 auto proIter = propertyMap.find("Units"); in createVirtualSensorsFromDBus()
[all …]
H A DvirtualSensor.hpp200 void parseConfigInterface(const PropertyMap& propertyMap,
/openbmc/phosphor-mrw-tools/
H A Dgen_fru_properties.pl91 while (my ($interface,$propertyMap) = each %{$yamlDict->{$type}})
95 while (my ($property,$value) = each %{$propertyMap})
111 while (my ($interface,$propertyMap) = each %{$yamlDict->{$type}})
115 while (my ($property,$value) = each %{$propertyMap})
/openbmc/service-config-manager/src/
H A Dsrvcfg_manager.cpp147 const boost::container::flat_map<std::string, VariantType>& propertyMap) in updateSocketProperties() argument
149 auto listenIt = propertyMap.find("Listen"); in updateSocketProperties()
150 if (listenIt != propertyMap.end()) in updateSocketProperties()
177 const boost::container::flat_map<std::string, VariantType>& propertyMap) in updateServiceProperties() argument
179 auto stateIt = propertyMap.find("UnitFileState"); in updateServiceProperties()
180 if (stateIt != propertyMap.end()) in updateServiceProperties()
200 auto subStateIt = propertyMap.find("SubState"); in updateServiceProperties()
201 if (subStateIt != propertyMap.end()) in updateServiceProperties()
237 propertyMap) { in queryAndUpdateProperties()
247 updateServiceProperties(propertyMap); in queryAndUpdateProperties()
[all …]
/openbmc/phosphor-state-manager/
H A Dchassis_state_manager.cpp415 auto propertyMap = msgData.find("IsPresent"); in uPowerChangeEvent() local
416 if (propertyMap != msgData.end()) in uPowerChangeEvent()
419 std::get<bool>(propertyMap->second)); in uPowerChangeEvent()
424 propertyMap = msgData.find("State"); in uPowerChangeEvent()
425 if (propertyMap != msgData.end()) in uPowerChangeEvent()
428 std::get<uint>(propertyMap->second)); in uPowerChangeEvent()
433 propertyMap = msgData.find("BatteryLevel"); in uPowerChangeEvent()
434 if (propertyMap != msgData.end()) in uPowerChangeEvent()
437 std::get<uint>(propertyMap->second)); in uPowerChangeEvent()
454 auto propertyMap = msgData.find("Status"); in powerSysInputsChangeEvent() local
[all …]
H A Dhypervisor_state_manager.cpp99 auto propertyMap = msgData.find("BootProgress"); in bootProgressChangeEvent() local
100 if (propertyMap != msgData.end()) in bootProgressChangeEvent()
103 auto& bootProgress = std::get<std::string>(propertyMap->second); in bootProgressChangeEvent()
/openbmc/phosphor-fan-presence/
H A Dutility.hpp111 PropertyMap propertyMap; in getObjMap() local
113 propertyMap.emplace(prop, value); in getObjMap()
114 interfaceMap.emplace(intf, std::move(propertyMap)); in getObjMap()
/openbmc/phosphor-debug-collector/
H A Delog_watch.cpp64 PropertyMap propertyMap; in addCallback() local
67 msg.read(objectPath, propertyMap); in addCallback()
93 auto iter = propertyMap.find("xyz.openbmc_project.Logging.Entry"); in addCallback()
94 if (iter == propertyMap.end()) in addCallback()
/openbmc/openpower-occ-control/
H A Docc_pass_through.cpp179 auto propertyMap = msgData.find("OccActive"); in activeStatusEvent() local
180 if (propertyMap != msgData.end()) in activeStatusEvent()
183 if (std::get<bool>(propertyMap->second)) in activeStatusEvent()
H A Docc_command.cpp265 auto propertyMap = msgData.find("OccActive"); in activeStatusEvent() local
266 if (propertyMap != msgData.end()) in activeStatusEvent()
269 if (std::get<bool>(propertyMap->second)) in activeStatusEvent()
/openbmc/phosphor-fan-presence/monitor/
H A Dtach_sensor.hpp138 auto propertyMap = data.find(propertyName); in readPropertyFromMessage() local
139 if (propertyMap != data.end()) in readPropertyFromMessage()
141 value = std::get<T>(propertyMap->second); in readPropertyFromMessage()
/openbmc/service-config-manager/inc/
H A Dsrvcfg_manager.hpp116 propertyMap);
119 propertyMap);
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_type_dump.cpp84 for (auto& propertyMap : interface.second) in findDumpObjPath() local
86 if (propertyMap.first == "SourceDumpId") in findDumpObjPath()
88 auto dumpIdPtr = std::get_if<uint32_t>(&propertyMap.second); in findDumpObjPath()
/openbmc/sdbusplus/tools/sdbusplus/
H A Dproperty.py211 propertyMap = {
245 entry = propertyMap[first]
/openbmc/phosphor-inventory-manager/
H A Dmanager.cpp359 Interface propertyMap{}; in restore() local
363 object.emplace(std::move(ifaceName), std::move(propertyMap)); in restore()
368 object.emplace(std::move(ifaceName), std::move(propertyMap)); in restore()
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp47 for (const auto& [interfaceName, propertyMap] : interfaces) in createActivation()
51 for (const auto& [propertyName, propertyValue] : propertyMap) in createActivation()
72 const auto& it = propertyMap.find("Path"); in createActivation()
73 if (it != propertyMap.end()) in createActivation()
/openbmc/bmcweb/redfish-core/lib/
H A Dlog_services.hpp224 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
226 if (propertyMap.first == "Status") in parseDumpEntryFromDbusObject()
241 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
243 if (propertyMap.first == "Size") in parseDumpEntryFromDbusObject()
259 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
261 if (propertyMap.first == "Elapsed") in parseDumpEntryFromDbusObject()
278 for (const auto& propertyMap : interfaceMap.second) in parseDumpEntryFromDbusObject() local
280 if (propertyMap.first == "OriginatorId") in parseDumpEntryFromDbusObject()
292 if (propertyMap.first == "OriginatorType") in parseDumpEntryFromDbusObject()
1494 for (const auto& propertyMap : interfaceMap.second) in afterLogEntriesGetManagedObjects() local
[all …]
/openbmc/ibm-logging/
H A Dmanager.cpp63 auto propertyMap = interfaces.find(LOGGING_IFACE); in createAll() local
65 if (propertyMap != interfaces.end()) in createAll()
/openbmc/phosphor-fan-presence/control/
H A Dgen-fan-zone-defs.py72 propertyMap = {
91 entry = propertyMap[first]