Home
last modified time | relevance | path

Searched refs:mMockIoOveruseMonitor (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogBinderMediatorTest.cpp105 mMockIoOveruseMonitor = sp<MockIoOveruseMonitor>::make(); in SetUp()
106 ASSERT_RESULT_OK(mediatorPeer.init(mMockIoOveruseMonitor)); in SetUp()
111 mMockIoOveruseMonitor.clear(); in TearDown()
117 sp<MockIoOveruseMonitor> mMockIoOveruseMonitor; member in android::automotive::watchdog::WatchdogBinderMediatorTest
205 EXPECT_CALL(*mMockIoOveruseMonitor, resetIoOveruseStats(_)) in TEST_F()
216 EXPECT_CALL(*mMockIoOveruseMonitor, resetIoOveruseStats(_)).Times(0); in TEST_F()
262 EXPECT_CALL(*mMockIoOveruseMonitor, addIoOveruseListener(listener)) in TEST_F()
272 EXPECT_CALL(*mMockIoOveruseMonitor, addIoOveruseListener(listener)).Times(0); in TEST_F()
284 EXPECT_CALL(*mMockIoOveruseMonitor, removeIoOveruseListener(listener)) in TEST_F()
302 EXPECT_CALL(*mMockIoOveruseMonitor, getIoOveruseStats(_)) in TEST_F()
[all …]
DWatchdogInternalHandlerTest.cpp108 mMockIoOveruseMonitor = sp<MockIoOveruseMonitor>::make(); in SetUp()
117 mMockWatchdogPerfService, mMockIoOveruseMonitor); in SetUp()
124 mMockIoOveruseMonitor.clear(); in TearDown()
138 sp<MockIoOveruseMonitor> mMockIoOveruseMonitor; member in android::automotive::watchdog::WatchdogInternalHandlerTest
425 EXPECT_CALL(*mMockIoOveruseMonitor, updateResourceOveruseConfigurations(_)) in TEST_F()
434 EXPECT_CALL(*mMockIoOveruseMonitor, updateResourceOveruseConfigurations(_)).Times(0); in TEST_F()
443 EXPECT_CALL(*mMockIoOveruseMonitor, getResourceOveruseConfigurations(Pointer(&configs))) in TEST_F()
451 EXPECT_CALL(*mMockIoOveruseMonitor, getResourceOveruseConfigurations(_)).Times(0); in TEST_F()
459 EXPECT_CALL(*mMockIoOveruseMonitor, actionTakenOnIoOveruse(_)).WillOnce(Return(Result<void>())); in TEST_F()
467 EXPECT_CALL(*mMockIoOveruseMonitor, actionTakenOnIoOveruse(_)).Times(0); in TEST_F()