HomeSort by relevance Sort by last modified time
    Searched refs:invokeAny (Results 1 - 25 of 60) sorted by null

1 2 3

  /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);
  /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,
  /libcore/luni/src/main/java/java/util/concurrent/
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);
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,
  /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 {
  /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-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);
  /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)
  /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)
  /prebuilts/tools/common/m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/
backport-util-concurrent-3.1.jar 
  /external/guice/lib/build/
guava-testlib-16.0.1.jar 
  /external/robolectric/v3/runtime/
shadows-core-3.1-SNAPSHOT-16.jar 
shadows-core-3.1-SNAPSHOT-17.jar 
shadows-core-3.1-SNAPSHOT-18.jar 
shadows-core-3.1-SNAPSHOT-19.jar 
shadows-core-3.1-SNAPSHOT-21.jar 

Completed in 420 milliseconds

1 2 3