Home
last modified time | relevance | path

Searched refs:invokeAny (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DExecutorService.java296 <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() method
321 <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny() method
DExecutors.java610 public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
612 return e.invokeAny(tasks);
614 public <T> T invokeAny(Collection<? extends Callable<T>> tasks,
617 return e.invokeAny(tasks, timeout, unit);
DAbstractExecutorService.java181 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() method in AbstractExecutorService
191 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny() method in AbstractExecutorService
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractExecutorServiceTest.java229 e.invokeAny(null); in testInvokeAny1()
243 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
261 e.invokeAny(l); in testInvokeAny3()
277 e.invokeAny(l); in testInvokeAny4()
295 String result = e.invokeAny(l); in testInvokeAny5()
391 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
407 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
421 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
439 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
455 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DForkJoinPoolTest.java625 e.invokeAny(null); in testInvokeAny1()
639 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
655 e.invokeAny(l); in testInvokeAny3()
673 e.invokeAny(l); in testInvokeAny4()
690 e.invokeAny(l); in testInvokeAny5()
708 String result = e.invokeAny(l); in testInvokeAny6()
804 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
820 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
834 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
853 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
[all …]
DScheduledExecutorTest.java792 e.invokeAny(null); in testInvokeAny1()
806 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
824 e.invokeAny(l); in testInvokeAny3()
841 e.invokeAny(l); in testInvokeAny4()
859 String result = e.invokeAny(l); in testInvokeAny5()
953 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
969 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
983 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1001 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1018 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DScheduledExecutorSubclassTest.java841 e.invokeAny(null); in testInvokeAny1()
855 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
873 e.invokeAny(l); in testInvokeAny3()
890 e.invokeAny(l); in testInvokeAny4()
908 String result = e.invokeAny(l); in testInvokeAny5()
1002 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1018 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1032 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1050 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1067 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DThreadPoolExecutorTest.java1449 e.invokeAny(null); in testInvokeAny1()
1466 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
1487 e.invokeAny(l); in testInvokeAny3()
1507 e.invokeAny(l); in testInvokeAny4()
1528 String result = e.invokeAny(l); in testInvokeAny5()
1642 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1661 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1678 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1699 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1719 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DThreadPoolExecutorSubclassTest.java1310 e.invokeAny(null); in testInvokeAny1()
1324 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
1342 e.invokeAny(l); in testInvokeAny3()
1359 e.invokeAny(l); in testInvokeAny4()
1377 String result = e.invokeAny(l); in testInvokeAny5()
1471 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1487 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1501 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1519 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1536 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]