Home
last modified time | relevance | path

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

123456

/openbmc/telemetry/tests/src/
H A Dtest_report.cpp149 static T getProperty(const std::string& path, const std::string& property) in getProperty() function in TestReport
151 return DbusEnvironment::getProperty<T>(path, Report::reportIfaceName, in getProperty()
187 ASSERT_THAT(getProperty<T>(path, property), p.valueBefore); in changeProperty()
189 EXPECT_THAT(getProperty<T>(path, property), p.valueAfter); in changeProperty()
229 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Enabled"), in TEST_F()
231 EXPECT_THAT(getProperty<uint64_t>(sut->getPath(), "Interval"), in TEST_F()
233 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Persistency"), Eq(true)); in TEST_F()
235 getProperty<std::vector<std::string>>(sut->getPath(), "ReportActions"), in TEST_F()
239 EXPECT_THAT(getProperty<bool>(sut->getPath(), "EmitsReadingsUpdate"), in TEST_F()
242 EXPECT_THAT(getProperty<uint64_t>(sut->getPath(), "AppendLimit"), in TEST_F()
[all …]
H A Dtest_trigger.cpp103 static T getProperty(const std::string& path, const std::string& property) in getProperty() function in TestTrigger
105 return DbusEnvironment::getProperty<T>(path, Trigger::triggerIfaceName, in getProperty()
132 ASSERT_THAT(getProperty<T>(path, property), p.valueBefore); in changeProperty()
134 EXPECT_THAT(getProperty<T>(path, property), p.valueAfter); in changeProperty()
152 EXPECT_THAT(getProperty<std::string>(sut->getPath(), "Name"), in TEST_F()
154 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Persistent"), Eq(true)); in TEST_F()
156 getProperty<std::vector<std::string>>(sut->getPath(), "TriggerActions"), in TEST_F()
160 EXPECT_THAT((getProperty<SensorsInfo>(sut->getPath(), "Sensors")), in TEST_F()
163 getProperty<std::vector<object_path>>(sut->getPath(), "Reports"), in TEST_F()
166 getProperty<bool>(sut->getPath(), "Discrete"), in TEST_F()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dmanager_diagnostic_data.hpp96 dbus::utility::getProperty<double>( in managerGetStorageStatistics()
131 dbus::utility::getProperty<double>( in managerGetProcessorStatistics()
137 dbus::utility::getProperty<double>( in managerGetProcessorStatistics()
149 dbus::utility::getProperty<double>( in managerGetMemoryStatistics()
157 dbus::utility::getProperty<double>( in managerGetMemoryStatistics()
166 dbus::utility::getProperty<double>( in managerGetMemoryStatistics()
174 dbus::utility::getProperty<double>( in managerGetMemoryStatistics()
182 dbus::utility::getProperty<double>( in managerGetMemoryStatistics()
228 dbus::utility::getProperty<uint64_t>( in managerGetServiceRootUptime()
H A Dled.hpp43 dbus::utility::getProperty<bool>( in getIndicatorLedState()
66 dbus::utility::getProperty<bool>( in getIndicatorLedState()
167 dbus::utility::getProperty<bool>( in getSystemLocationIndicatorActive()
189 dbus::utility::getProperty<bool>( in getSystemLocationIndicatorActive()
348 sdbusplus::asio::getProperty<bool>( in getLedState()
/openbmc/phosphor-dbus-monitor/mslverify/
H A Dutil.hpp114 static auto getProperty(::sdbusplus::bus_t& bus, const std::string& busName, in getProperty() function
130 static auto getProperty(const std::string& busName, const std::string& path, in getProperty() function
134 return getProperty<Property>(getBus(), busName, path, interface, property); in getProperty()
139 static auto getProperty(::sdbusplus::bus_t& bus, const std::string& path, in getProperty() function
143 return getProperty<Property>(bus, getService(bus, path, interface), path, in getProperty()
149 static auto getProperty(const std::string& path, const std::string& interface, in getProperty() function
152 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/bmc/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-bmc-code-mgmt/tpm/tpm2/
H A Dtpm2.cpp36 sdbusplus::async::task<bool> TPM2Interface::getProperty( in getProperty() function in TPM2Interface
98 if (!co_await getProperty(manufacturerProperty, manufacturerId)) in getVersion()
115 if (!co_await getProperty(fwVer1Property, fwVer)) in getVersion()
126 if (!co_await getProperty(fwVer2Property, fwVer)) in getVersion()
/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/phosphor-fan-presence/control/json/actions/
H A Drequest_target_base.cpp49 member, group.getInterface(), group.getProperty()); in run()
79 "GROUP_PROPERTY", group.getProperty()); in run()
H A Dnet_target_decrease.cpp62 member, group.getInterface(), group.getProperty()); in run()
128 "GROUP_PROPERTY", group.getProperty()); in run()
H A Dnet_target_increase.cpp64 member, group.getInterface(), group.getProperty()); in run()
123 "GROUP_PROPERTY", group.getProperty()); in run()
/openbmc/openpower-hw-diags/util/
H A Ddbus.cpp106 int getProperty(const std::string& i_interface, const std::string& i_path, in getProperty() function
160 if (0 == getProperty(interface, path, service, property, value)) in systemNames()
230 if (0 == getProperty(interface, path, service, property, value)) in autoRebootEnabled()
259 if (0 == getProperty(interface, path, service, property, value)) in hostRunningState()
294 if (0 == getProperty(hostStateInterface, path, service, in hostRunningState()
331 if (0 == getProperty(interface, path, service, property, value)) in dumpPolicyEnabled()
413 if (0 == getProperty(interface, path, service, property, value)) in getMachineType()
560 if (0 == getProperty(interface, path, service, property, value)) in powerFault()
/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/phosphor-fan-presence/control/json/triggers/
H A Dinit.cpp46 auto value = mgr->getProperty(member, group.getInterface(), in getProperties()
47 group.getProperty()); in getProperties()
52 group.getProperty(), group.getService()); in getProperties()
H A Dsignal.cpp106 std::cref(group.getProperty())), in propertiesChanged()
108 auto isSameSig = [&prop = group.getProperty()](SignalPkg& pkg) { in propertiesChanged()
130 std::cref(group.getProperty())), in interfacesAdded()
154 std::cref(group.getProperty())), in interfacesRemoved()
228 rules::type::signal() + rules::member(group.getProperty()) + in member()
/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.cpp44 util::getProperty<int32_t>(POWER_INTERFACE, "pgood", POWER_OBJ_PATH, in pgoodPending()
48 util::getProperty<int32_t>(POWER_INTERFACE, "state", POWER_OBJ_PATH, in pgoodPending()
/openbmc/phosphor-psu-code-mgmt/src/
H A Dutils.hpp79 T getProperty(sdbusplus::bus_t& bus, const char* service, const char* path,
173 T getProperty(sdbusplus::bus_t& bus, const char* service, const char* path, in getProperty() function in utils::UtilsInterface
257 T getProperty(sdbusplus::bus_t& bus, const char* service, const char* path, in getProperty() function
260 return getUtils().getProperty<T>(bus, service, path, interface, in getProperty()
/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.cpp56 sdbusplus::asio::getProperty<uint32_t>( in asyncReadPropertyWithIncorrectType()
76 sdbusplus::asio::getProperty<std::string>( in asyncReadProperties()
88 sdbusplus::asio::getProperty<std::string>( in asyncReadProperties()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddata_interface.cpp248 void DataInterface::getProperty( in getProperty() function in openpower::pels::DataInterface
329 getProperty(service, object_path::systemInv, interface::invAsset, in getMachineTypeModel()
354 getProperty(service, object_path::systemInv, interface::invAsset, in getMachineSerialNumber()
381 getProperty(service, object_path::motherBoardInv, in getMotherboardCCIN()
409 getProperty(service, object_path::motherBoardInv, in getSystemIMKeyword()
457 getProperty(service, inventoryPath, interface::locCode, "LocationCode", in getLocationCode()
585 getProperty(service, objectPath, interface::associationDef, "Associations", in setCriticalAssociation()
635 getProperty(iface->first, path, interface::compatible, "Names", names); in getSystemNames()
654 getProperty(service, object_path::logSetting, interface::logSetting, in getQuiesceOnError()
727 getProperty(service, ph, interface::hwIsolationEntry, in getLogIDWithHwIsolation()
[all …]
/openbmc/phosphor-host-ipmid/app/
H A Dwatchdog_service.cpp112 T WatchdogService::getProperty(const std::string& key) in getProperty() function in WatchdogService
130 return getProperty<T>(key); in getProperty()
170 return getProperty<bool>("Initialized"); in getInitialized()
/openbmc/phosphor-power/tools/power-utils/
H A Dvalidator.cpp51 getProperty(INVENTORY_IFACE, PRESENT_PROP, path, in countPresentPsus()
146 getProperty(OPERATIONAL_STATE_IFACE, FUNCTIONAL_PROP, path, in isItFunctional()

123456