Home
last modified time | relevance | path

Searched refs:PropertyValue (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/phosphor-led-manager/
H A Dutils.hpp20 using PropertyValue = std::variant<uint8_t, uint16_t, std::string, typedef
27 using PropertyMap = std::unordered_map<DbusProperty, PropertyValue>;
80 static PropertyValue getProperty(const std::string& objectPath,
96 const PropertyValue& value);
H A Dutils.cpp63 PropertyValue DBusHandler::getProperty(const std::string& objectPath, in getProperty()
67 PropertyValue value{}; in getProperty()
89 const std::string& propertyName, const PropertyValue& value) in setProperty()
/openbmc/pldm/common/
H A Dutils.hpp174 using PropertyValue = typedef
179 using DbusChangedProps = std::map<DbusProp, PropertyValue>;
197 using PropertyMap = std::map<std::string, PropertyValue>;
220 const PropertyValue& value) const = 0;
222 virtual PropertyValue
302 PropertyValue
353 const PropertyValue& value) const override;
420 PropertyValue jsonEntryToDbusVal(std::string_view type,
569 const pldm::utils::PropertyValue& value,
H A Dutils.cpp312 const PropertyValue& value) const in setDbusProperty()
383 PropertyValue DBusHandler::getDbusPropertyVariant( in getDbusPropertyVariant()
391 return bus.call(method, dbusTimeout).unpack<PropertyValue>(); in getDbusPropertyVariant()
415 PropertyValue jsonEntryToDbusVal(std::string_view type, in jsonEntryToDbusVal()
418 PropertyValue propValue{}; in jsonEntryToDbusVal()
652 pldm::utils::PropertyValue value{present}; in setFruPresence()
682 const pldm::utils::PropertyValue& value, in dbusPropValuesToDouble()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_platform_test.cpp259 PropertyValue propertyValue = value; in TEST()
351 PropertyValue propertyValue = static_cast<uint64_t>(effecterValue); in TEST()
433 pldm::utils::PropertyValue dbusValue; in TEST()
444 .WillOnce(Return(PropertyValue(static_cast<uint64_t>(effecterValue)))); in TEST()
509 pldm::utils::PropertyValue dbusValue; in TEST()
612 PropertyValue value0{std::in_place_type<std::string>, in TEST()
614 PropertyValue value1{std::in_place_type<std::string>, in TEST()
616 PropertyValue value2{std::in_place_type<std::string>, in TEST()
634 PropertyValue value0{std::in_place_type<uint8_t>, 9}; in TEST()
635 PropertyValue value1{std::in_place_type<uint8_t>, 10}; in TEST()
[all …]
H A Dlibpldmresponder_bios_string_attribute_test.cpp151 .WillOnce(Return(PropertyValue(std::string("abcd")))); in TEST_F()
198 PropertyValue value = std::string("abcd"); in TEST_F()
/openbmc/phosphor-fan-presence/monitor/
H A Dtypes.hpp36 using PropertyValue = std::variant<bool, int64_t, std::string>; typedef
57 static const PropertyValue getPropValue(const json& entry, in getPropValue()
60 PropertyValue value; in getPropValue()
99 using PropertyState = std::pair<PropertyIdentity, PropertyValue>;
/openbmc/openpower-occ-control/
H A Dutils.hpp22 using PropertyValue = typedef
54 const PropertyValue getProperty(const std::string& objectPath,
67 const std::string& propertyName, PropertyValue&& value);
H A Dutils.cpp55 const PropertyValue getProperty(const std::string& objectPath, in getProperty()
59 PropertyValue value{}; in getProperty()
87 const std::string& propertyName, PropertyValue&& value) in setProperty()
90 PropertyValue varValue(std::forward<PropertyValue>(value)); in setProperty()
/openbmc/pldm/host-bmc/
H A Ddbus_to_terminus_effecters.hpp23 std::map<dbus::Property, pldm::utils::PropertyValue>;
41 std::vector<pldm::utils::PropertyValue>
163 std::vector<pldm::utils::PropertyValue>& propertyValues,
200 const pldm::utils::PropertyValue& propertyValue);
/openbmc/pldm/libpldmresponder/
H A Dbios_enum_attribute.hpp68 const pldm::utils::PropertyValue& newPropVal) override;
97 using ValMap = std::map<pldm::utils::PropertyValue, std::string>;
117 uint8_t getAttrValueIndex(const pldm::utils::PropertyValue& propValue);
H A Dbios_integer_attribute.hpp64 const pldm::utils::PropertyValue& newPropVal) override;
71 uint64_t getAttrValue(const pldm::utils::PropertyValue& value);
H A Dplatform_numeric_effecter.hpp35 std::pair<int, std::optional<pldm::utils::PropertyValue>>
42 pldm::utils::PropertyValue value; in getEffecterRawValue()
187 std::pair<int, std::optional<pldm::utils::PropertyValue>> convertToDbusValue( in convertToDbusValue()
434 const std::string& propertyType, pldm::utils::PropertyValue propertyValue, in getNumericEffecterValueHandler()
492 pldm::utils::PropertyValue& propertyValue) in getNumericEffecterData()
H A Dbios_enum_attribute.cpp77 PropertyValue value; in buildValMap()
158 uint8_t BIOSEnumAttribute::getAttrValueIndex(const PropertyValue& propValue) in getAttrValueIndex()
252 const PropertyValue& newPropVal) in updateAttrVal()
H A Dbios_string_attribute.cpp73 PropertyValue value = in setAttrValueOnDbus()
140 const PropertyValue& newPropVal) in updateAttrVal()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_type_cert.cpp149 PropertyValue value{str}; in write()
165 PropertyValue valueStatus{ in write()
189 PropertyValue value{"xyz.openbmc_project.Certs.Entry.State.BadCSR"}; in write()
283 PropertyValue value{status}; in newFileAvailableWithMetaData()
322 PropertyValue value = "xyz.openbmc_project.Certs.Entry.State.Pending"; in fileAckWithMetaData()
H A Dfile_io_type_dump.cpp223 PropertyValue value{ in fileAck()
251 PropertyValue value = static_cast<uint32_t>(val); in fileAck()
298 PropertyValue value{true}; in fileAck()
/openbmc/phosphor-bmc-code-mgmt/side-switch/
H A Dside_switch.cpp
/openbmc/pldm/common/test/
H A Dmocked_utils.hpp62 const pldm::utils::PropertyValue&),
65 MOCK_METHOD(pldm::utils::PropertyValue, getDbusPropertyVariant,
/openbmc/phosphor-led-manager/fault-monitor/
H A Doperational-status-monitor.cpp67 PropertyValue endpoint{}; in getLedGroupPaths()
97 PropertyValue assertedValue{!value}; in updateAssertedProperty()
/openbmc/phosphor-bmc-code-mgmt/
H A Dutils.hpp
/openbmc/phosphor-led-manager/manager/
H A Dmanager.cpp220 PropertyValue dutyOnValue{dutyOn}; in drivePhysicalLED()
221 PropertyValue periodValue{period}; in drivePhysicalLED()
229 PropertyValue actionValue{getPhysicalAction(action)}; in drivePhysicalLED()
/openbmc/phosphor-networkd/src/
H A Dinventory_mac.cpp30 using PropertyValue = std::string; typedef
216 std::map<DbusInterface, std::variant<PropertyValue>>> in registerSignals()
289 std::map<DbusInterface, std::variant<PropertyValue>>> in watchEthernetInterface()
/openbmc/pldm/host-bmc/test/
H A Ddbus_to_terminus_effecter_test.cpp115 PropertyValue val1{std::in_place_type<std::string>, in TEST()
117 PropertyValue val2{std::in_place_type<std::string>, in TEST()
/openbmc/phosphor-bmc-code-mgmt/usb/
H A Dusb_manager.cpp

123