Home
last modified time | relevance | path

Searched refs:isMonitorActive (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DPressureMonitorTest.cpp414 ASSERT_FALSE(mPressureMonitor->isMonitorActive()) in TEST_F()
441 ASSERT_FALSE(mPressureMonitor->isMonitorActive()) in TEST_F()
453 ASSERT_TRUE(mPressureMonitor->isMonitorActive()); in TEST_F()
494 ASSERT_TRUE(mPressureMonitor->isMonitorActive()); in TEST_F()
525 ASSERT_TRUE(mPressureMonitor->isMonitorActive()); in TEST_F()
542 ASSERT_FALSE(mPressureMonitor->isMonitorActive()) << "Monitor should stop on epoll error"; in TEST_F()
559 ASSERT_FALSE(mPressureMonitor->isMonitorActive()) << "Monitor should stop on epoll hang up"; in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DPressureMonitor.cpp191 bool isMonitorActive; in start() local
198 isMonitorActive = mIsMonitorActive; in start()
201 while (isMonitorActive) { in start()
204 isMonitorActive = mIsMonitorActive; in start()
DPressureMonitor.h154 bool isMonitorActive() { return mIsMonitorActive; } in isMonitorActive() function