/openbmc/telemetry/tests/src/ |
H A D | test_report.cpp | 149 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() 189 ASSERT_THAT(getProperty<T>(path, property), p.valueBefore); in changeProperty() 191 EXPECT_THAT(getProperty<T>(path, property), p.valueAfter); in changeProperty() 231 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Enabled"), in TEST_F() 233 EXPECT_THAT(getProperty<uint64_t>(sut->getPath(), "Interval"), in TEST_F() 235 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Persistency"), Eq(true)); in TEST_F() 237 getProperty<std::vector<std::string>>(sut->getPath(), "ReportActions"), in TEST_F() 241 EXPECT_THAT(getProperty<bool>(sut->getPath(), "EmitsReadingsUpdate"), in TEST_F() 244 EXPECT_THAT(getProperty<uint64_t>(sut->getPath(), "AppendLimit"), in TEST_F() [all …]
|
H A D | test_trigger.cpp | 103 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() 133 ASSERT_THAT(getProperty<T>(path, property), p.valueBefore); in changeProperty() 135 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 D | manager_diagnostic_data.hpp | 89 dbus::utility::getProperty<double>( in managerGetStorageStatistics() 124 dbus::utility::getProperty<double>( in managerGetProcessorStatistics() 130 dbus::utility::getProperty<double>( in managerGetProcessorStatistics() 142 dbus::utility::getProperty<double>( in managerGetMemoryStatistics() 150 dbus::utility::getProperty<double>( in managerGetMemoryStatistics() 159 dbus::utility::getProperty<double>( in managerGetMemoryStatistics() 167 dbus::utility::getProperty<double>( in managerGetMemoryStatistics() 175 dbus::utility::getProperty<double>( in managerGetMemoryStatistics() 221 dbus::utility::getProperty<uint64_t>( in managerGetServiceRootUptime()
|
H A D | led.hpp | 28 dbus::utility::getProperty<bool>( in getIndicatorLedState() 51 dbus::utility::getProperty<bool>( in getIndicatorLedState() 152 dbus::utility::getProperty<bool>( in getSystemLocationIndicatorActive() 174 dbus::utility::getProperty<bool>( in getSystemLocationIndicatorActive()
|
/openbmc/phosphor-dbus-monitor/mslverify/ |
H A D | util.hpp | 114 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 D | verify.cpp | 38 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 D | side_switch.cpp | 24 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/openpower-hw-diags/util/ |
H A D | dbus.cpp | 107 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-inventory-manager/ |
H A D | functor.hpp | 176 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/ibm-logging/ |
H A D | policy_find.cpp | 41 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-psu-code-mgmt/src/ |
H A D | utils.hpp | 79 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-fan-presence/control/json/triggers/ |
H A D | signal.cpp | 108 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()
|
H A D | init.cpp | 48 auto value = mgr->getProperty(member, group.getInterface(), in getProperties() 49 group.getProperty()); in getProperties() 54 group.getProperty(), group.getService()); in getProperties()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | data_interface.cpp | 263 void DataInterface::getProperty( in getProperty() function in openpower::pels::DataInterface 346 getProperty(service, object_path::systemInv, interface::invAsset, in getMachineTypeModel() 371 getProperty(service, object_path::systemInv, interface::invAsset, in getMachineSerialNumber() 398 getProperty(service, object_path::motherBoardInv, in getMotherboardCCIN() 426 getProperty(service, object_path::motherBoardInv, in getSystemIMKeyword() 474 getProperty(service, inventoryPath, interface::locCode, "LocationCode", in getLocationCode() 604 getProperty(service, objectPath, interface::associationDef, "Associations", in setCriticalAssociation() 654 getProperty(iface->first, path, interface::compatible, "Names", names); in getSystemNames() 673 getProperty(service, object_path::logSetting, interface::logSetting, in getQuiesceOnError() 745 getProperty(service, ph, interface::hwIsolationEntry, in getLogIDWithHwIsolation() [all …]
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | request_target_base.cpp | 51 member, group.getInterface(), group.getProperty()); in run() 80 group.getProperty()) in run()
|
H A D | net_target_decrease.cpp | 64 member, group.getInterface(), group.getProperty()); in run() 129 group.getInterface(), group.getProperty()) in run()
|
H A D | net_target_increase.cpp | 66 member, group.getInterface(), group.getProperty()); in run() 125 group.getInterface(), group.getProperty()) in run()
|
/openbmc/phosphor-power/power-sequencer/ |
H A D | pgood_monitor.cpp | 45 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/witherspoon-pfault-analysis/power-sequencer/ |
H A D | pgood_monitor.cpp | 45 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-fan-presence/control/ |
H A D | fanctl.cpp | 238 SDBusPlus::getProperty<std::string>(path, iface, "CurrentBMCState"); in getStates() 243 SDBusPlus::getProperty<std::string>(path, iface, "CurrentPowerState"); in getStates() 248 SDBusPlus::getProperty<std::string>(path, iface, "CurrentHostState"); in getStates() 303 cout << SDBusPlus::getProperty<uint64_t>( in status() 316 output << SDBusPlus::getProperty<double>( in status() 335 << SDBusPlus::getProperty<bool>( in status() 361 << SDBusPlus::getProperty<bool>( in status() 414 cout << SDBusPlus::getProperty<uint64_t>( in get() 425 << SDBusPlus::getProperty<double>( in get()
|
/openbmc/sdbusplus/example/ |
H A D | register-property.cpp | 56 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-power/phosphor-regulators/src/ |
H A D | vpd.cpp | 66 util::getProperty("com.ibm.ipzvpd.VINI", property, inventoryPath, in getDBusProperty() 73 util::getProperty(ASSET_IFACE, property, inventoryPath, in getDBusProperty()
|
/openbmc/skeleton/pystatemgr/ |
H A D | discover_system_state.py | 66 def getProperty(bus, objs, key, prop): function 81 pgood = getProperty(bus, dbus_objects, "power", "pgood")
|
/openbmc/phosphor-host-ipmid/app/ |
H A D | watchdog_service.cpp | 112 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/bmcweb/include/ |
H A D | dbus_utility.hpp | 145 inline void getProperty( in getProperty() function 151 sdbusplus::asio::getProperty<PropertyType>( in getProperty() 157 inline void getProperty( in getProperty() function 164 getProperty(service, objectPath, interface, propertyName, in getProperty() 319 getProperty<MapperEndPoints>("xyz.openbmc_project.ObjectMapper", path, in getAssociationEndPoints()
|