Searched refs:addIoOveruseListener (Results 1 – 6 of 6) sorted by relevance
264 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()
53 MOCK_METHOD(android::base::Result<void>, addIoOveruseListener,
262 EXPECT_CALL(*mMockIoOveruseMonitor, addIoOveruseListener(listener)) in TEST_F()272 EXPECT_CALL(*mMockIoOveruseMonitor, addIoOveruseListener(listener)).Times(0); in TEST_F()
91 virtual android::base::Result<void> addIoOveruseListener(164 android::base::Result<void> addIoOveruseListener(const sp<IResourceOveruseListener>& listener);
243 if (const auto result = mIoOveruseMonitor->addIoOveruseListener(listener); !result.ok()) { in addResourceOveruseListener()
459 Result<void> IoOveruseMonitor::addIoOveruseListener(const sp<IResourceOveruseListener>& listener) { in addIoOveruseListener() function in android::automotive::watchdog::IoOveruseMonitor