Home
last modified time | relevance | path

Searched refs:getCachedPresence (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/test/
H A Dpresence_detection_tests.cpp103 EXPECT_FALSE(detection.getCachedPresence().has_value()); in TEST()
122 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
129 EXPECT_TRUE(detection->getCachedPresence().has_value()); in TEST()
130 EXPECT_TRUE(detection->getCachedPresence().value()); in TEST()
136 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
158 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
174 EXPECT_TRUE(detection->getCachedPresence().has_value()); in TEST()
175 EXPECT_TRUE(detection->getCachedPresence().value()); in TEST()
180 EXPECT_TRUE(detection->getCachedPresence().has_value()); in TEST()
197 EXPECT_FALSE(detection->getCachedPresence().has_value()); in TEST()
[all …]
H A Dsystem_tests.cpp118 EXPECT_TRUE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST()
124 EXPECT_FALSE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST()
H A Dchassis_tests.cpp171 EXPECT_TRUE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST_F()
177 EXPECT_FALSE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST_F()
H A Ddevice_tests.cpp232 EXPECT_TRUE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST_F()
238 EXPECT_FALSE(presenceDetectionPtr->getCachedPresence().has_value()); in TEST_F()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dpresence_detection.hpp118 std::optional<bool> getCachedPresence() const in getCachedPresence() function in phosphor::power::regulators::PresenceDetection