/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 const PropertyValue getProperty(const std::string& objectPath, 96 const PropertyValue& value) const;
|
H A D | utils.cpp | 64 const PropertyValue 69 PropertyValue value{}; in getProperty() 92 const PropertyValue& value) const in setProperty()
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_platform_test.cpp | 258 PropertyValue propertyValue = value; in TEST() 352 PropertyValue propertyValue = static_cast<uint64_t>(effecterValue); in TEST() 434 pldm::utils::PropertyValue dbusValue; in TEST() 511 pldm::utils::PropertyValue dbusValue; in TEST() 615 PropertyValue value0{std::in_place_type<std::string>, in TEST() 617 PropertyValue value1{std::in_place_type<std::string>, in TEST() 619 PropertyValue value2{std::in_place_type<std::string>, in TEST() 637 PropertyValue value0{std::in_place_type<uint8_t>, 9}; in TEST() 638 PropertyValue value1{std::in_place_type<uint8_t>, 10}; in TEST() 654 PropertyValue value0{std::in_place_type<bool>, false}; in TEST() [all …]
|
H A D | libpldmresponder_bios_integer_attribute_test.cpp | 161 .WillOnce(Return(PropertyValue(uint8_t(7)))); in TEST_F() 206 setDbusProperty(dbusMapping, PropertyValue{uint8_t(7)})) in TEST_F()
|
/openbmc/pldm/common/ |
H A D | utils.hpp | 150 using PropertyValue = typedef 155 using DbusChangedProps = std::map<DbusProp, PropertyValue>; 173 using PropertyMap = std::map<std::string, PropertyValue>; 196 const PropertyValue& value) const = 0; 198 virtual PropertyValue 278 PropertyValue 329 const PropertyValue& value) const override; 396 PropertyValue jsonEntryToDbusVal(std::string_view type,
|
H A D | utils.cpp | 315 const PropertyValue& value) const in setDbusProperty() 386 PropertyValue DBusHandler::getDbusPropertyVariant( in getDbusPropertyVariant() 394 return bus.call(method, dbusTimeout).unpack<PropertyValue>(); in getDbusPropertyVariant() 419 PropertyValue jsonEntryToDbusVal(std::string_view type, in jsonEntryToDbusVal() 422 PropertyValue propValue{}; in jsonEntryToDbusVal() 656 pldm::utils::PropertyValue value{present}; in setFruPresence()
|
/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 | 56 const PropertyValue getProperty(const std::string& objectPath, in getProperty() 60 PropertyValue value{}; in getProperty() 88 const std::string& propertyName, PropertyValue&& value) in setProperty() 91 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() 99 using PropertyState = std::pair<PropertyIdentity, PropertyValue>;
|
/openbmc/pldm/host-bmc/ |
H A D | dbus_to_host_effecters.hpp | 23 std::map<dbus::Property, pldm::utils::PropertyValue>; 41 std::vector<pldm::utils::PropertyValue> 132 std::vector<pldm::utils::PropertyValue>& propertyValues, 157 const pldm::utils::PropertyValue& propertyValue);
|
/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>> 42 pldm::utils::PropertyValue value; in getEffecterRawValue() 187 std::pair<int, std::optional<pldm::utils::PropertyValue>> 436 pldm::utils::PropertyValue propertyValue, in getNumericEffecterValueHandler() 496 pldm::utils::PropertyValue& propertyValue) in getNumericEffecterData()
|
H A D | bios_enum_attribute.cpp | 76 PropertyValue value; in buildValMap() 157 uint8_t BIOSEnumAttribute::getAttrValueIndex(const PropertyValue& propValue) in getAttrValueIndex() 251 const PropertyValue& newPropVal) in updateAttrVal()
|
H A D | bios_string_attribute.cpp | 73 PropertyValue value = in setAttrValueOnDbus() 140 const PropertyValue& newPropVal) in updateAttrVal()
|
/openbmc/phosphor-bmc-code-mgmt/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 | 148 PropertyValue value{str}; in write() 164 PropertyValue valueStatus{ in write() 188 PropertyValue value{"xyz.openbmc_project.Certs.Entry.State.BadCSR"}; in write() 284 PropertyValue value{status}; in newFileAvailableWithMetaData() 324 PropertyValue value = "xyz.openbmc_project.Certs.Entry.State.Pending"; in fileAckWithMetaData()
|
H A D | file_io_type_dump.cpp | 223 PropertyValue value{ in fileAck() 251 PropertyValue value = static_cast<uint32_t>(val); in fileAck() 298 PropertyValue value{true}; in fileAck()
|
/openbmc/pldm/common/test/ |
H A D | mocked_utils.hpp | 62 const pldm::utils::PropertyValue&), 65 MOCK_METHOD(pldm::utils::PropertyValue, getDbusPropertyVariant,
|
/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/phosphor-bmc-code-mgmt/ |
H A D | utils.hpp | 12 using PropertyValue = std::variant<std::string>; typedef 66 const PropertyValue& value);
|
/openbmc/pldm/host-bmc/test/ |
H A D | dbus_to_host_effecter_test.cpp | 80 PropertyValue val1{std::in_place_type<std::string>, in TEST() 82 PropertyValue val2{std::in_place_type<std::string>, in TEST()
|
/openbmc/phosphor-bmc-code-mgmt/usb/ |
H A D | usb_manager.cpp | 61 utils::PropertyValue value = in setApplyTime() 79 utils::PropertyValue value = in setRequestedActivation()
|
/openbmc/phosphor-led-manager/manager/ |
H A D | manager.cpp | 162 PropertyValue dutyOnValue{dutyOn}; in drivePhysicalLED() 163 PropertyValue periodValue{period}; in drivePhysicalLED() 169 PropertyValue actionValue{getPhysicalAction(action)}; in drivePhysicalLED()
|
/openbmc/phosphor-networkd/src/ |
H A D | inventory_mac.cpp | 30 using PropertyValue = std::string; typedef 216 std::map<DbusInterface, std::variant<PropertyValue>>> in registerSignals() 281 std::map<DbusInterface, std::variant<PropertyValue>>> in watchEthernetInterface()
|