Home
last modified time | relevance | path

Searched refs:propertyName (Results 1 – 25 of 100) sorted by relevance

1234

/openbmc/libbej/src/
H A Dbej_decoder_json.cpp22 const char* propertyName) in addPropertyNameToOutput() argument
24 if (propertyName[0] == '\0') in addPropertyNameToOutput()
32 params->output->append(propertyName); in addPropertyNameToOutput()
43 static int callbackSetStart(const char* propertyName, void* dataPtr) in callbackSetStart() argument
47 addPropertyNameToOutput(params, propertyName); in callbackSetStart()
74 static int callbackArrayStart(const char* propertyName, void* dataPtr) in callbackArrayStart() argument
78 addPropertyNameToOutput(params, propertyName); in callbackArrayStart()
120 static int callbackNull(const char* propertyName, void* dataPtr) in callbackNull() argument
124 addPropertyNameToOutput(params, propertyName); in callbackNull()
138 static int callbackInteger(const char* propertyName, int64_t value, in callbackInteger() argument
[all …]
/openbmc/libbej/include/libbej/
H A Dbej_decoder_core.h66 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/smbios-mdr/src/
H A Dcpuinfo_utils.cpp160 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/phosphor-time-manager/
H A Dutils.hpp39 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/phosphor-psu-code-mgmt/src/
H A Dutils.hpp80 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/sdbusplus/include/sdbusplus/asio/
H A Dproperty.hpp45 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, PropertyType&& propertyValue, in setProperty() argument
115 "org.freedesktop.DBus.Properties", "Set", interface, propertyName, in setProperty()
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/
H A Dusb_manager.cpp76 constexpr auto propertyName = "endpoints"; in findAssociatedUpdatablePath() local
79 interface, propertyName); in findAssociatedUpdatablePath()
150 constexpr auto propertyName = "RequestedApplyTime"; in setApplyTime() local
151 utils::setProperty(bus, objectPath, interface, propertyName, value); in setApplyTime()
167 constexpr auto propertyName = "RequestedActivation"; in setRequestedActivation() local
168 utils::setProperty(bus, path, interface, propertyName, value); in setRequestedActivation()
/openbmc/telemetry/src/utils/
H A Dconversion.hpp34 [[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()
113 throwConversionError(EnumTraits<T>::propertyName); in enumToString()
/openbmc/telemetry/src/
H A Derrors.hpp14 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 Derrors.cpp11 propertyName(propertyNameArg), in InvalidArgument()
18 propertyName(propertyNameArg), in InvalidArgument()
31 return propertyName.c_str(); in description()
/openbmc/witherspoon-pfault-analysis/
H A Dutility.hpp46 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-fan-presence/sensor-monitor/
H A Dshutdown_alarm_monitor.cpp152 auto propertyName = alarmProperties.at(shutdownType).at(alarmType); in checkAlarms() local
158 propertyName); in checkAlarms()
247 const auto& propertyName = alarmProperties.at(shutdownType).at(alarmType); in startTimer() local
286 propertyName, sensorPath, original) in startTimer()
309 propertyName, sensorPath, original, now) in startTimer()
316 shutdownDelay.count(), propertyName, sensorPath, *value) in startTimer()
335 const auto& propertyName = alarmProperties.at(shutdownType).at(alarmType); in stopTimer() local
350 propertyName, sensorPath, value) in stopTimer()
382 const auto& propertyName = alarmProperties.at(shutdownType).at(alarmType); in timerExpired() local
390 propertyName, sensorPath) in timerExpired()
H A Dthreshold_alarm_logger.cpp203 for (const auto& [propertyName, propertyValue] : properties) in checkProperties()
205 if (alarmProperties->second.find(propertyName) != in checkProperties()
215 alarms[key][propertyName] = false; in checkProperties()
220 if (alarmValue != alarms[key][propertyName]) in checkProperties()
222 alarms[key][propertyName] = alarmValue; in checkProperties()
227 createEventLog(sensorPath, interface, propertyName, in checkProperties()
437 for (const auto& [propertyName, alarmValue] : alarmMap) in checkThresholds()
462 createEventLog(sensorPath, interface, propertyName, in checkThresholds()
/openbmc/openpower-occ-control/
H A Dutils.cpp57 const std::string& propertyName) in getProperty() argument
70 method.append(interface, propertyName); in getProperty()
87 const std::string& propertyName, PropertyValue&& value) in setProperty() argument
103 method.append(interface, propertyName, varValue); in setProperty()
109 "PROP", propertyName); in setProperty()
116 "PROP", propertyName, "ERR", error, "PROP", e.what()); in setProperty()
/openbmc/phosphor-led-manager/
H A Dutils.cpp65 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()
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Ddevice_finder.cpp81 const DbusPropertyMap& properties, const std::string& propertyName) in getPropertyValue() argument
83 auto it = properties.find(propertyName); in getPropertyValue()
87 std::format("{} property not found", propertyName)}; in getPropertyValue()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dutils.hpp35 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/host-bmc/
H A Ddbus_to_terminus_effecters.cpp109 dbusInfo.dbusMap.propertyName = in parseEffecterJson()
126 dbusInfo.dbusMap.propertyName); in parseEffecterJson()
150 dbusInfo.dbusMap.propertyName = in parseEffecterJson()
168 dbusInfo.dbusMap.propertyName); in parseEffecterJson()
235 const auto& propertyName = hostEffecterInfo[effecterInfoIndex] in processHostEffecterChangeNotification() local
237 .dbusMap.propertyName; in processHostEffecterChangeNotification()
239 const auto& it = chProperties.find(propertyName); in processHostEffecterChangeNotification()
335 const auto& propertyName = propValues.dbusMap.propertyName; in processTerminusNumericEffecterChangeNotification() local
353 const auto& it = chProperties.find(propertyName); in processTerminusNumericEffecterChangeNotification()
/openbmc/phosphor-power/
H A Dutility.hpp62 void getProperty(const std::string& interface, const std::string& propertyName, in getProperty() argument
71 method.append(interface, propertyName); in getProperty()
90 void setProperty(const std::string& interface, const std::string& propertyName, in setProperty() argument
99 method.append(interface, propertyName, propertyValue); in setProperty()
/openbmc/pldm/host-bmc/test/
H A Ddbus_to_terminus_effecter_test.cpp57 ASSERT_EQ(temp.dbusMap.propertyName == dbusInfo.dbusMap.propertyName, true); in TEST()
82 ASSERT_EQ(tempNumeric.dbusMap.propertyName == in TEST()
83 dbusInfoNumeric.dbusMap.propertyName, in TEST()
/openbmc/pldm/libpldmresponder/
H A Devent_parser.cpp71 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()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfru_oem_ibm.cpp146 const std::string& propertyName, in dbus_map_update() argument
153 dbusMapping.propertyName = propertyName; in dbus_map_update()
163 "PROPERTY", propertyName, "PATH", adapterObjPath, "INTERFACE", in dbus_map_update()
/openbmc/entity-manager/src/
H A Dfru_utils.cpp899 const std::string& propertyName, in findFruAreaLocationAndField() argument
906 std::string areaName = propertyName.substr(0, propertyName.find('_')); in findFruAreaLocationAndField()
911 std::cerr << "Can't parse area name for property " << propertyName in findFruAreaLocationAndField()
935 std::cerr << "Invalid PropertyName " << propertyName << " \n"; in findFruAreaLocationAndField()
940 std::cerr << "FRU Area for " << propertyName << " not present \n"; in findFruAreaLocationAndField()
955 if (propertyName == propertyNamePrefix + field) in findFruAreaLocationAndField()
963 std::size_t pos = propertyName.find(fruCustomFieldName); in findFruAreaLocationAndField()
967 << propertyName << "\n"; in findFruAreaLocationAndField()
971 propertyName.substr(pos + fruCustomFieldName.length()); in findFruAreaLocationAndField()
975 std::cerr << "PropertyName not recognized: " << propertyName in findFruAreaLocationAndField()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddbus_watcher.hpp101 const std::string& propertyName, const std::string& service, in PropertyWatcher() argument
103 DBusWatcher(path, interface), _name(propertyName), _setFunc(func) in PropertyWatcher()
145 const std::string& propertyName, const DataIface& dataIface, in PropertyWatcher() argument
147 PropertyWatcher(bus, path, interface, propertyName, "", dataIface, func) in PropertyWatcher()
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dpcie_card_floors.cpp178 const std::string& propertyName) in getPCIeDeviceProperty() argument
186 propertyName); in getPCIeDeviceProperty()
193 ActionBase::getName(), objectPath, propertyName) in getPCIeDeviceProperty()
207 ActionBase::getName(), objectPath, propertyName, in getPCIeDeviceProperty()

1234