Searched refs:timeInterface (Results 1 – 3 of 3) sorted by relevance
68 MockTimeInterface timeInterface = new MockTimeInterface(); in testUptimeTrackerFromCleanSlate() local71 SNAPSHOT_INTERVAL, timeInterface); in testUptimeTrackerFromCleanSlate()75 timeInterface.incrementTime(5000).tick(); in testUptimeTrackerFromCleanSlate()78 timeInterface.tick(); in testUptimeTrackerFromCleanSlate()81 timeInterface.incrementTime(1000).tick(); in testUptimeTrackerFromCleanSlate()84 timeInterface.incrementTime(400).tick(); in testUptimeTrackerFromCleanSlate()90 MockTimeInterface timeInterface = new MockTimeInterface(); in testUptimeTrackerWithHistoricalState() local94 SNAPSHOT_INTERVAL, timeInterface); in testUptimeTrackerWithHistoricalState()98 timeInterface.incrementTime(5000).tick(); in testUptimeTrackerWithHistoricalState()101 timeInterface.incrementTime(1000).tick(); in testUptimeTrackerWithHistoricalState()[all …]
56 TimeInterface timeInterface, in SystemInterface() argument63 mTimeInterface = timeInterface; in SystemInterface()310 public Builder withTimeInterface(TimeInterface timeInterface) { in withTimeInterface() argument311 mTimeInterface = timeInterface; in withTimeInterface()
109 TimeInterface timeInterface) { in UptimeTracker() argument113 mTimeInterface = timeInterface; in UptimeTracker()