Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUptimeTrackerTest.java34 MockTimeInterface incrementTime(long by) { in incrementTime() method in UptimeTrackerTest.MockTimeInterface
75 timeInterface.incrementTime(5000).tick(); in testUptimeTrackerFromCleanSlate()
81 timeInterface.incrementTime(1000).tick(); in testUptimeTrackerFromCleanSlate()
84 timeInterface.incrementTime(400).tick(); in testUptimeTrackerFromCleanSlate()
98 timeInterface.incrementTime(5000).tick(); in testUptimeTrackerWithHistoricalState()
101 timeInterface.incrementTime(1000).tick(); in testUptimeTrackerWithHistoricalState()
115 timeInterface.incrementTime(5000).tick(); in testUptimeTrackerAcrossHistoricalState()
118 timeInterface.incrementTime(500).tick(); in testUptimeTrackerAcrossHistoricalState()
125 timeInterface.incrementTime(3000).tick(); in testUptimeTrackerAcrossHistoricalState()
136 timeInterface.incrementTime(6000); in testUptimeTrackerShutdown()
/packages/services/Car/cpp/watchdog/server/tests/
DLooperStub.h76 void incrementTime(std::chrono::nanoseconds duration) { mTimer += duration; } in incrementTime() function
DWatchdogPerfServiceTest.cpp1724 mLooperStub->incrementTime(kPrevUnsentResourceStatsMaxDurationNs); in TEST_F()