Home
last modified time | relevance | path

Searched refs:propertyValue (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/pldm/libpldmresponder/
H A Dbios_integer_attribute.cpp143 uint64_t BIOSIntegerAttribute::getAttrValue(const PropertyValue& propertyValue) in getAttrValue() argument
148 value = std::get<uint8_t>(propertyValue); in getAttrValue()
152 value = std::get<uint16_t>(propertyValue); in getAttrValue()
156 value = std::get<int16_t>(propertyValue); in getAttrValue()
160 value = std::get<uint32_t>(propertyValue); in getAttrValue()
164 value = std::get<int32_t>(propertyValue); in getAttrValue()
168 value = std::get<uint64_t>(propertyValue); in getAttrValue()
172 value = std::get<int64_t>(propertyValue); in getAttrValue()
176 value = std::get<double>(propertyValue); in getAttrValue()
196 auto propertyValue = dbusHandler->getDbusPropertyVariant( in getAttrValue() local
[all …]
H A Dplatform_numeric_effecter.hpp351 int getEffecterValue(T propertyValue, uint8_t effecterDataSize, in getEffecterValue() argument
359 uint8_t value = static_cast<uint8_t>(propertyValue); in getEffecterValue()
367 int8_t value = static_cast<int8_t>(propertyValue); in getEffecterValue()
377 uint16_t value = static_cast<uint16_t>(propertyValue); in getEffecterValue()
387 int16_t value = static_cast<int16_t>(propertyValue); in getEffecterValue()
397 uint32_t value = static_cast<uint32_t>(propertyValue); in getEffecterValue()
407 int32_t value = static_cast<int32_t>(propertyValue); in getEffecterValue()
434 const std::string& propertyType, pldm::utils::PropertyValue propertyValue, in getNumericEffecterValueHandler() argument
440 uint8_t propVal = std::get<uint8_t>(propertyValue); in getNumericEffecterValueHandler()
446 uint16_t propVal = std::get<uint16_t>(propertyValue); in getNumericEffecterValueHandler()
[all …]
H A Dplatform_state_sensor.hpp43 auto propertyValue = dBusIntf.getDbusPropertyVariant( in getStateSensorEventState() local
49 if (stateValue.second == propertyValue) in getStateSensorEventState()
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dmapped_floor.cpp392 std::optional<PropertyVariantType> propertyValue; in run() local
396 propertyValue = Manager::getParameter( in run()
398 if (propertyValue) in run()
400 tryConvertToDouble(*propertyValue); in run()
416 propertyValue = in run()
421 if (propertyValue) in run()
430 if (std::holds_alternative<double>(*propertyValue)) in run()
432 if (*propertyValue <= value) in run()
438 else if (*propertyValue == value) in run()
/openbmc/dbus-sensors/src/intrusion/
H A DChassisIntrusionSensor.cpp289 std::string& propertyValue) in setSensorValue() argument
304 propertyValue = req; in setSensorValue()
310 propertyValue = req; in setSensorValue()
317 if (mValue == normalValStr && propertyValue != normalValStr) in setSensorValue()
323 else if (mValue == hwIntrusionValStr && propertyValue == normalValStr) in setSensorValue()
336 [&](const std::string& req, std::string& propertyValue) { in start() argument
337 return setSensorValue(req, propertyValue); in start()
H A DChassisIntrusionSensor.hpp38 int setSensorValue(const std::string& req, std::string& propertyValue);
/openbmc/bmcweb/redfish-core/src/utils/
H A Ddbus_utils.cpp29 const std::string& redfishPropertyName, const nlohmann::json& propertyValue, in afterSetProperty() argument
53 asyncResp->res, redfishPropertyName, propertyValue); in afterSetProperty()
80 asyncResp->res, redfishPropertyName, propertyValue); in afterSetProperty()
/openbmc/witherspoon-pfault-analysis/
H A Dutility.hpp78 std::variant<T> propertyValue(value); in setProperty() local
83 method.append(interface, propertyName, propertyValue); in setProperty()
/openbmc/phosphor-time-manager/
H A Dutils.hpp76 std::variant<T> propertyValue(value); in setProperty() local
81 method.append(interface, propertyName, propertyValue); in setProperty()
/openbmc/phosphor-fan-presence/control/
H A Dmanager.cpp68 auto propertyValue = util::SDBusPlus::getProperty<decltype(value)>( in checkCondition() local
73 if (value != propertyValue) in checkCondition()
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Ddbus_utility.hpp182 types::DbusVariantType propertyValue; in readDbusProperty() local
190 return propertyValue; in readDbusProperty()
202 result.read(propertyValue); in readDbusProperty()
206 return propertyValue; in readDbusProperty()
208 return propertyValue; in readDbusProperty()
228 const types::DbusVariantType& propertyValue) in writeDbusProperty() argument
243 method.append(interface, property, propertyValue); in writeDbusProperty()
/openbmc/openpower-hw-diags/util/
H A Ddbus.hpp63 const std::variant<T>& propertyValue) in setProperty() argument
73 method.append(propertyValue); in setProperty()
/openbmc/phosphor-dbus-monitor/src/
H A Devent_manager.cpp35 const std::string& propertyValue) in create() argument
43 auto propVal = propertyName + "=" + propertyValue; in create()
H A Devent_manager.hpp41 const std::string& propertyValue);
/openbmc/pldm/platform-mc/
H A Ddbus_to_terminus_effecters.hpp57 double propertyValue; //!< D-Bus property values member
204 const pldm::utils::PropertyValue& propertyValue);
/openbmc/sdbusplus/example/
H A Dasio-example.cpp220 [](const int& req, int& propertyValue) { in server() argument
225 propertyValue = req; in server()
231 [](const std::string& req, std::string& propertyValue) { in server() argument
232 propertyValue = req; in server()
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dproperty.hpp111 PropertyType&& propertyValue, Handler&& handler) in setProperty() argument
117 std::forward<PropertyType>(propertyValue))); in setProperty()
/openbmc/bmcweb/redfish-core/include/utils/
H A Ddbus_utils.hpp43 const std::string& redfishPropertyName, const nlohmann::json& propertyValue,
/openbmc/docs/architecture/
H A Dredfish-logging-in-bmcweb.md141 "Property Name", propertyValue));
151 propertyValue, NULL);
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dutils.hpp260 Type& propertyValue) in getDbusProperty() argument
271 propertyValue = *tmp; in getDbusProperty()
/openbmc/bmcweb/redfish-core/lib/
H A Dmanagers.hpp135 const std::string& propertyValue = in doBMCGracefulRestart() local
142 destProperty, propertyValue, in doBMCGracefulRestart()
162 const std::string& propertyValue = in doBMCForceRestart() local
169 destProperty, propertyValue, in doBMCForceRestart()
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp66 for (const auto& [propertyName, propertyValue] : propertyMap) in onVersionInterfacesAdded()
72 std::get<std::string>(propertyValue)); in onVersionInterfacesAdded()
81 version = std::get<std::string>(propertyValue); in onVersionInterfacesAdded()
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dthreshold_alarm_logger.cpp199 for (const auto& [propertyName, propertyValue] : properties) in checkProperties()
215 auto alarmValue = std::get<bool>(propertyValue); in checkProperties()
/openbmc/entity-manager/src/fru_device/
H A Dfru_utils.hpp237 bool updateAddProperty(const std::string& propertyValue,
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_platform_test.cpp253 PropertyValue propertyValue = value; in TEST() local
258 EXPECT_CALL(mockedUtils, setDbusProperty(dbusMapping, propertyValue)) in TEST()
344 PropertyValue propertyValue = static_cast<uint64_t>(effecterValue); in TEST() local
348 EXPECT_CALL(mockedUtils, setDbusProperty(dbusMapping, propertyValue)) in TEST()

12