Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogInternalHandlerTest.cpp105 mMockWatchdogProcessService = sp<MockWatchdogProcessService>::make(); in SetUp()
110 sp<MockWatchdogBinderMediator>::make(mMockWatchdogProcessService, in SetUp()
116 mMockWatchdogProcessService, in SetUp()
122 mMockWatchdogProcessService.clear(); in TearDown()
136 sp<MockWatchdogProcessService> mMockWatchdogProcessService; member in android::automotive::watchdog::WatchdogInternalHandlerTest
228 EXPECT_CALL(*mMockWatchdogProcessService, registerMonitor(monitor)) in TEST_F()
236 EXPECT_CALL(*mMockWatchdogProcessService, registerMonitor(monitor)).Times(0); in TEST_F()
244 EXPECT_CALL(*mMockWatchdogProcessService, unregisterMonitor(monitor)) in TEST_F()
252 EXPECT_CALL(*mMockWatchdogProcessService, unregisterMonitor(monitor)).Times(0); in TEST_F()
261 EXPECT_CALL(*mMockWatchdogProcessService, in TEST_F()
[all …]
DWatchdogServiceHelperTest.cpp91 mMockWatchdogProcessService = new MockWatchdogProcessService(); in SetUp()
98 EXPECT_CALL(*mMockWatchdogProcessService, registerWatchdogServiceHelper(_)) in SetUp()
100 auto result = mWatchdogServiceHelperPeer->init(mMockWatchdogProcessService); in SetUp()
109 EXPECT_CALL(*mMockWatchdogProcessService, unregisterCarWatchdogService(_)).Times(1); in TearDown()
113 mMockWatchdogProcessService.clear(); in TearDown()
122 EXPECT_CALL(*mMockWatchdogProcessService, registerCarWatchdogService(_)) in registerCarWatchdogService()
131 sp<MockWatchdogProcessService> mMockWatchdogProcessService; member in android::automotive::watchdog::WatchdogServiceHelperTest
186 EXPECT_CALL(*mMockWatchdogProcessService, registerCarWatchdogService(binder)) in TEST_F()
194 EXPECT_CALL(*mMockWatchdogProcessService, registerCarWatchdogService(_)).Times(0); in TEST_F()
204 EXPECT_CALL(*mMockWatchdogProcessService, registerCarWatchdogService(_)).Times(0); in TEST_F()
[all …]
DWatchdogBinderMediatorTest.cpp97 mMockWatchdogProcessService = sp<MockWatchdogProcessService>::make(); in SetUp()
100 sp<WatchdogBinderMediator>::make(mMockWatchdogProcessService, in SetUp()
109 mMockWatchdogProcessService.clear(); in TearDown()
115 sp<MockWatchdogProcessService> mMockWatchdogProcessService; member in android::automotive::watchdog::WatchdogBinderMediatorTest
180 EXPECT_CALL(*mMockWatchdogProcessService, dump(-1, _)).WillOnce(Return(Result<void>())); in TEST_F()
228 EXPECT_CALL(*mMockWatchdogProcessService, dump(nullFd, _)).WillOnce(Return(Result<void>())); in TEST_F()
238 EXPECT_CALL(*mMockWatchdogProcessService, registerClient(client, timeout)) in TEST_F()
246 EXPECT_CALL(*mMockWatchdogProcessService, unregisterClient(client)) in TEST_F()
254 EXPECT_CALL(*mMockWatchdogProcessService, tellClientAlive(client, 456)) in TEST_F()