Lines Matching refs:clock
205 the clock.)
219 according to the supplied clock.
232 Move the internal clock to the item at
268 Here we advance the clock directly:
271 FakeSystemClock clock = new FakeSystemClock();
272 FakeExecutor executor = new FakeExecutor(clock);
277 clock.synchronizeListeners(); // The clock just told the Executor it's time-0.
279 clock.setUptimeMillis(500); // The clock just told the Executor it's time-500.
286 FakeSystemClock clock = new FakeSystemClock();
287 FakeExecutor executor = new FakeExecutor(clock);
300 One gotcha of direct-clock-advancement: If you have interleaved Runnables split
304 FakeSystemClock clock = new FakeSystemClock();
305 FakeExecutor executorA = new FakeExecutor(clock);
306 FakeExecutor executorB = new FakeExecutor(clock);
311 clock.setUptimeMillis(500);