Home
last modified time | relevance | path

Searched refs:addIoOveruseListener (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseMonitorTest.cpp264 ASSERT_RESULT_OK(mIoOveruseMonitor->addIoOveruseListener(mockResourceOveruseListener)); in TEST_F()
404 ASSERT_RESULT_OK(mIoOveruseMonitor->addIoOveruseListener(mockResourceOveruseListener)); in TEST_F()
677 ASSERT_RESULT_OK(mIoOveruseMonitor->addIoOveruseListener(mockResourceOveruseListener)); in TEST_F()
679 ASSERT_RESULT_OK(mIoOveruseMonitor->addIoOveruseListener(mockResourceOveruseListener)); in TEST_F()
688 ASSERT_FALSE(mIoOveruseMonitor->addIoOveruseListener(mockResourceOveruseListener).ok()); in TEST_F()
695 ASSERT_RESULT_OK(mIoOveruseMonitor->addIoOveruseListener(mockResourceOveruseListener)); in TEST_F()
707 ASSERT_RESULT_OK(mIoOveruseMonitor->addIoOveruseListener(mockResourceOveruseListener)); in TEST_F()
DMockIoOveruseMonitor.h53 MOCK_METHOD(android::base::Result<void>, addIoOveruseListener,
DWatchdogBinderMediatorTest.cpp262 EXPECT_CALL(*mMockIoOveruseMonitor, addIoOveruseListener(listener)) in TEST_F()
272 EXPECT_CALL(*mMockIoOveruseMonitor, addIoOveruseListener(listener)).Times(0); in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.h91 virtual android::base::Result<void> addIoOveruseListener(
164 android::base::Result<void> addIoOveruseListener(const sp<IResourceOveruseListener>& listener);
DWatchdogBinderMediator.cpp243 if (const auto result = mIoOveruseMonitor->addIoOveruseListener(listener); !result.ok()) { in addResourceOveruseListener()
DIoOveruseMonitor.cpp459 Result<void> IoOveruseMonitor::addIoOveruseListener(const sp<IResourceOveruseListener>& listener) { in addIoOveruseListener() function in android::automotive::watchdog::IoOveruseMonitor