/libcore/jsr166-tests/src/test/java/jsr166/ |
AbstractExecutorServiceTest.java | 244 * invokeAny(null) throws NPE 250 e.invokeAny(null); 257 * invokeAny(empty collection) throws IAE 263 e.invokeAny(new ArrayList<Callable<String>>()); 270 * invokeAny(c) throws NPE if c has null elements 280 e.invokeAny(l); 287 * invokeAny(c) throws ExecutionException if no task in c completes 295 e.invokeAny(l); 304 * invokeAny(c) returns result of some task in c if at least one completes 312 String result = e.invokeAny(l) [all...] |
ForkJoinPoolTest.java | 613 * invokeAny(null) throws NullPointerException 619 e.invokeAny(null); 626 * invokeAny(empty collection) throws IllegalArgumentException 632 e.invokeAny(new ArrayList<Callable<String>>()); 639 * invokeAny(c) throws NullPointerException if c has a single null element 647 e.invokeAny(l); 654 * invokeAny(c) throws NullPointerException if c has null elements 664 e.invokeAny(l); 672 * invokeAny(c) throws ExecutionException if no task in c completes 680 e.invokeAny(l) [all...] |
ScheduledExecutorSubclassTest.java | [all...] |
ScheduledExecutorTest.java | [all...] |
ThreadPoolExecutorSubclassTest.java | [all...] |
ThreadPoolExecutorTest.java | [all...] |
/external/guava/guava-bootstrap/src/java/util/concurrent/ |
ExecutorService.java | 41 <T> T invokeAny(Collection<? extends Callable<T>> tasks) 44 <T> T invokeAny(
|
AbstractExecutorService.java | 104 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) 114 public <T> T invokeAny(Collection<? extends Callable<T>> tasks,
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
ForwardingExecutorService.java | 67 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) 69 return delegate().invokeAny(tasks); 73 public <T> T invokeAny( 76 return delegate().invokeAny(tasks, timeout, unit);
|
WrappingExecutorService.java | 127 public final <T> T invokeAny(Collection<? extends Callable<T>> tasks) 129 return delegate.invokeAny(wrapTasks(tasks)); 133 public final <T> T invokeAny( 136 return delegate.invokeAny(wrapTasks(tasks), timeout, unit);
|
MoreExecutors.java | 238 * submitted via {@code invokeAll} or {@code invokeAny}. In the latter case, 254 * This applies also to tasks given to {@code invokeAll} or {@code invokeAny} 260 * in concurrent calls to {@code invokeAll/invokeAny} throwing 401 * submitted via {@code invokeAll} or {@code invokeAny}. In the latter case, 417 * This applies also to tasks given to {@code invokeAll} or {@code invokeAny} 423 * in concurrent calls to {@code invokeAll/invokeAny} throwing 465 * {@code invokeAny}, are implemented in terms of calls to {@code 469 * invokeAny} methods, so any special handling of tasks must be implemented in 492 * {@code invokeAny}, are implemented in terms of calls to {@code 496 * submit}, {@code invokeAll}, and {@code invokeAny} methods, so any specia [all...] |
/external/guava/guava-bootstrap/ |
pom.xml | 14 way that makes it impossible for our invokeAll/invokeAny methods to 19 the JDK6 type parameters for the invokeAll/invokeAny methods just as with
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
WrappingExecutorServiceTest.java | 120 String s = testExecutor.invokeAny(tasks); 122 mock.assertLastMethodCalled("invokeAny"); 129 String s = testExecutor.invokeAny(tasks, timeout, unit); 131 mock.assertMethodWithTimeout("invokeAny", timeout, unit); 230 // Define the invokeAny methods to invoke the first task 232 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) 235 lastMethodCalled = "invokeAny"; 240 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
|
WrappingScheduledExecutorServiceTest.java | 182 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) 188 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
|
MoreExecutorsTest.java | 416 * invokeAny(null) throws NPE 430 * invokeAny(empty collection) throws IAE 444 * invokeAny(c) throws NPE if c has null elements 465 * invokeAny(c) throws ExecutionException if no task in c completes 482 * invokeAny(c) returns result of some task in c if at least one completes
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/ |
RobolectricBackgroundExecutorService.java | 78 public <T> T invokeAny(Collection<? extends Callable<T>> callables) throws InterruptedException, ExecutionException { 83 public <T> T invokeAny(Collection<? extends Callable<T>> callables, long l, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException {
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
SameThreadScheduledExecutorService.java | 116 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) 119 return delegate.invokeAny(tasks); 123 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, 128 return delegate.invokeAny(tasks, timeout, unit);
|
TestingExecutors.java | 61 * {@code invokeAny}, {@code schedule}, {@code scheduleAtFixedRate}, and 63 * {@code invokeAll} or {@code invokeAny}, tasks will run serially on the 86 * This applies also to tasks given to {@code invokeAll} or {@code invokeAny} 92 * in concurrent calls to {@code invokeAll/invokeAny} throwing
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/ |
TestScheduledExecutorService.java | 99 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) 105 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
|
/libcore/luni/src/main/java/java/util/concurrent/ |
AbstractExecutorService.java | 19 * {@code invokeAny} and {@code invokeAll} methods using a 116 * the main mechanics of invokeAny. 188 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) 198 public <T> T invokeAny(Collection<? extends Callable<T>> tasks,
|
ExecutorService.java | 35 * Methods {@code invokeAny} and {@code invokeAll} perform the most 302 <T> T invokeAny(Collection<? extends Callable<T>> tasks) 328 <T> T invokeAny(Collection<? extends Callable<T>> tasks,
|
Executors.java | 618 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) 620 return e.invokeAny(tasks); 622 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, 625 return e.invokeAny(tasks, timeout, unit);
|
/packages/services/Telecomm/libs/ |
guava.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/external/robolectric/v3/runtime/ |
shadows-core-3.1-SNAPSHOT-16.jar | |