Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractExecutorServiceTest.java250 e.invokeAny(null); in testInvokeAny1()
263 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
280 e.invokeAny(l); in testInvokeAny3()
295 e.invokeAny(l); in testInvokeAny4()
312 String result = e.invokeAny(l); in testInvokeAny5()
399 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
414 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
427 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
445 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
461 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DForkJoinPoolTest.java619 e.invokeAny(null); in testInvokeAny1()
632 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
647 e.invokeAny(l); in testInvokeAny3()
664 e.invokeAny(l); in testInvokeAny4()
680 e.invokeAny(l); in testInvokeAny5()
697 String result = e.invokeAny(l); in testInvokeAny6()
786 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
801 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
814 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
832 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
[all …]
DScheduledExecutorSubclassTest.java923 e.invokeAny(null); in testInvokeAny1()
936 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
953 e.invokeAny(l); in testInvokeAny3()
969 e.invokeAny(l); in testInvokeAny4()
986 String result = e.invokeAny(l); in testInvokeAny5()
1073 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1088 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1101 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1118 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1135 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DScheduledExecutorTest.java872 e.invokeAny(null); in testInvokeAny1()
885 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
902 e.invokeAny(l); in testInvokeAny3()
918 e.invokeAny(l); in testInvokeAny4()
935 String result = e.invokeAny(l); in testInvokeAny5()
1022 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1037 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1050 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1067 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1084 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DThreadPoolExecutorSubclassTest.java1482 e.invokeAny(null); in testInvokeAny1()
1498 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
1518 e.invokeAny(l); in testInvokeAny3()
1537 e.invokeAny(l); in testInvokeAny4()
1557 String result = e.invokeAny(l); in testInvokeAny5()
1662 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1680 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1696 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
1717 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1737 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DThreadPoolExecutorTest.java1489 e.invokeAny(null); in testInvokeAny1()
1505 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
1525 e.invokeAny(l); in testInvokeAny3()
1544 e.invokeAny(l); in testInvokeAny4()
1564 String result = e.invokeAny(l); in testInvokeAny5()
1669 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1687 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1703 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
1724 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1744 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractExecutorServiceTest.java273 e.invokeAny(null); in testInvokeAny1()
286 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
303 e.invokeAny(l); in testInvokeAny3()
318 e.invokeAny(l); in testInvokeAny4()
335 String result = e.invokeAny(l); in testInvokeAny5()
422 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
437 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
450 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
468 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
484 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DForkJoinPoolTest.java637 e.invokeAny(null); in testInvokeAny1()
650 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
665 e.invokeAny(l); in testInvokeAny3()
682 e.invokeAny(l); in testInvokeAny4()
698 e.invokeAny(l); in testInvokeAny5()
715 String result = e.invokeAny(l); in testInvokeAny6()
804 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
819 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
832 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
850 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
[all …]
DScheduledExecutorSubclassTest.java945 e.invokeAny(null); in testInvokeAny1()
958 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
975 e.invokeAny(l); in testInvokeAny3()
991 e.invokeAny(l); in testInvokeAny4()
1008 String result = e.invokeAny(l); in testInvokeAny5()
1095 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1110 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1123 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1140 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1157 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DScheduledExecutorTest.java893 e.invokeAny(null); in testInvokeAny1()
906 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
923 e.invokeAny(l); in testInvokeAny3()
939 e.invokeAny(l); in testInvokeAny4()
956 String result = e.invokeAny(l); in testInvokeAny5()
1043 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1058 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1071 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1088 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1105 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DThreadPoolExecutorSubclassTest.java1504 e.invokeAny(null); in testInvokeAny1()
1520 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
1540 e.invokeAny(l); in testInvokeAny3()
1559 e.invokeAny(l); in testInvokeAny4()
1579 String result = e.invokeAny(l); in testInvokeAny5()
1684 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1702 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1718 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
1739 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1759 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
DThreadPoolExecutorTest.java1506 e.invokeAny(null); in testInvokeAny1()
1522 e.invokeAny(new ArrayList<Callable<String>>()); in testInvokeAny2()
1542 e.invokeAny(l); in testInvokeAny3()
1561 e.invokeAny(l); in testInvokeAny4()
1581 String result = e.invokeAny(l); in testInvokeAny5()
1686 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1704 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1720 e.invokeAny(new ArrayList<Callable<String>>(), in testTimedInvokeAny2()
1741 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1761 e.invokeAny(l, LONG_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorService.java331 <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() method
357 <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny() method
DExecutors.java657 public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
659 return e.invokeAny(tasks);
661 public <T> T invokeAny(Collection<? extends Callable<T>> tasks,
664 return e.invokeAny(tasks, timeout, unit);
DAbstractExecutorService.java217 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() method in AbstractExecutorService
227 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, in invokeAny() method in AbstractExecutorService
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java244 public <T> T invokeAny( in invokeAny() method in Executors.DelegatedExecutorService
250 public <T> T invokeAny( in invokeAny() method in Executors.DelegatedExecutorService
/libcore/api/
Dcurrent.txt14093 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>) th…
14094 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, lo…
14615 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>) th…
14616 …method public <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>>, lo…