Home
last modified time | relevance | path

Searched refs:getPresence (Results 1 – 14 of 14) sorted by relevance

/openbmc/phosphor-power/phosphor-power-supply/
H A Dutil_base.hpp22 virtual bool getPresence(sdbusplus::bus_t& bus,
41 inline bool getPresence(sdbusplus::bus_t& bus, const std::string& invpath) in getPresence() function
43 return getUtils().getPresence(bus, invpath); in getPresence()
H A Dutil.hpp29 bool getPresence(sdbusplus::bus_t& bus, in getPresence() function in phosphor::power::psu::Util
H A Dpsu_manager.cpp935 presProperty = getPresence(bus, psuInventoryPath); in updateMissingPSUs()
H A Dpower_supply.cpp168 present = getPresence(bus, inventoryPath); in updatePresence()
/openbmc/phosphor-fan-presence/presence/
H A Dfan.hpp38 bool getPresence(const Fan& fan);
H A Dfan.cpp59 bool getPresence(const Fan& fan) in getPresence() function
H A Derror_reporter.cpp74 _fanStates.emplace(path, getPresence(fanData)); in ErrorReporter()
/openbmc/phosphor-power/phosphor-power-supply/test/
H A Dmock.hpp54 MOCK_METHOD(bool, getPresence,
H A Dpower_supply_tests.cpp91 ON_CALL(mockedUtil, getPresence(_, _)).WillByDefault(Return(false)); in PowerSupplyTests()
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Drail.hpp124 const std::optional<std::string>& getPresence() const in getPresence() function in phosphor::power::sequencer::Rail
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Drail_tests.cpp72 EXPECT_FALSE(rail.getPresence().has_value()); in TEST()
99 EXPECT_TRUE(rail.getPresence().has_value()); in TEST()
101 rail.getPresence().value(), in TEST()
181 EXPECT_FALSE(rail.getPresence().has_value()); in TEST()
195 EXPECT_TRUE(rail.getPresence().has_value()); in TEST()
197 rail.getPresence().value(), in TEST()
H A Dconfig_file_parser_tests.cpp494 EXPECT_FALSE(rail->getPresence().has_value()); in TEST()
517 EXPECT_TRUE(rail->getPresence().has_value()); in TEST()
518 EXPECT_EQ(rail->getPresence().value(), in TEST()
/openbmc/dbus-sensors/src/psu/
H A DPSUSensorMain.cpp1049 auto getPresence = dbusConnection->new_method_call( in getPresentCpus()
1052 getPresence.append("xyz.openbmc_project.Inventory.Item", "Present"); in getPresentCpus()
1053 auto resp = dbusConnection->call(getPresence); in getPresentCpus()
1042 auto getPresence = dbusConnection->new_method_call( getPresentCpus() local
/openbmc/s2600wf-misc/hsbp-manager/src/
H A Dhsbp_manager.cpp969 getPresence(presence); in run()
1007 self->getPresence(self->presence); in runTimer()
1124 bool getPresence(uint8_t& val) in getPresence() function
1199 if (!getPresence(nPresence) || !getIFDET(nIfdet)) in getInsertedAndRemovedNvmeDrives()