Home
last modified time | relevance | path

Searched refs:scheduleAtFixedRate (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/util/Timer/
DArgs.java54 void scheduleAtFixedRate(final Timer t, final TimerTask task, final in scheduleAtFixedRate() method in Args
56 t.scheduleAtFixedRate(task, d, period); in scheduleAtFixedRate()
59 () -> t.scheduleAtFixedRate(task, d, period)); in scheduleAtFixedRate()
96 () -> t.scheduleAtFixedRate(nop(), 42, 42),
97 () -> t.scheduleAtFixedRate(nop(), past, 42),
98 () -> t.scheduleAtFixedRate(nop(), future, 42));
117 () -> t.scheduleAtFixedRate(x, -42, 42),
118 () -> t.scheduleAtFixedRate(x, new Date(-42), 42),
119 () -> t.scheduleAtFixedRate(x, Long.MAX_VALUE, 42),
120 () -> t.scheduleAtFixedRate(x, 42, 0),
[all …]
DDelayOverflow.java52 timer.scheduleAtFixedRate(task, new Date(), Long.MAX_VALUE); in scheduleNow()
55 timer.scheduleAtFixedRate(task, 0L, Long.MAX_VALUE); in scheduleNow()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java749 t.scheduleAtFixedRate(testTask, 100, 100); in test_scheduleAtFixedRateLjava_util_TimerTaskJJ()
759 t.scheduleAtFixedRate(testTask, -100, 100); in test_scheduleAtFixedRateLjava_util_TimerTaskJJ()
770 t.scheduleAtFixedRate(testTask, 100, -100); in test_scheduleAtFixedRateLjava_util_TimerTaskJJ()
779 t.scheduleAtFixedRate(testTask, 100, 100); in test_scheduleAtFixedRateLjava_util_TimerTaskJJ()
821 t.scheduleAtFixedRate(slowThenFastTask, 100, 100); in test_scheduleAtFixedRateLjava_util_TimerTaskJJ()
846 t.scheduleAtFixedRate(testTask, d, 100); in test_scheduleAtFixedRateLjava_util_TimerTaskLjava_util_DateJ()
857 t.scheduleAtFixedRate(testTask, d, 100); in test_scheduleAtFixedRateLjava_util_TimerTaskLjava_util_DateJ()
868 t.scheduleAtFixedRate(testTask, d, -100); in test_scheduleAtFixedRateLjava_util_TimerTaskLjava_util_DateJ()
878 t.scheduleAtFixedRate(testTask, null, 100); in test_scheduleAtFixedRateLjava_util_TimerTaskLjava_util_DateJ()
888 t.scheduleAtFixedRate(null, d, 10); in test_scheduleAtFixedRateLjava_util_TimerTaskLjava_util_DateJ()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DScheduledExecutorService.java164 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, in scheduleAtFixedRate() method
DExecutors.java775 …public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, Ti…
776 return e.scheduleAtFixedRate(command, initialDelay, period, unit);
DScheduledThreadPoolExecutor.java623 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, in scheduleAtFixedRate() method in ScheduledThreadPoolExecutor
/libcore/ojluni/src/main/java/java/util/
DTimer.java342 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate() method in Timer
385 public void scheduleAtFixedRate(TimerTask task, Date firstTime, in scheduleAtFixedRate() method in Timer
/libcore/jsr166-tests/src/test/java/jsr166/
DScheduledExecutorSubclassTest.java174 p.scheduleAtFixedRate(task, timeoutMillis(), in testSchedule4()
224 p.scheduleAtFixedRate(task, 0, delay, MILLISECONDS); in testFixedRateSequence()
367 p.scheduleAtFixedRate(new NoOpRunnable(), in testScheduleAtFixedRate1_RejectedExecutionException()
762 tasks.add(p.scheduleAtFixedRate(r, 9, 9, SECONDS)); in testShutdownNow_delayedTasks()
833 periodics.add(p.scheduleAtFixedRate(countDowner(periodicLatch1), in testShutdown_cancellation()
DScheduledExecutorTest.java118 p.scheduleAtFixedRate(task, timeoutMillis(), in testSchedule4()
168 p.scheduleAtFixedRate(task, 0, delay, MILLISECONDS); in testFixedRateSequence()
311 p.scheduleAtFixedRate(new NoOpRunnable(), in testScheduleAtFixedRate1_RejectedExecutionException()
711 tasks.add(p.scheduleAtFixedRate(r, 9, 9, SECONDS)); in testShutdownNow_delayedTasks()
782 periodics.add(p.scheduleAtFixedRate(countDowner(periodicLatch1), in testShutdown_cancellation()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DScheduledExecutorSubclassTest.java198 p.scheduleAtFixedRate(task, timeoutMillis(), in testSchedule4()
248 p.scheduleAtFixedRate(task, 0, delay, MILLISECONDS); in testFixedRateSequence()
391 p.scheduleAtFixedRate(new NoOpRunnable(), in testScheduleAtFixedRate1_RejectedExecutionException()
786 tasks.add(p.scheduleAtFixedRate(r, 9, 9, SECONDS)); in testShutdownNow_delayedTasks()
858 periodics.add(p.scheduleAtFixedRate(countDowner(periodicLatch1), in testShutdown_cancellation()
DScheduledExecutorTest.java142 p.scheduleAtFixedRate(task, timeoutMillis(), in testSchedule4()
192 p.scheduleAtFixedRate(task, 0, delay, MILLISECONDS); in testFixedRateSequence()
335 p.scheduleAtFixedRate(new NoOpRunnable(), in testScheduleAtFixedRate1_RejectedExecutionException()
734 tasks.add(p.scheduleAtFixedRate(r, 9, 9, SECONDS)); in testShutdownNow_delayedTasks()
806 periodics.add(p.scheduleAtFixedRate(countDowner(periodicLatch1), in testShutdown_cancellation()
/libcore/ojluni/src/main/java/sun/nio/fs/
DPollingWatchService.java290 .scheduleAtFixedRate(thunk, period, period, TimeUnit.SECONDS);
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java288 public java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate( in scheduleAtFixedRate() method in Executors.DelegatedScheduledExecutorService
/libcore/api/
Dcurrent.txt15145 method public void scheduleAtFixedRate(java.util.TimerTask, long, long);
15146 method public void scheduleAtFixedRate(java.util.TimerTask, java.util.Date, long);
16265 …method public java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(Runnable, long, long, ja…
16284 …method public java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(Runnable, long, long, ja…