Home
last modified time | relevance | path

Searched defs:callable (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DExecutors.java343 public static <T> Callable<T> callable(Runnable task, T result) { in callable() method in Executors
356 public static Callable<Object> callable(Runnable task) { in callable() method in Executors
369 public static Callable<Object> callable(final PrivilegedAction<?> action) { in callable() method in Executors
DScheduledExecutorService.java96 public <V> ScheduledFuture<V> schedule(Callable<V> callable, in schedule()
DFutureTask.java73 private Callable<V> callable; field in FutureTask
103 public FutureTask(Callable<V> callable) { in FutureTask()
DAbstractExecutorService.java70 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor()
DScheduledThreadPoolExecutor.java200 ScheduledFutureTask(Callable<V> callable, long ns) { in ScheduledFutureTask()
387 Callable<V> callable, RunnableScheduledFuture<V> task) { in decorateTask()
511 public <V> ScheduledFuture<V> schedule(Callable<V> callable, in schedule()
DForkJoinTask.java1404 final Callable<? extends T> callable; field in ForkJoinTask.AdaptedCallable
1406 AdaptedCallable(Callable<? extends T> callable) { in AdaptedCallable()
1462 public static <T> ForkJoinTask<T> adapt(Callable<? extends T> callable) { in adapt()
DForkJoinPool.java3190 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor()
/libcore/luni/src/test/java/sun/misc/
DUnsafeTest.java40 Callable<Object> callable = Executors.callable(new Runnable() { in test_getUnsafeForbiddenWithSystemCaller() local
/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java178 PublicFutureTask(Callable callable) { in PublicFutureTask()
181 private PublicFutureTask(final Callable callable, in PublicFutureTask()
615 final Callable<Object> callable = in testTimedGet_Cancellation() local
DForkJoinPoolTest.java481 final Callable callable = Executors.callable(new PrivilegedAction() { in testSubmitPrivilegedAction() local
501 final Callable callable = in testSubmitPrivilegedExceptionAction() local
522 final Callable callable = in testSubmitFailedPrivilegedExceptionAction() local
DScheduledExecutorTest.java189 TrackedCallable callable = null; in testScheduleNull() local
DScheduledExecutorSubclassTest.java239 TrackedCallable callable = null; in testScheduleNull() local
DThreadPoolExecutorSubclassTest.java21 final Callable<V> callable; field in ThreadPoolExecutorSubclassTest.CustomTask
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLContextTest.java402 Provider provider, Callable<T> callable) throws Exception { in invokeWithHighestPrioritySecurityProvider()
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...