/libcore/jsr166-tests/src/test/java/jsr166/ |
D | FutureTaskTest.java | 241 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testIsDone() local 253 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testRunAndReset() local 269 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testRunAndResetAfterCancel() local 287 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testSet() local 304 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testSetException_get() local 334 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testCancelBeforeRun() local 351 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testCancelBeforeRun2() local 368 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testCancelAfterRun() local 383 PublicFutureTask task = new PublicFutureTask(new NoOpCallable()); in testCancelAfterRun2() local 399 final PublicFutureTask task = in testCancelInterrupt() local [all …]
|
D | ScheduledExecutorSubclassTest.java | 18 RunnableScheduledFuture<V> task; field in ScheduledExecutorSubclassTest.CustomTask 49 …rotected <V> RunnableScheduledFuture<V> decorateTask(Runnable r, RunnableScheduledFuture<V> task) { in decorateTask() 53 …ected <V> RunnableScheduledFuture<V> decorateTask(Callable<V> c, RunnableScheduledFuture<V> task) { in decorateTask() 77 final Runnable task = new CheckedRunnable() { in testExecute() local 97 Callable task = new CheckedCallable<Boolean>() { in testSchedule1() local 120 Runnable task = new CheckedRunnable() { in testSchedule3() local 142 Runnable task = new CheckedRunnable() { in testSchedule4() local 166 Runnable task = new CheckedRunnable() { in testSchedule5() local 746 ScheduledFuture task = in testShutdown3() local 772 ScheduledFuture task = in testShutdown4() local
|
D | ScheduledExecutorTest.java | 25 final Runnable task = new CheckedRunnable() { in testExecute() local 45 Callable task = new CheckedCallable<Boolean>() { in testSchedule1() local 68 Runnable task = new CheckedRunnable() { in testSchedule3() local 90 Runnable task = new CheckedRunnable() { in testSchedule4() local 114 Runnable task = new CheckedRunnable() { in testSchedule5() local 697 ScheduledFuture task = in testShutdown3() local 723 ScheduledFuture task = in testShutdown4() local
|
D | ExecutorsTest.java | 177 final Runnable task = new CheckedRunnable() { in testNewSingleThreadScheduledExecutor() local 203 final Runnable task = new CheckedRunnable() { in testNewScheduledThreadPool() local 231 final Runnable task = new CheckedRunnable() { in testUnconfigurableScheduledExecutorService() local
|
D | ThreadPoolExecutorTest.java | 65 final Runnable task = new CheckedRunnable() { in testExecute() local 501 Callable task = new CheckedCallable<Boolean>() { in testGetQueue() local 573 Callable task = new CheckedCallable<Boolean>() { in testPurge() local 1033 Runnable task = new CheckedRunnable() { in testSaturatedExecute() local 1062 Runnable task = new CheckedRunnable() { in testSaturatedSubmitRunnable() local 1091 Runnable task = new CheckedRunnable() { in testSaturatedSubmitCallable() local 1374 final CheckedRunnable task = new CheckedRunnable() { in testBeforeAfter() local
|
D | ThreadPoolExecutorSubclassTest.java | 205 final Runnable task = new CheckedRunnable() { in testExecute() local 574 Callable task = new CheckedCallable<Boolean>() { in testGetQueue() local 646 Callable task = new CheckedCallable<Boolean>() { in testPurge() local 992 Runnable task = new CheckedRunnable() { in testSaturatedExecute() local 1247 final CheckedRunnable task = new CheckedRunnable() { in testBeforeAfter() local
|
D | AbstractExecutorServiceTest.java | 45 CheckedRunnable task = new CheckedRunnable() { in testExecuteRunnable() local
|
D | ForkJoinPoolTest.java | 417 CheckedRunnable task = new CheckedRunnable() { in testExecuteRunnable() local
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ExecutorCompletionService.java | 87 QueueingFuture(RunnableFuture<V> task) { in QueueingFuture() 92 private final Future<V> task; field in ExecutorCompletionService.QueueingFuture 95 private RunnableFuture<V> newTaskFor(Callable<V> task) { in newTaskFor() 102 private RunnableFuture<V> newTaskFor(Runnable task, V result) { in newTaskFor() 149 public Future<V> submit(Callable<V> task) { in submit() 156 public Future<V> submit(Runnable task, V result) { in submit()
|
D | CompletionService.java | 44 Future<V> submit(Callable<V> task); in submit() 60 Future<V> submit(Runnable task, V result); in submit()
|
D | ExecutorService.java | 195 <T> Future<T> submit(Callable<T> task); in submit() 209 <T> Future<T> submit(Runnable task, T result); in submit() 222 Future<?> submit(Runnable task); in submit()
|
D | AbstractExecutorService.java | 78 public Future<?> submit(Runnable task) { in submit() 89 public <T> Future<T> submit(Runnable task, T result) { in submit() 100 public <T> Future<T> submit(Callable<T> task) { in submit()
|
D | Executors.java | 343 public static <T> Callable<T> callable(Runnable task, T result) { in callable() 356 public static Callable<Object> callable(Runnable task) { in callable()
|
D | ScheduledThreadPoolExecutor.java | 296 private void delayedExecute(RunnableScheduledFuture<?> task) { in delayedExecute() 316 void reExecutePeriodic(RunnableScheduledFuture<?> task) { in reExecutePeriodic() 371 Runnable runnable, RunnableScheduledFuture<V> task) { in decorateTask() 387 Callable<V> callable, RunnableScheduledFuture<V> task) { in decorateTask() 601 public Future<?> submit(Runnable task) { in submit() 609 public <T> Future<T> submit(Runnable task, T result) { in submit() 617 public <T> Future<T> submit(Callable<T> task) { in submit()
|
D | ForkJoinPool.java | 690 final void push(ForkJoinTask<?> task) { in push() 850 final void runTask(ForkJoinTask<?> task) { in runTask() 882 final boolean tryRemoveAndExec(ForkJoinTask<?> task) { in tryRemoveAndExec() 1469 final void externalPush(ForkJoinTask<?> task) { in externalPush() 1509 private void fullExternalPush(ForkJoinTask<?> task) { in fullExternalPush() 1806 private int tryHelpStealer(WorkQueue joiner, ForkJoinTask<?> task) { in tryHelpStealer() 1891 private int helpComplete(WorkQueue joiner, CountedCompleter<?> task) { in helpComplete() 1981 final int awaitJoin(WorkQueue joiner, ForkJoinTask<?> task) { in awaitJoin() 2030 final void helpJoinOnce(WorkQueue joiner, ForkJoinTask<?> task) { in helpJoinOnce() 2302 final boolean tryExternalUnpush(ForkJoinTask<?> task) { in tryExternalUnpush() [all …]
|
D | ThreadPoolExecutor.java | 1092 Runnable task = w.firstTask; in runWorker() local 1715 public boolean remove(Runnable task) { in remove()
|
D | ForkJoinTask.java | 410 ExceptionNode(ForkJoinTask<?> task, Throwable ex, ExceptionNode next) { in ExceptionNode()
|
/libcore/luni/src/main/java/java/util/ |
D | Timer.java | 73 public void insert(TimerTask task) { in insert() 155 private int getTask(TimerTask task) { in getTask() 202 TimerTask task; in run() local 431 public void schedule(TimerTask task, Date when) { in schedule() 452 public void schedule(TimerTask task, long delay) { in schedule() 474 public void schedule(TimerTask task, long delay, long period) { in schedule() 497 public void schedule(TimerTask task, Date when, long period) { in schedule() 521 public void scheduleAtFixedRate(TimerTask task, long delay, long period) { in scheduleAtFixedRate() 544 public void scheduleAtFixedRate(TimerTask task, Date when, long period) { in scheduleAtFixedRate() 555 private void scheduleImpl(TimerTask task, long delay, long period, boolean fixed) { in scheduleImpl()
|
/libcore/luni/src/test/java/tests/support/ |
D | ThreadPool.java | 44 public synchronized void runTask(Runnable task) { in runTask() 99 Runnable task = null; in run() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimerTest.java | 98 private void awaitRun(TimerTestTask task) throws Exception { in awaitRun()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 1106 Runnable task; in run() local
|