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.java147 private <T> T doInvokeAny(Collection<? extends Callable<T>> tasks, in doInvokeAny()
217 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny()
227 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny()
233 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll()
259 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, in invokeAll()
DForkJoinTask.java772 public static void invokeAll(ForkJoinTask<?>... tasks) { in invokeAll()
817 public static <T extends ForkJoinTask<?>> Collection<T> invokeAll(Collection<T> tasks) { in invokeAll()
DThreadPoolExecutor.java1438 List<Runnable> tasks; in shutdownNow() local
DForkJoinPool.java2835 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) { in invokeAll()
/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/dalvik/src/main/java/dalvik/system/
DZygoteHooks.java240 File tasks = new File("/proc/self/task"); in waitUntilAllThreadsStopped() 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.java608 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testGetQueue() local
631 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testRemove() local
659 final ScheduledFuture[] tasks = new ScheduledFuture[5]; in testPurge() local
728 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.java661 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testGetQueue() local
684 ScheduledFuture[] tasks = new ScheduledFuture[5]; in testRemove() local
712 final ScheduledFuture[] tasks = new ScheduledFuture[5]; in testPurge() local
780 List<ScheduledFuture> tasks = new ArrayList<>(); in testShutdownNow_delayedTasks() 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java281 TimerTestTask[] tasks = new TimerTestTask[100]; in test_purge() local