/openbmc/pldm/libpldmresponder/ |
H A D | bios_integer_attribute.cpp | 60 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 D | platform_numeric_effecter.hpp | 29 * @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 D | bios_enum_attribute.cpp | 81 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 D | event_parser.cpp | 72 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 D | bios_attribute.cpp | 37 std::string propertyType = entry.at("dbus").at("property_type"); in BIOSAttribute() local 39 dBusMap = {objectPath, interface, propertyName, propertyType}; in BIOSAttribute()
|
H A D | pdr_state_effecter.hpp | 143 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 D | pdr_state_sensor.hpp | 154 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 D | pdr_numeric_effecter.hpp | 204 auto propertyType = dbusEntry.value("property_type", ""); in generateNumericEffecterPDR() local 215 propertyName, propertyType}; in generateNumericEffecterPDR()
|
H A D | platform.cpp | 661 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 D | dbus_to_terminus_effecters.cpp | 28 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 D | dbus_to_terminus_effecters.hpp | 168 const std::string& propertyType);
|
/openbmc/pldm/platform-mc/test/ |
H A D | dbus_to_terminus_effecter_test.cpp | 59 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 D | utils.cpp | 342 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 D | elog.hpp | 140 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 D | mocked_utils.hpp | 19 lhs.propertyType == rhs.propertyType; in operator ==()
|
/openbmc/openpower-debug-collector/watchdog/ |
H A D | watchdog_handler.cpp | 30 std::string propertyType = "Status"; in dumpStatusChanged() local 31 auto dumpStatus = property.find(propertyType); in dumpStatusChanged()
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | dump_utils.cpp | 36 std::string propertyType = "Status"; in dumpStatusChanged() local 37 auto dumpStatus = property.find(propertyType); in dumpStatusChanged()
|
/openbmc/openpower-hw-diags/attn/ |
H A D | attn_dump.cpp | 34 std::string propertyType = "Status"; in dumpStatusChanged() local 35 auto dumpStatus = property.find(propertyType); in dumpStatusChanged()
|
/openbmc/google-ipmi-sys/ |
H A D | handler.hpp | 243 virtual std::string getBMInstanceProperty(uint8_t propertyType) const = 0;
|
H A D | handler_impl.hpp | 81 std::string getBMInstanceProperty(uint8_t propertyType) const override;
|
H A D | handler.cpp | 773 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 D | libpldmresponder_bios_attribute_test.cpp | 87 EXPECT_EQ(dbusMap->propertyType, "bool"); in TEST()
|
H A D | libpldmresponder_platform_test.cpp | 427 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 D | libpldmresponder_pdr_sensor_test.cpp | 66 ASSERT_EQ(dbusMappings[0].propertyType, "string"); in TEST()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | fru_oem_ibm.cpp | 154 dbusMapping.propertyType = "string"; in dbus_map_update()
|