Home
last modified time | relevance | path

Searched refs:getProperty (Results 1 – 25 of 122) sorted by relevance

12345

/openbmc/telemetry/tests/src/
H A Dtest_report.cpp189 ASSERT_THAT(getProperty<T>(path, property), p.valueBefore); in changeProperty()
191 EXPECT_THAT(getProperty<T>(path, property), p.valueAfter); in changeProperty()
232 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Enabled"), in TEST_F()
234 EXPECT_THAT(getProperty<uint64_t>(sut->getPath(), "Interval"), in TEST_F()
258 EXPECT_THAT(getProperty<std::string>(sut->getPath(), "Name"), in TEST_F()
267 EXPECT_THAT(getProperty<Readings>(sut->getPath(), "Readings"), in TEST_F()
410 EXPECT_THAT(getProperty<uint64_t>(sut->getPath(), "Interval"), in TEST_F()
422 EXPECT_THAT(getProperty<uint64_t>(sut->getPath(), "Interval"), in TEST_F()
505 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Persistency"), in TEST_F()
1035 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Enabled"), in TEST_P()
[all …]
H A Dtest_trigger.cpp133 ASSERT_THAT(getProperty<T>(path, property), p.valueBefore); in changeProperty()
135 EXPECT_THAT(getProperty<T>(path, property), p.valueAfter); in changeProperty()
153 EXPECT_THAT(getProperty<std::string>(sut->getPath(), "Name"), in TEST_F()
155 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Persistent"), Eq(true)); in TEST_F()
161 EXPECT_THAT((getProperty<SensorsInfo>(sut->getPath(), "Sensors")), in TEST_F()
164 getProperty<std::vector<object_path>>(sut->getPath(), "Reports"), in TEST_F()
167 getProperty<bool>(sut->getPath(), "Discrete"), in TEST_F()
170 getProperty<TriggerThresholdParams>(sut->getPath(), "Thresholds"), in TEST_F()
187 EXPECT_THAT(getProperty<std::string>(sut->getPath(), "Name"), Eq(name)); in TEST_F()
199 getProperty<std::vector<object_path>>(sut->getPath(), "Reports"), in TEST_F()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dmanager_diagnostic_data.hpp86 sdbusplus::asio::getProperty<double>( in managerGetStorageStatistics()
121 sdbusplus::asio::getProperty<double>( in managerGetProcessorStatistics()
127 sdbusplus::asio::getProperty<double>( in managerGetProcessorStatistics()
140 sdbusplus::asio::getProperty<double>( in managerGetMemoryStatistics()
148 sdbusplus::asio::getProperty<double>( in managerGetMemoryStatistics()
157 sdbusplus::asio::getProperty<double>( in managerGetMemoryStatistics()
165 sdbusplus::asio::getProperty<double>( in managerGetMemoryStatistics()
173 sdbusplus::asio::getProperty<double>( in managerGetMemoryStatistics()
219 sdbusplus::asio::getProperty<uint64_t>( in managerGetServiceRootUptime()
H A Dled.hpp39 sdbusplus::asio::getProperty<bool>( in getIndicatorLedState()
61 sdbusplus::asio::getProperty<bool>( in getIndicatorLedState()
160 sdbusplus::asio::getProperty<bool>( in getSystemLocationIndicatorActive()
182 sdbusplus::asio::getProperty<bool>( in getSystemLocationIndicatorActive()
/openbmc/phosphor-dbus-monitor/mslverify/
H A Dutil.hpp115 static auto getProperty(::sdbusplus::bus_t& bus, const std::string& busName, in getProperty() function
131 static auto getProperty(const std::string& busName, const std::string& path, in getProperty() function
135 return getProperty<Property>(getBus(), busName, path, interface, property); in getProperty()
140 static auto getProperty(::sdbusplus::bus_t& bus, const std::string& path, in getProperty() function
144 return getProperty<Property>(bus, getService(bus, path, interface), path, in getProperty()
150 static auto getProperty(const std::string& path, const std::string& interface, in getProperty() function
153 return getProperty<Property>(getBus(), path, interface, property); in getProperty()
H A Dverify.cpp38 return util::sdbusplus::getProperty<bool>( in operator ()()
64 auto mslVerificationRequired = util::sdbusplus::getProperty<bool>( in main()
/openbmc/phosphor-bmc-code-mgmt/side-switch/
H A Dside_switch.cpp24 utils::getProperty<std::vector<std::string>>( in sideSwitchNeeded()
46 fwRunningPriority = utils::getProperty<uint8_t>( in sideSwitchNeeded()
102 uint8_t thisPathPri = utils::getProperty<uint8_t>( in sideSwitchNeeded()
153 auto currentHostState = utils::getProperty<std::string>( in powerOffSystem()
168 auto currentPwrState = utils::getProperty<std::string>( in powerOffSystem()
/openbmc/phosphor-fan-presence/control/example/
H A Dzone_conditions.yaml6 # getProperty]
17 # type: getProperty
26 # type: getProperty
/openbmc/ibm-logging/
H A Dpolicy_find.cpp41 std::optional<T> getProperty(const DbusPropertyMap& properties, in getProperty() function
172 auto data = getProperty<std::vector<std::string>>(properties, in getSearchModifierFirstTry()
230 auto data = getProperty<std::vector<std::string>>(properties, in getSearchModifier()
302 auto errorMsg = getProperty<std::string>(errorLogProperties, in find()
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/swift/
H A Dzone_conditions.yaml3 type: getProperty
12 type: getProperty
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-zone-conditions-config/witherspoon/
H A Dzone_conditions.yaml3 type: getProperty
12 type: getProperty
/openbmc/phosphor-inventory-manager/
H A Dfunctor.hpp176 inline auto getProperty(const char* path, const char* iface, U&& member, in getProperty() function
339 GetProperty<V>&& getProperty = nullptr) : in PropertyCondition()
342 _getProperty(getProperty) in PropertyCondition()
394 GetProperty<V>&& getProperty = nullptr) in propertyIs() argument
402 std::move(getProperty)); in propertyIs()
/openbmc/openpower-hw-diags/util/
H A Ddbus.cpp107 int getProperty(const std::string& i_interface, const std::string& i_path, in getProperty() function
161 if (0 == getProperty(interface, path, service, property, value)) in systemNames()
231 if (0 == getProperty(interface, path, service, property, value)) in autoRebootEnabled()
260 if (0 == getProperty(interface, path, service, property, value)) in hostRunningState()
295 if (0 == getProperty(hostStateInterface, path, service, in hostRunningState()
332 if (0 == getProperty(interface, path, service, property, value)) in dumpPolicyEnabled()
414 if (0 == getProperty(interface, path, service, property, value)) in getMachineType()
588 if (0 == getProperty(interface, path, service, property, value)) in powerFault()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddata_interface.cpp239 void DataInterface::getProperty(const std::string& service, in getProperty() function in openpower::pels::DataInterface
323 getProperty(service, object_path::systemInv, interface::invAsset, in getMachineTypeModel()
348 getProperty(service, object_path::systemInv, interface::invAsset, in getMachineSerialNumber()
375 getProperty(service, object_path::motherBoardInv, in getMotherboardCCIN()
403 getProperty(service, object_path::motherBoardInv, in getSystemIMKeyword()
452 getProperty(service, inventoryPath, interface::locCode, "LocationCode", in getLocationCode()
583 getProperty(service, objectPath, interface::associationDef, "Associations", in setCriticalAssociation()
710 getProperty(service, path, interface::dumpEntry, "Offloaded", in checkDumpStatus()
712 getProperty(service, path, interface::dumpProgress, "Status", in checkDumpStatus()
808 getProperty(service, ph, interface::hwIsolationEntry, in getLogIDWithHwIsolation()
[all …]
/openbmc/phosphor-psu-code-mgmt/src/
H A Dutils.hpp64 T getProperty(sdbusplus::bus_t& bus, const char* service, const char* path,
141 T getProperty(sdbusplus::bus_t& bus, const char* service, const char* path, in getProperty() function in utils::UtilsInterface
218 T getProperty(sdbusplus::bus_t& bus, const char* service, const char* path, in getProperty() function
221 return getUtils().getProperty<T>(bus, service, path, interface, in getProperty()
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dinit.cpp48 auto value = mgr->getProperty(member, group.getInterface(), in getProperties()
49 group.getProperty()); in getProperties()
54 group.getProperty(), group.getService()); in getProperties()
H A Dsignal.cpp108 std::cref(group.getProperty())), in propertiesChanged()
110 auto isSameSig = [&prop = group.getProperty()](SignalPkg& pkg) { in propertiesChanged()
132 std::cref(group.getProperty())), in interfacesAdded()
156 std::cref(group.getProperty())), in interfacesRemoved()
231 rules::type::signal() + rules::member(group.getProperty()) + in member()
/openbmc/phosphor-fan-presence/control/json/actions/
H A Drequest_target_base.cpp51 member, group.getInterface(), group.getProperty()); in run()
80 group.getProperty()) in run()
/openbmc/phosphor-fan-presence/control/
H A Dfanctl.cpp224 ret[3] = SDBusPlus::getProperty<std::string>(path, iface, in getStates()
229 ret[4] = SDBusPlus::getProperty<std::string>(path, iface, in getStates()
234 ret[5] = SDBusPlus::getProperty<std::string>(path, iface, in getStates()
290 cout << SDBusPlus::getProperty<uint64_t>( in status()
303 output << SDBusPlus::getProperty<double>( in status()
322 << SDBusPlus::getProperty<bool>( in status()
348 << SDBusPlus::getProperty<bool>( in status()
401 cout << SDBusPlus::getProperty<uint64_t>( in get()
412 << SDBusPlus::getProperty<double>( in get()
/openbmc/witherspoon-pfault-analysis/power-sequencer/
H A Dpgood_monitor.cpp45 util::getProperty<int32_t>(POWER_INTERFACE, "pgood", POWER_OBJ_PATH, in pgoodPending()
49 util::getProperty<int32_t>(POWER_INTERFACE, "state", POWER_OBJ_PATH, in pgoodPending()
/openbmc/phosphor-power/power-sequencer/
H A Dpgood_monitor.cpp45 util::getProperty<int32_t>(POWER_INTERFACE, "pgood", POWER_OBJ_PATH, in pgoodPending()
49 util::getProperty<int32_t>(POWER_INTERFACE, "state", POWER_OBJ_PATH, in pgoodPending()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dvpd.cpp66 util::getProperty("com.ibm.ipzvpd.VINI", property, inventoryPath, in getDBusProperty()
73 util::getProperty(ASSET_IFACE, property, inventoryPath, in getDBusProperty()
/openbmc/skeleton/pystatemgr/
H A Ddiscover_system_state.py66 def getProperty(bus, objs, key, prop): function
81 pgood = getProperty(bus, dbus_objects, "power", "pgood")
/openbmc/sdbusplus/example/
H A Dregister-property.cpp57 sdbusplus::asio::getProperty<uint32_t>( in asyncReadPropertyWithIncorrectType()
77 sdbusplus::asio::getProperty<std::string>( in asyncReadProperties()
89 sdbusplus::asio::getProperty<std::string>( in asyncReadProperties()
/openbmc/openpower-occ-control/
H A Dpowercap.cpp175 pcap = utils::getProperty(PCAP_PATH, PCAP_INTERFACE, POWER_CAP_PROP); in getPcap()
194 pcapEnabled = utils::getProperty(PCAP_PATH, PCAP_INTERFACE, in getPcapEnabled()
466 prop = utils::getProperty(PCAP_PATH, PCAP_INTERFACE, in readDbusPcapLimits()
482 prop = utils::getProperty(PCAP_PATH, PCAP_INTERFACE, in readDbusPcapLimits()
498 prop = utils::getProperty(PCAP_PATH, PCAP_INTERFACE, POWER_CAP_MAX); in readDbusPcapLimits()

12345