Home
last modified time | relevance | path

Searched refs:propertyType (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/pldm/libpldmresponder/
H A Dbios_integer_attribute.cpp60 if (dBusMap->propertyType == "uint8_t") in setAttrValueOnDbus()
65 else if (dBusMap->propertyType == "uint16_t") in setAttrValueOnDbus()
70 else if (dBusMap->propertyType == "int16_t") in setAttrValueOnDbus()
75 else if (dBusMap->propertyType == "uint32_t") in setAttrValueOnDbus()
80 else if (dBusMap->propertyType == "int32_t") in setAttrValueOnDbus()
85 else if (dBusMap->propertyType == "uint64_t") in setAttrValueOnDbus()
89 else if (dBusMap->propertyType == "int64_t") in setAttrValueOnDbus()
94 else if (dBusMap->propertyType == "double") in setAttrValueOnDbus()
101 dBusMap->propertyType); in setAttrValueOnDbus()
146 if (dBusMap->propertyType in getAttrValue()
[all...]
H A Dplatform_numeric_effecter.hpp29 * @param[in] propertyType - type of the D-Bus property.
37 std::string propertyType) in getEffecterRawValue() argument
56 if (propertyType == "uint64_t") in getEffecterRawValue()
61 else if (propertyType == "uint32_t") in getEffecterRawValue()
92 if (propertyType == "uint64_t") in getEffecterRawValue()
97 else if (propertyType == "uint32_t") in getEffecterRawValue()
115 if (propertyType == "uint64_t") in getEffecterRawValue()
120 else if (propertyType == "uint32_t") in getEffecterRawValue()
138 if (propertyType == "uint64_t") in getEffecterRawValue()
143 else if (propertyType in getEffecterRawValue()
189 convertToDbusValue(const pldm_numeric_effecter_value_pdr * pdr,uint8_t effecterDataSize,uint8_t * effecterValue,std::string propertyType) convertToDbusValue() argument
434 getNumericEffecterValueHandler(const std::string & propertyType,pldm::utils::PropertyValue propertyValue,uint8_t effecterDataSize,pldm_msg * responsePtr,size_t responsePayloadLength,uint8_t instanceId) getNumericEffecterValueHandler() argument
491 getNumericEffecterData(const DBusInterface & dBusIntf,Handler & handler,uint16_t effecterId,uint8_t & effecterDataSize,std::string & propertyType,pldm::utils::PropertyValue & propertyValue) getNumericEffecterData() argument
[all...]
H A Dbios_enum_attribute.cpp81 if (dBusMap->propertyType == "uint8_t") in buildValMap()
85 else if (dBusMap->propertyType == "uint16_t") in buildValMap()
89 else if (dBusMap->propertyType == "uint32_t") in buildValMap()
93 else if (dBusMap->propertyType == "uint64_t") in buildValMap()
97 else if (dBusMap->propertyType == "int16_t") in buildValMap()
101 else if (dBusMap->propertyType == "int32_t") in buildValMap()
105 else if (dBusMap->propertyType == "int64_t") in buildValMap()
109 else if (dBusMap->propertyType == "bool") in buildValMap()
113 else if (dBusMap->propertyType == "double") in buildValMap()
117 else if (dBusMap->propertyType in buildValMap()
[all...]
H A Devent_parser.cpp72 dbusInfo.propertyType = dbus.value("property_type", ""); in StateSensorHandler()
75 !supportedDbusPropertyTypes.contains(dbusInfo.propertyType)) in StateSensorHandler()
81 "PROPERTY_TYPE", dbusInfo.propertyType); in StateSensorHandler()
98 dbusInfo.propertyType); in StateSensorHandler()
H A Dbios_attribute.cpp37 std::string propertyType = entry.at("dbus").at("property_type"); in BIOSAttribute() local
39 dBusMap = {objectPath, interface, propertyName, propertyType}; in BIOSAttribute()
H A Dpdr_state_effecter.hpp143 auto propertyType = dbusEntry.value("property_type", ""); in generateStateEffecterPDR() local
153 objectPath, interface, propertyName, propertyType}; in generateStateEffecterPDR()
155 propertyType, dbusEntry["property_values"], stateValues); in generateStateEffecterPDR()
H A Dpdr_state_sensor.hpp154 auto propertyType = dbusEntry.value("property_type", ""); in generateStateSensorPDR() local
164 objectPath, interface, propertyName, propertyType}; in generateStateSensorPDR()
166 propertyType, dbusEntry["property_values"], stateValues); in generateStateSensorPDR()
H A Dpdr_numeric_effecter.hpp204 auto propertyType = dbusEntry.value("property_type", ""); in generateNumericEffecterPDR() local
215 propertyName, propertyType}; in generateNumericEffecterPDR()
H A Dplatform.cpp661 std::string propertyType; in getNumericEffecterValue() local
667 dBusIntf, *this, effecterId, effecterDataSize, propertyType, dbusValue); in getNumericEffecterValue()
690 propertyType, dbusValue, effecterDataSize, responsePtr, in getNumericEffecterValue()
/openbmc/pldm/platform-mc/
H A Ddbus_to_terminus_effecters.cpp28 const std::string& propertyType) in populatePropVals() argument
33 auto value = jsonEntryToDbusVal(propertyType, elem); in populatePropVals()
112 dbusInfo.dbusMap.propertyType = in parseEffecterJson()
121 dbusInfo.dbusMap.propertyType)) in parseEffecterJson()
125 "TYPE", dbusInfo.dbusMap.propertyType, "PATH", in parseEffecterJson()
153 dbusInfo.dbusMap.propertyType = in parseEffecterJson()
158 dbusInfo.dbusMap.propertyType); in parseEffecterJson()
337 const auto& propertyType = propValues.dbusMap.propertyType; in processTerminusNumericEffecterChangeNotification() local
346 if (!dbusValueNumericTypeNames.contains(propertyType)) in processTerminusNumericEffecterChangeNotification()
350 "TYPE", propertyType); in processTerminusNumericEffecterChangeNotification()
[all …]
H A Ddbus_to_terminus_effecters.hpp168 const std::string& propertyType);
/openbmc/pldm/platform-mc/test/
H A Ddbus_to_terminus_effecter_test.cpp59 ASSERT_EQ(temp.dbusMap.propertyType == dbusInfo.dbusMap.propertyType, true); in TEST()
86 ASSERT_EQ(tempNumeric.dbusMap.propertyType == in TEST()
87 dbusInfoNumeric.dbusMap.propertyType, in TEST()
/openbmc/pldm/common/
H A Dutils.cpp342 if (dBusMap.propertyType == "uint8_t") in setDbusProperty()
347 else if (dBusMap.propertyType == "bool") in setDbusProperty()
352 else if (dBusMap.propertyType == "int16_t") in setDbusProperty()
357 else if (dBusMap.propertyType == "uint16_t") in setDbusProperty()
362 else if (dBusMap.propertyType == "int32_t") in setDbusProperty()
367 else if (dBusMap.propertyType == "uint32_t") in setDbusProperty()
372 else if (dBusMap.propertyType == "int64_t") in setDbusProperty()
377 else if (dBusMap.propertyType == "uint64_t") in setDbusProperty()
382 else if (dBusMap.propertyType == "double") in setDbusProperty()
387 else if (dBusMap.propertyType in setDbusProperty()
[all...]
/openbmc/phosphor-dbus-monitor/src/
H A Delog.hpp140 template <typename errorType, typename metadataType, typename propertyType>
198 auto value = ToString<propertyType>::op( in captureMetadata()
199 std::any_cast<propertyType>(std::get<valueIndex>(storage))); in captureMetadata()
/openbmc/pldm/common/test/
H A Dmocked_utils.hpp19 lhs.propertyType == rhs.propertyType; in operator ==()
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_handler.cpp30 std::string propertyType = "Status"; in dumpStatusChanged() local
31 auto dumpStatus = property.find(propertyType); in dumpStatusChanged()
/openbmc/openpower-proc-control/extensions/phal/
H A Ddump_utils.cpp36 std::string propertyType = "Status"; in dumpStatusChanged() local
37 auto dumpStatus = property.find(propertyType); in dumpStatusChanged()
/openbmc/openpower-hw-diags/attn/
H A Dattn_dump.cpp34 std::string propertyType = "Status"; in dumpStatusChanged() local
35 auto dumpStatus = property.find(propertyType); in dumpStatusChanged()
/openbmc/google-ipmi-sys/
H A Dhandler.hpp243 virtual std::string getBMInstanceProperty(uint8_t propertyType) const = 0;
H A Dhandler_impl.hpp81 std::string getBMInstanceProperty(uint8_t propertyType) const override;
H A Dhandler.cpp773 std::string Handler::getBMInstanceProperty(uint8_t propertyType) const in getBMInstanceProperty()
776 if (auto it = bmInstanceTypeStringMap.find(propertyType); in getBMInstanceProperty()
780 propertyType); in getBMInstanceProperty()
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_attribute_test.cpp87 EXPECT_EQ(dbusMap->propertyType, "bool"); in TEST()
H A Dlibpldmresponder_platform_test.cpp427 std::string propertyType; in TEST()
441 effecterDataSize, propertyType, dbusValue); in TEST()
455 propertyType, dbusValue, effecterDataSize, responsePtr, in TEST()
502 std::string propertyType; in TEST()
506 effecterDataSize, propertyType, dbusValue); in TEST()
434 std::string propertyType; TEST() local
510 std::string propertyType; TEST() local
H A Dlibpldmresponder_pdr_sensor_test.cpp66 ASSERT_EQ(dbusMappings[0].propertyType, "string"); in TEST()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfru_oem_ibm.cpp154 dbusMapping.propertyType = "string"; in dbus_map_update()

12