Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogPerfServiceTest.cpp201 mMockUidStatsCollector = sp<MockUidStatsCollector>::make(); in SetUp()
223 mMockUidStatsCollector.clear(); in TearDown()
231 mServicePeer->init(mLooperStub, mMockUidStatsCollector, mMockProcStatCollector, in startService()
239 EXPECT_CALL(*mMockUidStatsCollector, init()).Times(1); in startService()
255 EXPECT_CALL(*mMockUidStatsCollector, collect()).Times(bootIterations); in startPeriodicCollection()
258 onBoottimeCollection(_, Eq(mMockUidStatsCollector), Eq(mMockProcStatCollector), in startPeriodicCollection()
298 Mock::VerifyAndClearExpectations(mMockUidStatsCollector.get()); in verifyAndClearExpectations()
314 sp<MockUidStatsCollector> mMockUidStatsCollector; member in android::automotive::watchdog::__anon161629df0311::WatchdogPerfServiceTest
325 mServicePeer->init(mLooperStub, mMockUidStatsCollector, mMockProcStatCollector, in TEST_F()
333 EXPECT_CALL(*mMockUidStatsCollector, init()).Times(1); in TEST_F()
[all …]
DIoOveruseMonitorTest.cpp220 mMockUidStatsCollector = sp<MockUidStatsCollector>::make(); in SetUp()
232 mMockUidStatsCollector.clear(); in TearDown()
304 sp<MockUidStatsCollector> mMockUidStatsCollector; member in android::automotive::watchdog::IoOveruseMonitorTest
359 EXPECT_CALL(*mMockUidStatsCollector, deltaStats()) in TEST_F()
372 mMockUidStatsCollector, nullptr, in TEST_F()
407 EXPECT_CALL(*mMockUidStatsCollector, deltaStats()) in TEST_F()
419 mMockUidStatsCollector, nullptr, in TEST_F()
465 EXPECT_CALL(*mMockUidStatsCollector, deltaStats()) in TEST_F()
474 mMockUidStatsCollector, nullptr, in TEST_F()
519 EXPECT_CALL(*mMockUidStatsCollector, deltaStats()) in TEST_F()
[all …]
DPerformanceProfilerTest.cpp1181 mMockUidStatsCollector = sp<MockUidStatsCollector>::make(); in SetUp()
1204 mMockUidStatsCollector.clear(); in TearDown()
1295 EXPECT_CALL(*mMockUidStatsCollector, deltaStats()).WillOnce(Return(statsInfo.uidStats)); in setupFirstCollection()
1318 EXPECT_CALL(*mMockUidStatsCollector, deltaStats()).WillOnce(Return(statsInfo.uidStats)); in setupNextCollection()
1351 EXPECT_CALL(*mMockUidStatsCollector, deltaStats()) in setupMultipleCollections()
1373 sp<MockUidStatsCollector> mMockUidStatsCollector; member in android::automotive::watchdog::PerformanceProfilerTest
1388 ASSERT_RESULT_OK(mCollector->onBoottimeCollection(getNowMillis(), mMockUidStatsCollector, in TEST_F()
1410 ASSERT_RESULT_OK(mCollector->onWakeUpCollection(getNowMillis(), mMockUidStatsCollector, in TEST_F()
1428 ASSERT_RESULT_OK(mCollector->onBoottimeCollection(getNowMillis(), mMockUidStatsCollector, in TEST_F()
1430 ASSERT_RESULT_OK(mCollector->onWakeUpCollection(getNowMillis(), mMockUidStatsCollector, in TEST_F()
[all …]