Home
last modified time | relevance | path

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

/openbmc/pldm/libpldmresponder/
H A Devent_parser.cpp115 auto propValue = utils::jsonEntryToDbusVal(type, propIt.value()); in mapStateToDBusVal() local
116 eventStateMap.emplace((*stateIt).get<uint8_t>(), std::move(propValue)); in mapStateToDBusVal()
128 utils::PropertyValue propValue{}; in eventAction() local
131 propValue = eventStateMap.at(state); in eventAction()
142 pldm::utils::DBusHandler().setDbusProperty(dbusMapping, propValue); in eventAction()
H A Dbios_enum_attribute.cpp141 auto propValue = dbusHandler->getDbusPropertyVariant( in getAttrValueIndex() local
144 auto iter = valMap.find(propValue); in getAttrValueIndex()
158 uint8_t BIOSEnumAttribute::getAttrValueIndex(const PropertyValue& propValue) in getAttrValueIndex() argument
162 return getValueIndex(std::get<std::string>(propValue), possibleValues); in getAttrValueIndex()
H A Dfru.cpp272 pldm::responder::dbus::Value propValue; in populateRecords() local
278 propValue = populatefwVersion(); in populateRecords()
282 propValue = interfaces.at(intf).at(prop); in populateRecords()
286 auto byteArray = std::get<std::vector<uint8_t>>(propValue); in populateRecords()
300 auto str = std::get<std::string>(propValue); in populateRecords()
H A Dbios_enum_attribute.hpp117 uint8_t getAttrValueIndex(const pldm::utils::PropertyValue& propValue);
/openbmc/pldm/common/
H A Dutils.cpp418 PropertyValue propValue{}; in jsonEntryToDbusVal() local
421 propValue = static_cast<uint8_t>(value); in jsonEntryToDbusVal()
425 propValue = static_cast<uint16_t>(value); in jsonEntryToDbusVal()
429 propValue = static_cast<uint32_t>(value); in jsonEntryToDbusVal()
433 propValue = static_cast<uint64_t>(value); in jsonEntryToDbusVal()
437 propValue = static_cast<int16_t>(value); in jsonEntryToDbusVal()
441 propValue = static_cast<int32_t>(value); in jsonEntryToDbusVal()
445 propValue = static_cast<int64_t>(value); in jsonEntryToDbusVal()
449 propValue = static_cast<bool>(value); in jsonEntryToDbusVal()
453 propValue = static_cast<double>(value); in jsonEntryToDbusVal()
[all …]
/openbmc/phosphor-net-ipmid/command/
H A Dguid.cpp78 ipmi::Value propValue; in getSystemGUID() local
85 propValue = ipmi::getDbusProperty(bus, service, objPath, propInterface, in getSystemGUID()
94 std::string rfc4122Uuid = std::get<std::string>(propValue); in getSystemGUID()
/openbmc/phosphor-host-ipmid/
H A Dsensordatahandler.cpp84 auto propValue = ipmi::getDbusProperty( in mapDbusToAssertion() local
89 if (propValue == value.second.assert) in mapDbusToAssertion()
117 auto propValue = in mapDbusToEventdata2() local
123 if (propValue == value.second.assert) in mapDbusToEventdata2()
H A Dsensordatahandler.hpp183 auto propValue = ipmi::getDbusProperty( in readingAssertion() local
188 setAssertionBytes(static_cast<uint16_t>(std::get<T>(propValue)), &response); in readingAssertion()
239 auto propValue = ipmi::getDbusProperty( in readingData() local
244 double value = std::get<T>(propValue) * in readingData()
H A Dselutility.cpp303 auto propValue = in convertLogEntrytoSEL() local
305 assocs = std::get<std::vector<ipmi::Association>>(propValue); in convertLogEntrytoSEL()
354 auto propValue = ipmi::getDbusProperty(bus, service, objPath, in getEntryTimeStamp() local
356 timeStamp = std::get<uint64_t>(propValue); in getEntryTimeStamp()
H A Dwhitelist-filter.cpp100 auto propValue = ipmi::getDbusProperty( in cacheRestrictedMode() local
103 mode = std::get<std::string>(propValue); in cacheRestrictedMode()
H A Dstoragehandler.cpp556 auto propValue = ipmi::getDbusProperty( in ipmiStorageGetSelTime() local
558 bmc_time_usec = std::get<uint64_t>(propValue); in ipmiStorageGetSelTime()
H A Dchassishandler.cpp563 auto propValue = in getPOHCounter() local
567 return std::get<uint32_t>(propValue); in getPOHCounter()
/openbmc/entity-manager/src/
H A Dutils.cpp238 for (const auto& [propName, propValue] : interface) in templateCharReplace()
253 std::visit([&](auto&& val) { keyPair.value() = val; }, propValue); in templateCharReplace()
265 std::string val = std::visit(VariantToStringVisitor(), propValue); in templateCharReplace()
295 int number = std::visit(VariantToIntVisitor(), propValue); in templateCharReplace()
H A Dentity_manager.cpp638 for (const auto& [propName, propValue] : boardValues.items()) in postToDbus()
640 if (propValue.type() == nlohmann::json::value_t::object) in postToDbus()
648 propValue, objServer); in postToDbus()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfru_oem_ibm.cpp147 const std::string& propValue) in dbus_map_update() argument
149 pldm::utils::PropertyValue value = propValue; in dbus_map_update()
H A Dfru_oem_ibm.hpp94 const std::string& propValue);
/openbmc/phosphor-fan-presence/monitor/
H A Dtypes.hpp98 constexpr auto propValue = 1; variable
/openbmc/phosphor-fan-presence/control/json/
H A Dmanager.cpp136 for (const auto& [propName, propValue] : properties) in dumpCache()
140 propValue); in dumpCache()
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp1257 for (const auto& [propName, propValue] : it->second) in getUserInfo()
1261 groupName = std::get<std::string>(propValue); in getUserInfo()
1265 privilege = std::get<std::string>(propValue); in getUserInfo()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp1006 for (auto& [property, propValue] : props) in setProperties()
1010 const std::string* value = std::get_if<std::string>(&propValue); in setProperties()
1020 const uint64_t* value = std::get_if<uint64_t>(&propValue); in setProperties()
1031 const std::string* value = std::get_if<std::string>(&propValue); in setProperties()
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_mgmt.cpp1330 auto propValue = ipmi::getDbusProperty( in syncNetworkChannelConfig() local
1334 intfPrivStr = std::get<std::string>(propValue); in syncNetworkChannelConfig()
/openbmc/intel-ipmi-oem/src/
H A Doemcommands.cpp2926 const Value& propValue = getDbusProperty( in ipmiOEMReadBoardProductId() local
2930 prodId = static_cast<uint8_t>(std::get<uint64_t>(propValue)); in ipmiOEMReadBoardProductId()