Lines Matching refs:mMockCarWatchdogServiceForSystem
95 mMockCarWatchdogServiceForSystem = new MockCarWatchdogServiceForSystem(); in SetUp()
96 mMockCarWatchdogServiceForSystemBinder = mMockCarWatchdogServiceForSystem->getBinder(); in SetUp()
114 mMockCarWatchdogServiceForSystem.clear(); in TearDown()
125 Status status = mWatchdogServiceHelper->registerService(mMockCarWatchdogServiceForSystem); in registerCarWatchdogService()
132 sp<MockCarWatchdogServiceForSystem> mMockCarWatchdogServiceForSystem; member in android::automotive::watchdog::WatchdogServiceHelperTest
173 EXPECT_CALL(*(mMockCarWatchdogServiceForSystem->getBinder()), in TEST_F()
189 Status status = mWatchdogServiceHelper->registerService(mMockCarWatchdogServiceForSystem); in TEST_F()
196 status = mWatchdogServiceHelper->registerService(mMockCarWatchdogServiceForSystem); in TEST_F()
206 ASSERT_FALSE(mWatchdogServiceHelper->registerService(mMockCarWatchdogServiceForSystem).isOk()) in TEST_F()
219 ASSERT_FALSE(mWatchdogServiceHelper->registerService(mMockCarWatchdogServiceForSystem).isOk()) in TEST_F()
230 Status status = mWatchdogServiceHelper->unregisterService(mMockCarWatchdogServiceForSystem); in TEST_F()
238 status = mWatchdogServiceHelper->unregisterService(mMockCarWatchdogServiceForSystem); in TEST_F()
245 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, in TEST_F()
256 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, checkIfAlive(_, _)).Times(0); in TEST_F()
264 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, checkIfAlive(_, _)).Times(0); in TEST_F()
273 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, in TEST_F()
284 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, prepareProcessTermination()) in TEST_F()
295 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, prepareProcessTermination()).Times(0); in TEST_F()
303 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, prepareProcessTermination()).Times(0); in TEST_F()
314 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, prepareProcessTermination()) in TEST_F()
337 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(uids, prefixesStr, _)) in TEST_F()
349 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
365 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)) in TEST_F()
391 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, latestIoOveruseStats(expectedIoOveruseStats)) in TEST_F()
401 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, latestIoOveruseStats(_)).Times(0); in TEST_F()
413 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, latestIoOveruseStats(_)) in TEST_F()
426 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(packageNames)) in TEST_F()
436 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(_)).Times(0); in TEST_F()
448 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, resetResourceOveruseStats(_)) in TEST_F()