Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DTimer.java209 public void schedule(TimerTask task, long delay) { in schedule()
226 public void schedule(TimerTask task, Date time) { in schedule()
262 public void schedule(TimerTask task, long delay, long period) { in schedule()
303 public void schedule(TimerTask task, Date firstTime, long period) { in schedule()
342 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate()
385 public void scheduleAtFixedRate(TimerTask task, Date firstTime, in scheduleAtFixedRate()
405 private void sched(TimerTask task, long time, long period) { in sched()
419 if (task.state != TimerTask.VIRGIN) in sched()
424 task.state = TimerTask.SCHEDULED; in sched()
479 if (queue.get(i).state == TimerTask.CANCELLED) { in purge()
[all …]
DTimerTask.java40 public abstract class TimerTask implements Runnable { class
90 protected TimerTask() { in TimerTask() method in TimerTask
/libcore/ojluni/src/test/java/util/Timer/
DArgs.java39 void schedule(final Timer t, final TimerTask task, final Date d) { in schedule()
46 void schedule(final Timer t, final TimerTask task, final Date d, final in schedule()
54 void scheduleAtFixedRate(final Timer t, final TimerTask task, final in scheduleAtFixedRate()
62 TimerTask counter(final CountDownLatch latch) { in counter()
63 return new TimerTask() { public void run() { in counter()
71 TimerTask nop() {
72 return new TimerTask() { public void run() { }};
102 final TimerTask x = new TimerTask() { public void run() {}};
DDelayOverflow.java37 import java.util.TimerTask;
43 void scheduleNow(Timer timer, TimerTask task, int how) { in scheduleNow()
68 void checkScheduledExecutionTime(TimerTask task) { in checkScheduledExecutionTime()
79 final TimerTask task = new TimerTask() { in test()
DNameConstructors.java33 import java.util.TimerTask;
49 TimerTask task = new TimerTask() { in test()
DAutoStop.java34 import java.util.TimerTask;
47 t.schedule(new TimerTask() { in main()
68 t.schedule(new TimerTask() { in main()
DKillThread.java45 t.schedule(new TimerTask() { in main()
67 t.schedule(new TimerTask() { in main()
DPurge.java41 TimerTask task = new TimerTask() { in main()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java23 import java.util.TimerTask;
41 class TimerTestTask extends TimerTask {
785 class SlowThenFastTask extends TimerTask { in test_scheduleAtFixedRateLjava_util_TimerTaskJJ()
913 class SlowThenFastTask extends TimerTask { in test_scheduleAtFixedRateLjava_util_TimerTaskLjava_util_DateJ()
969 new Timer().schedule(new TimerTask() { in testThrowingTaskKillsTimerThread()
993 private class CheckIfExecutedOnTime extends TimerTask {
1040 TimerTask task = new TimerTask() { in testCanBeCancelledEvenIfTaskKeepsItPermanentlyBusy()
1061 new TimerTask() { in testCanBeCancelledEvenIfTaskKeepsItPermanentlyBusy()
1078 TimerTask task = new TimerTask() { in testTaskNotCancelledWhenTimerCancelled()
1100 TimerTask task = new TimerTask() { in testTaskNotCancelledWhenTimerCancelledAndPurged()
[all …]
DTimerTaskTest.java21 import java.util.TimerTask;
28 class TimerTestTask extends TimerTask {
/libcore/ojluni/annotations/hiddenapi/java/util/
DTimerTask.java31 public abstract class TimerTask implements java.lang.Runnable { class
33 protected TimerTask() { in TimerTask() method in TimerTask
/libcore/
Dopenjdk_java_files.bp1230 "ojluni/src/main/java/java/util/TimerTask.java",
DEXPECTED_UPSTREAM1010 ojluni/src/main/java/java/util/TimerTask.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java…
/libcore/api/
Dcurrent.txt15141 method public void schedule(java.util.TimerTask, long);
15142 method public void schedule(java.util.TimerTask, java.util.Date);
15143 method public void schedule(java.util.TimerTask, long, long);
15144 method public void schedule(java.util.TimerTask, java.util.Date, long);
15145 method public void scheduleAtFixedRate(java.util.TimerTask, long, long);
15146 method public void scheduleAtFixedRate(java.util.TimerTask, java.util.Date, long);
15149 public abstract class TimerTask implements java.lang.Runnable {
15150 ctor protected TimerTask();