| /openbmc/phosphor-led-manager/ |
| H A D | utils.hpp | 20 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 D | utils.cpp | 63 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/openpower-occ-control/ |
| H A D | utils.hpp | 22 using PropertyValue = typedef 54 const PropertyValue getProperty(const std::string& objectPath, 67 const std::string& propertyName, PropertyValue&& value);
|
| H A D | utils.cpp | 55 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/phosphor-fan-presence/monitor/ |
| H A D | types.hpp | 36 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() 96 using PropertyState = std::pair<PropertyIdentity, PropertyValue>;
|
| /openbmc/pldm/libpldmresponder/test/ |
| H A D | libpldmresponder_platform_test.cpp | 253 PropertyValue propertyValue = value; in TEST() 344 PropertyValue propertyValue = static_cast<uint64_t>(effecterValue); in TEST() 426 pldm::utils::PropertyValue dbusValue; in TEST() 437 .WillOnce(Return(PropertyValue(static_cast<uint64_t>(effecterValue)))); in TEST() 501 pldm::utils::PropertyValue dbusValue; in TEST() 604 PropertyValue value0{std::in_place_type<std::string>, in TEST() 606 PropertyValue value1{std::in_place_type<std::string>, in TEST() 608 PropertyValue value2{std::in_place_type<std::string>, in TEST() 626 PropertyValue value0{std::in_place_type<uint8_t>, 9}; in TEST() 627 PropertyValue value1{std::in_place_type<uint8_t>, 10}; in TEST() [all …]
|
| H A D | libpldmresponder_bios_integer_attribute_test.cpp | 161 .WillOnce(Return(PropertyValue(uint8_t(7)))); in TEST_F() 205 setDbusProperty(dbusMapping, PropertyValue{uint8_t(7)})) in TEST_F()
|
| H A D | libpldmresponder_bios_string_attribute_test.cpp | 151 .WillOnce(Return(PropertyValue(std::string("abcd")))); in TEST_F() 197 PropertyValue value = std::string("abcd"); in TEST_F()
|
| /openbmc/pldm/libpldmresponder/ |
| H A D | bios_enum_attribute.hpp | 68 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 D | bios_integer_attribute.hpp | 64 const pldm::utils::PropertyValue& newPropVal) override; 71 uint64_t getAttrValue(const pldm::utils::PropertyValue& value);
|
| H A D | platform_numeric_effecter.hpp | 35 std::pair<int, std::optional<pldm::utils::PropertyValue>> getEffecterRawValue( in getEffecterRawValue() 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 D | bios_enum_attribute.cpp | 77 PropertyValue value; in buildValMap() 158 uint8_t BIOSEnumAttribute::getAttrValueIndex(const PropertyValue& propValue) in getAttrValueIndex() 252 const PropertyValue& newPropVal) in updateAttrVal()
|
| H A D | bios_string_attribute.cpp | 73 PropertyValue value = in setAttrValueOnDbus() 140 const PropertyValue& newPropVal) in updateAttrVal()
|
| /openbmc/pldm/platform-mc/ |
| H A D | dbus_to_terminus_effecters.hpp | 24 std::map<dbus::Property, pldm::utils::PropertyValue>; 42 std::vector<pldm::utils::PropertyValue> 167 std::vector<pldm::utils::PropertyValue>& propertyValues, 204 const pldm::utils::PropertyValue& propertyValue);
|
| /openbmc/pldm/common/ |
| H A D | utils.hpp | 179 using PropertyValue = typedef 184 using DbusChangedProps = std::map<DbusProp, PropertyValue>; 206 using PropertyMap = std::map<std::string, PropertyValue>; 246 const PropertyValue& value) const = 0; 248 virtual PropertyValue getDbusPropertyVariant( 348 PropertyValue getDbusPropertyVariant( 412 const PropertyValue& value) const override; 479 PropertyValue jsonEntryToDbusVal(std::string_view type, 679 const pldm::utils::PropertyValue& value,
|
| /openbmc/pldm/oem/meta/libpldmresponder/ |
| H A D | file_io_type_bios_version.cpp | 66 pldm::utils::PropertyValue BIOSVersionHandler::convertToBIOSVersionStr( in convertToBIOSVersionStr() 71 return pldm::utils::PropertyValue{biosVersion}; in convertToBIOSVersionStr()
|
| H A D | file_io_type_bios_version.hpp | 42 pldm::utils::PropertyValue convertToBIOSVersionStr(const message& data);
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/ |
| H A D | side_switch.cpp | 130 utils::PropertyValue chassOff = in powerOffSystem() 199 utils::PropertyValue restorePolicyOn = in setAutoPowerRestart() 221 utils::PropertyValue bmcReboot = in rebootTheBmc()
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | file_io_type_cert.cpp | 149 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()
|
| /openbmc/phosphor-led-manager/fault-monitor/ |
| H A D | operational-status-monitor.cpp | 67 PropertyValue endpoint{}; in getLedGroupPaths() 97 PropertyValue assertedValue{!value}; in updateAssertedProperty()
|
| /openbmc/pldm/common/test/ |
| H A D | mocked_utils.hpp | 62 const pldm::utils::PropertyValue&), 65 MOCK_METHOD(pldm::utils::PropertyValue, getDbusPropertyVariant,
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | utils.hpp | 12 using PropertyValue = std::variant<std::string>; typedef 66 const PropertyValue& value);
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | dbus_to_terminus_effecter_test.cpp | 116 PropertyValue val1{std::in_place_type<std::string>, in TEST() 118 PropertyValue val2{std::in_place_type<std::string>, in TEST()
|
| /openbmc/phosphor-led-manager/manager/ |
| H A D | manager.cpp | 222 PropertyValue dutyOnValue{dutyOn}; in drivePhysicalLED() 223 PropertyValue periodValue{period}; in drivePhysicalLED() 231 PropertyValue actionValue{getPhysicalAction(action)}; in drivePhysicalLED()
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/usb/ |
| H A D | usb_manager.cpp | 141 utils::PropertyValue value = in setApplyTime() 159 utils::PropertyValue value = in setRequestedActivation()
|