Home
last modified time | relevance | path

Searched refs:wasLogged (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/test/
H A Derror_history_tests.cpp32 EXPECT_FALSE(history.wasLogged(ErrorType::dbus)); in TEST()
33 EXPECT_FALSE(history.wasLogged(ErrorType::i2c)); in TEST()
35 EXPECT_FALSE(history.wasLogged(ErrorType::pmbus)); in TEST()
55 EXPECT_TRUE(history.wasLogged(ErrorType::dbus)); in TEST()
56 EXPECT_TRUE(history.wasLogged(ErrorType::i2c)); in TEST()
58 EXPECT_TRUE(history.wasLogged(ErrorType::pmbus)); in TEST()
66 EXPECT_FALSE(history.wasLogged(ErrorType::dbus)); in TEST()
67 EXPECT_FALSE(history.wasLogged(ErrorType::i2c)); in TEST()
78 EXPECT_FALSE(history.wasLogged(ErrorType::dbus)); in TEST()
80 EXPECT_TRUE(history.wasLogged(ErrorType::dbus)); in TEST()
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Derror_logging_utils.cpp64 if (!history.wasLogged(errorType)) in logError()
73 if (!history.wasLogged(errorType)) in logError()
82 if (!history.wasLogged(errorType)) in logError()
92 if (!history.wasLogged(errorType)) in logError()
102 if (!history.wasLogged(errorType)) in logError()
111 if (!history.wasLogged(errorType)) in logError()
120 if (!history.wasLogged(errorType)) in logError()
H A Derror_history.hpp79 void setWasLogged(ErrorType errorType, bool wasLogged) in setWasLogged() argument
82 history[static_cast<int>(errorType)] = wasLogged; in setWasLogged()
91 bool wasLogged(ErrorType errorType) const in wasLogged() function in phosphor::power::regulators::ErrorHistory
H A Dphase_fault_detection.cpp94 if (!errorHistory.wasLogged(errorType)) in checkForPhaseFault()