Home
last modified time | relevance | path

Searched defs:tasks (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorService.java277 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll()
308 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll()
331 <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny()
357 <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny()
DAbstractExecutorService.java152 private <T> T doInvokeAny(Collection<? extends Callable<T>> tasks, in doInvokeAny()
222 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny()
232 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny()
238 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll()
263 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll()
DForkJoinTask.java744 public static void invokeAll(ForkJoinTask<?>... tasks) { in invokeAll()
800 public static <T extends ForkJoinTask<?>> Collection<T> invokeAll(Collection<T> tasks) { in invokeAll()
DThreadPoolExecutor.java1418 List<Runnable> tasks; in shutdownNow() local
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java231 java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks) in invokeAll()
237 java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks, in invokeAll()
245 java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks) in invokeAny()
251 java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks, in invokeAny()
/libcore/ojluni/src/test/java/lang/constant/
DDynamicConstantDescTest.java64 final List<Callable<?>> tasks = new ArrayList<>(); in main() local
/libcore/ojluni/src/test/java/util/Random/
DRandomStreamTest.java150 final int tasks = 10; in testRandomResultSupplierConcurrently() local
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java552 FutureTask[] tasks = new FutureTask[5]; in testGetQueue() local
583 Runnable[] tasks = new Runnable[6]; in testRemove() local
618 FutureTask[] tasks = new FutureTask[5]; in testPurge() local
1149 TrackedNoOpRunnable[] tasks = new TrackedNoOpRunnable[5]; in testSaturatedExecute2() local
1166 final TrackedNoOpRunnable[] tasks = new TrackedNoOpRunnable[5]; in testSaturatedExecute3() local
DScheduledExecutorTest.java587 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testGetQueue() local
610 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testRemove() local
638 final ScheduledFuture[] tasks = new ScheduledFuture[5]; in testPurge() local
707 List<ScheduledFuture> tasks = new ArrayList<>(); in testShutdownNow_delayedTasks() local
DThreadPoolExecutorSubclassTest.java667 FutureTask[] tasks = new FutureTask[5]; in testGetQueue() local
698 Runnable[] tasks = new Runnable[6]; in testRemove() local
733 FutureTask[] tasks = new FutureTask[5]; in testPurge() local
1179 TrackedNoOpRunnable[] tasks = new TrackedNoOpRunnable[5]; in testSaturatedExecute2() local
1194 final TrackedNoOpRunnable[] tasks = new TrackedNoOpRunnable[5]; in testSaturatedExecute3() local
DScheduledExecutorSubclassTest.java639 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testGetQueue() local
662 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testRemove() local
690 final ScheduledFuture[] tasks = new ScheduledFuture[5]; in testPurge() local
758 List<ScheduledFuture> tasks = new ArrayList<>(); in testShutdownNow_delayedTasks() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorTest.java574 FutureTask[] tasks = new FutureTask[5]; in testGetQueue() local
605 Runnable[] tasks = new Runnable[6]; in testRemove() local
640 FutureTask[] tasks = new FutureTask[5]; in testPurge() local
1171 TrackedNoOpRunnable[] tasks = new TrackedNoOpRunnable[5]; in testSaturatedExecute2() local
1188 final TrackedNoOpRunnable[] tasks = new TrackedNoOpRunnable[5]; in testSaturatedExecute3() local
DScheduledExecutorTest.java610 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testGetQueue() local
633 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testRemove() local
661 final ScheduledFuture[] tasks = new ScheduledFuture[5]; in testPurge() local
730 List<ScheduledFuture> tasks = new ArrayList<>(); in testShutdownNow_delayedTasks() local
DThreadPoolExecutorSubclassTest.java689 FutureTask[] tasks = new FutureTask[5]; in testGetQueue() local
720 Runnable[] tasks = new Runnable[6]; in testRemove() local
755 FutureTask[] tasks = new FutureTask[5]; in testPurge() local
1201 TrackedNoOpRunnable[] tasks = new TrackedNoOpRunnable[5]; in testSaturatedExecute2() local
1216 final TrackedNoOpRunnable[] tasks = new TrackedNoOpRunnable[5]; in testSaturatedExecute3() local
DScheduledExecutorSubclassTest.java663 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testGetQueue() local
686 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testRemove() local
714 final ScheduledFuture[] tasks = new ScheduledFuture[5]; in testPurge() local
782 List<ScheduledFuture> tasks = new ArrayList<>(); in testShutdownNow_delayedTasks() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java281 TimerTestTask[] tasks = new TimerTestTask[100]; in test_purge() local