| /openbmc/libbej/src/ |
| H A D | bej_decoder_json.cpp | 26 const char* propertyName) in addPropertyNameToOutput() argument 28 if (propertyName[0] == '\0') in addPropertyNameToOutput() 36 params->output->append(propertyName); in addPropertyNameToOutput() 47 static int callbackSetStart(const char* propertyName, void* dataPtr) in callbackSetStart() argument 51 addPropertyNameToOutput(params, propertyName); in callbackSetStart() 78 static int callbackArrayStart(const char* propertyName, void* dataPtr) in callbackArrayStart() argument 82 addPropertyNameToOutput(params, propertyName); in callbackArrayStart() 124 static int callbackNull(const char* propertyName, void* dataPtr) in callbackNull() argument 128 addPropertyNameToOutput(params, propertyName); in callbackNull() 142 static int callbackInteger(const char* propertyName, int64_t value, in callbackInteger() argument [all …]
|
| /openbmc/libbej/include/libbej/ |
| H A D | bej_decoder_core.h | 66 int (*callbackSetStart)(const char* propertyName, void* dataPtr); 76 int (*callbackArrayStart)(const char* propertyName, void* dataPtr); 94 int (*callbackNull)(const char* propertyName, void* dataPtr); 99 int (*callbackInteger)(const char* propertyName, int64_t value, 105 int (*callbackEnum)(const char* propertyName, const char* value, 111 int (*callbackString)(const char* propertyName, const char* value, 117 int (*callbackReal)(const char* propertyName, const struct BejReal* value, 123 int (*callbackBool)(const char* propertyName, bool value, void* dataPtr); 128 int (*callbackAnnotation)(const char* propertyName, void* dataPtr);
|
| /openbmc/phosphor-time-manager/ |
| H A D | utils.hpp | 39 const char* interface, const char* propertyName) in getProperty() argument 43 method.append(interface, propertyName); in getProperty() 55 "PATH", path, "INTF", interface, "NAME", propertyName, "ERROR", in getProperty() 74 const std::string& propertyName, T& value) in setProperty() argument 81 method.append(interface, propertyName, propertyValue); in setProperty() 91 "PATH", path, "INTF", interface, "NAME", propertyName, "ERROR", in setProperty()
|
| /openbmc/smbios-mdr/src/ |
| H A D | cpuinfo_utils.cpp | 160 const char* propertyName, Handler&& handler, in subscribeToProperty() argument 174 *dbusConn, service, object, interface, propertyName, in subscribeToProperty() 175 [handler, propertyName = std::string(propertyName)]( in subscribeToProperty() 179 std::cerr << "Failed to read property " << propertyName << ": " in subscribeToProperty() 191 auto commonPropHandler = [propertyName = std::string(propertyName), in subscribeToProperty() 196 if (changedProp == propertyName) in subscribeToProperty() 201 DEBUG_PRINT << "New value for " << propertyName << ": " in subscribeToProperty() 207 std::cerr << "Property " << propertyName in subscribeToProperty()
|
| /openbmc/telemetry/src/ |
| H A D | errors.hpp | 14 explicit InvalidArgument(std::string_view propertyName); 15 InvalidArgument(std::string_view propertyName, std::string_view info); 22 std::string propertyName; member in errors::InvalidArgument
|
| H A D | errors.cpp | 11 propertyName(propertyNameArg), in InvalidArgument() 18 propertyName(propertyNameArg), in InvalidArgument() 31 return propertyName.c_str(); in description()
|
| /openbmc/phosphor-psu-code-mgmt/src/ |
| H A D | utils.hpp | 80 const char* interface, const char* propertyName); 170 const char* propertyName) const = 0; 174 const char* interface, const char* propertyName) const in getProperty() 177 getPropertyImpl(bus, service, path, interface, propertyName); in getProperty() 210 const char* propertyName) const override; 258 const char* interface, const char* propertyName) in getProperty() argument 261 propertyName); in getProperty()
|
| /openbmc/witherspoon-pfault-analysis/ |
| H A D | utility.hpp | 46 void getProperty(const std::string& interface, const std::string& propertyName, in getProperty() argument 55 method.append(interface, propertyName); in getProperty() 74 void setProperty(const std::string& interface, const std::string& propertyName, in setProperty() argument 83 method.append(interface, propertyName, propertyValue); in setProperty()
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/usb/ |
| H A D | usb_manager.cpp | 75 constexpr auto propertyName = "endpoints"; in findAssociatedUpdatablePath() local 78 interface, propertyName); in findAssociatedUpdatablePath() 147 constexpr auto propertyName = "RequestedApplyTime"; in setApplyTime() local 148 utils::setProperty(bus, objectPath, interface, propertyName, value); in setApplyTime() 164 constexpr auto propertyName = "RequestedActivation"; in setRequestedActivation() local 165 utils::setProperty(bus, path, interface, propertyName, value); in setRequestedActivation()
|
| /openbmc/sdbusplus/include/sdbusplus/asio/ |
| H A D | property.hpp | 45 const std::string& propertyName, in getProperty() argument 71 propertyName); in getProperty() 81 const std::string& propertyName, OnError&& onError, OnSuccess&& onSuccess) in getProperty() argument 103 propertyName); in getProperty() 110 const std::string& propertyName, in setProperty() argument 115 "org.freedesktop.DBus.Properties", "Set", interface, propertyName, in setProperty()
|
| /openbmc/telemetry/src/utils/ |
| H A D | conversion.hpp | 34 [[noreturn]] inline void throwConversionError(std::string_view propertyName) in throwConversionError() argument 36 throw errors::InvalidArgument(propertyName, "Cannot convert."); in throwConversionError() 48 throwConversionError(EnumTraits<T>::propertyName); in toEnum() 98 throwConversionError(EnumTraits<T>::propertyName); in toEnum() 112 throwConversionError(EnumTraits<T>::propertyName); in enumToString()
|
| /openbmc/phosphor-fan-presence/sensor-monitor/ |
| H A D | shutdown_alarm_monitor.cpp | 149 auto propertyName = alarmProperties.at(shutdownType).at(alarmType); in checkAlarms() local 155 propertyName); in checkAlarms() 243 const auto& propertyName = alarmProperties.at(shutdownType).at(alarmType); in startTimer() local 282 "PROPERTY_NAME", propertyName, "SENSOR_PATH", sensorPath, in startTimer() 303 "PROPERTY_NAME", propertyName, "SENSOR_PATH", sensorPath, in startTimer() 310 "TIME", shutdownDelay.count(), "PROPERTY_NAME", propertyName, in startTimer() 329 const auto& propertyName = alarmProperties.at(shutdownType).at(alarmType); in stopTimer() local 344 "PROPERTY_NAME", propertyName, "SENSOR_PATH", sensorPath, "VALUE", in stopTimer() 373 const auto& propertyName = alarmProperties.at(shutdownType).at(alarmType); in timerExpired() local 380 "PROPERTY_NAME", propertyName, "SENSOR_PATH", sensorPath); in timerExpired()
|
| H A D | threshold_alarm_logger.cpp | 199 for (const auto& [propertyName, propertyValue] : properties) in checkProperties() 201 if (alarmProperties->second.find(propertyName) != in checkProperties() 211 alarms[key][propertyName] = false; in checkProperties() 216 if (alarmValue != alarms[key][propertyName]) in checkProperties() 218 alarms[key][propertyName] = alarmValue; in checkProperties() 223 createEventLog(sensorPath, interface, propertyName, in checkProperties() 448 for (const auto& [propertyName, alarmValue] : alarmMap) in checkThresholds() 473 createEventLog(sensorPath, interface, propertyName, in checkThresholds()
|
| /openbmc/entity-manager/src/fru_device/ |
| H A D | fru_utils.cpp | 1153 std::vector<uint8_t>& areaData, const std::string& propertyName, in findOrCreateField() argument 1158 std::string areaName = propertyName.substr(0, propertyName.find('_')); in findOrCreateField() 1191 if (propertyNamePrefix + field == propertyName) in findOrCreateField() 1199 size_t pos = propertyName.find(fruCustomFieldName); in findOrCreateField() 1207 propertyName.substr(pos + fruCustomFieldName.size()); in findOrCreateField() 1260 const std::string& propertyName, const std::string& value) in setField() argument 1265 "PROP", propertyName); in setField() 1277 findOrCreateField(tmpBuffer, propertyName, fruAreaToUpdate); in setField() 1282 propertyName, "AREA", getFruAreaName(fruAreaToUpdate)); in setField() 1442 const std::string& propertyName, in findFruAreaLocationAndField() argument [all …]
|
| /openbmc/phosphor-led-manager/ |
| H A D | utils.cpp | 65 const std::string& propertyName) in getProperty() argument 78 method.append(interface, propertyName); in getProperty() 89 const std::string& propertyName, const PropertyValue& value) in setProperty() argument 100 method.append(interface.c_str(), propertyName.c_str(), value); in setProperty()
|
| H A D | utils.hpp | 82 const std::string& propertyName); 95 const std::string& propertyName,
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | utils.hpp | 35 const std::string& interface, const std::string& propertyName) in getProperty() argument 46 method.append(interface, propertyName); in getProperty() 65 const std::string& interface, const std::string& propertyName,
|
| /openbmc/pldm/libpldmresponder/ |
| H A D | event_parser.cpp | 71 dbusInfo.propertyName = dbus.value("property_name", ""); in StateSensorHandler() 74 dbusInfo.propertyName.empty() || in StateSensorHandler() 80 dbusInfo.interface, "PROPERTY_NAME", dbusInfo.propertyName, in StateSensorHandler() 148 "PROPERTY", dbusMapping.propertyName, "INTERFACE", in eventAction()
|
| H A D | bios_attribute.cpp | 36 std::string propertyName = entry.at("dbus").at("property_name"); in BIOSAttribute() local 39 dBusMap = {objectPath, interface, propertyName, propertyType}; in BIOSAttribute()
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | dbus_to_terminus_effecter_test.cpp | 58 ASSERT_EQ(temp.dbusMap.propertyName == dbusInfo.dbusMap.propertyName, true); in TEST() 83 ASSERT_EQ(tempNumeric.dbusMap.propertyName == in TEST() 84 dbusInfoNumeric.dbusMap.propertyName, in TEST()
|
| /openbmc/pldm/oem/meta/libpldmresponder/ |
| H A D | file_io_type_power_control.cpp | 46 dbusMapping.propertyName = "RequestedPowerTransition"; in write() 54 dbusMapping.propertyName = "RequestedPowerTransition"; in write() 63 dbusMapping.propertyName = in write()
|
| /openbmc/phosphor-power/ |
| H A D | utility.hpp | 63 void getProperty(const std::string& interface, const std::string& propertyName, in getProperty() argument 72 method.append(interface, propertyName); in getProperty() 91 void setProperty(const std::string& interface, const std::string& propertyName, in setProperty() argument 100 method.append(interface, propertyName, propertyValue); in setProperty()
|
| /openbmc/phosphor-fan-presence/control/json/actions/ |
| H A D | pcie_card_floors.cpp | 177 const std::string& propertyName) in getPCIeDeviceProperty() argument 185 propertyName); in getPCIeDeviceProperty() 192 "PROPERTY_NAME", propertyName); in getPCIeDeviceProperty() 206 "PROPERTY_NAME", propertyName, "VALUE", in getPCIeDeviceProperty()
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | fru_oem_ibm.cpp | 149 const std::string& propertyName, in dbus_map_update() argument 156 dbusMapping.propertyName = propertyName; in dbus_map_update() 166 "PROPERTY", propertyName, "PATH", adapterObjPath, "INTERFACE", in dbus_map_update()
|
| /openbmc/openpower-debug-collector/dump/ |
| H A D | dump_utils.hpp | 75 void setProperty(const std::string& interface, const std::string& propertyName, in setProperty() argument 83 method.append(interface, propertyName, value); in setProperty()
|