Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/server/tests/
DPressureMonitorTest.cpp172 mPressureMonitor = in SetUp()
180 mPressureMonitor->registerPressureChangeCallback(mMockPressureChangeCallback).ok()) in SetUp()
186 mPressureMonitor->unregisterPressureChangeCallback(mMockPressureChangeCallback); in TearDown()
187 mPressureMonitor->terminate(); in TearDown()
194 mPressureMonitor.clear(); in TearDown()
352 sp<PressureMonitor> mPressureMonitor; member in android::automotive::watchdog::PressureMonitorTest
364 auto result = mPressureMonitor->init(); in TEST_F()
374 mPressureMonitor->terminate(); in TEST_F()
394 auto result = mPressureMonitor->init(); in TEST_F()
411 ASSERT_FALSE(mPressureMonitor->start().ok()) in TEST_F()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DServiceManager.cpp98 if (mPressureMonitor != nullptr) { in terminateServices()
99 mPressureMonitor->terminate(); in terminateServices()
100 mPressureMonitor.clear(); in terminateServices()
116 mPressureMonitor = sp<PressureMonitor>::make(); in startPressureMonitor()
117 if (auto result = mPressureMonitor->init(); !result.ok()) { in startPressureMonitor()
120 if (auto result = mPressureMonitor->start(); !result.ok()) { in startPressureMonitor()
130 sp<PerformanceProfiler>::make(mPressureMonitor)); in startWatchdogPerfService()
DServiceManager.h45 mPressureMonitor(nullptr) {} in ServiceManager()
96 android::sp<PressureMonitorInterface> mPressureMonitor; variable