Searched refs:timeInterface (Results 1 – 3 of 3) sorted by relevance
66 MockTimeInterface timeInterface = new MockTimeInterface(); in testUptimeTrackerFromCleanSlate() local69 SNAPSHOT_INTERVAL, timeInterface); in testUptimeTrackerFromCleanSlate()73 timeInterface.incrementTime(5000).tick(); in testUptimeTrackerFromCleanSlate()76 timeInterface.tick(); in testUptimeTrackerFromCleanSlate()79 timeInterface.incrementTime(1000).tick(); in testUptimeTrackerFromCleanSlate()82 timeInterface.incrementTime(400).tick(); in testUptimeTrackerFromCleanSlate()88 MockTimeInterface timeInterface = new MockTimeInterface(); in testUptimeTrackerWithHistoricalState() local92 SNAPSHOT_INTERVAL, timeInterface); in testUptimeTrackerWithHistoricalState()96 timeInterface.incrementTime(5000).tick(); in testUptimeTrackerWithHistoricalState()99 timeInterface.incrementTime(1000).tick(); in testUptimeTrackerWithHistoricalState()[all …]
51 TimeInterface timeInterface, in SystemInterface() argument57 mTimeInterface = timeInterface; in SystemInterface()242 public Builder withTimeInterface(TimeInterface timeInterface) { in withTimeInterface() argument243 mTimeInterface = timeInterface; in withTimeInterface()
110 TimeInterface timeInterface) { in UptimeTracker() argument113 mTimeInterface = timeInterface; in UptimeTracker()