Searched refs:period (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/main/java/java/util/ |
D | Timer.java | 263 if (task.period >= 0) { in run() 267 task.when = task.when + task.period; in run() 271 + task.period; in run() 474 public void schedule(TimerTask task, long delay, long period) { in schedule() argument 475 if (delay < 0 || period <= 0) { in schedule() 478 scheduleImpl(task, delay, period, false); in schedule() 497 public void schedule(TimerTask task, Date when, long period) { in schedule() argument 498 if (period <= 0 || when.getTime() < 0) { in schedule() 502 scheduleImpl(task, delay < 0 ? 0 : delay, period, false); in schedule() 521 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate() argument [all …]
|
D | TimerTask.java | 37 long period; field in TimerTask
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledThreadPoolExecutor.java | 167 private final long period; field in ScheduledThreadPoolExecutor.ScheduledFutureTask 183 this.period = 0; in ScheduledFutureTask() 190 ScheduledFutureTask(Runnable r, V result, long ns, long period) { in ScheduledFutureTask() argument 193 this.period = period; in ScheduledFutureTask() 203 this.period = 0; in ScheduledFutureTask() 236 return period != 0; in isPeriodic() 243 long p = period; in setNextRunTime() 530 long period, in scheduleAtFixedRate() argument 534 if (period <= 0) in scheduleAtFixedRate() 540 unit.toNanos(period)); in scheduleAtFixedRate()
|
D | ScheduledExecutorService.java | 126 long period, in scheduleAtFixedRate() argument
|
D | Executors.java | 649 …ledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { 650 return e.scheduleAtFixedRate(command, initialDelay, period, unit);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 2108 int period = m; in build() local 2112 for (int k = 1; k <= period; k++) { in build() 2118 period += m; in build() 2120 for (int k = 1; k <= period; k++) { in build() 2126 period += m; in build()
|