Searched refs:incrementTime (Results 1 – 3 of 3) sorted by relevance
34 MockTimeInterface incrementTime(long by) { in incrementTime() method in UptimeTrackerTest.MockTimeInterface75 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()
76 void incrementTime(std::chrono::nanoseconds duration) { mTimer += duration; } in incrementTime() function
1724 mLooperStub->incrementTime(kPrevUnsentResourceStatsMaxDurationNs); in TEST_F()