/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Executors.java | 381 public static <T> Callable<T> callable(Runnable task, T result) { in callable() method in Executors 394 public static Callable<Object> callable(Runnable task) { in callable() method in Executors 407 public static Callable<Object> callable(final PrivilegedAction<?> action) { in callable() method in Executors
|
D | ScheduledExecutorService.java | 126 public <V> ScheduledFuture<V> schedule(Callable<V> callable, in schedule()
|
D | FutureTask.java | 103 private Callable<V> callable; field in FutureTask 133 public FutureTask(Callable<V> callable) { in FutureTask()
|
D | AbstractExecutorService.java | 107 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor()
|
D | ScheduledThreadPoolExecutor.java | 232 ScheduledFutureTask(Callable<V> callable, long triggerTime, in ScheduledFutureTask() 425 Callable<V> callable, RunnableScheduledFuture<V> task) { in decorateTask() 570 public <V> ScheduledFuture<V> schedule(Callable<V> callable, in schedule()
|
D | ForkJoinTask.java | 1423 final Callable<? extends T> callable; field in ForkJoinTask.AdaptedCallable 1425 AdaptedCallable(Callable<? extends T> callable) { in AdaptedCallable() 1481 public static <T> ForkJoinTask<T> adapt(Callable<? extends T> callable) { in adapt()
|
D | ForkJoinPool.java | 3458 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | Executors.java | 120 public static <T> java.util.concurrent.Callable<T> callable(java.lang.Runnable task, T result) { in callable() method in Executors 124 public static java.util.concurrent.Callable<java.lang.Object> callable( in callable() method in Executors 129 public static java.util.concurrent.Callable<java.lang.Object> callable( in callable() method in Executors 134 public static java.util.concurrent.Callable<java.lang.Object> callable( in callable() method in Executors 140 java.util.concurrent.Callable<T> callable) { in privilegedCallable() 145 java.util.concurrent.Callable<T> callable) { in privilegedCallableUsingCurrentClassLoader() 282 java.util.concurrent.Callable<V> callable, in schedule()
|
D | FutureTask.java | 43 public FutureTask(java.util.concurrent.Callable<V> callable) { in FutureTask() 153 private java.util.concurrent.Callable<V> callable; field in FutureTask
|
/libcore/luni/src/test/java/libcore/sun/misc/ |
D | UnsafeTest.java | 42 Callable<Object> callable = Executors.callable(new Runnable() { in test_getUnsafeForbiddenWithSystemCaller() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 152 Callable<String> callable = (Callable<String> & Serializable) () -> "No State"; in testSerializableLambda_withoutState() local 175 Callable<String> callable = (Callable<String> & Serializable) () -> "State:" + state; in testSerializableLambda_withState() local 209 Callable<String> callable = in testMultipleInterfaceLambda() local
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | FutureTaskTest.java | 196 PublicFutureTask(Callable callable) { in PublicFutureTask() 199 private PublicFutureTask(final Callable callable, in PublicFutureTask() 633 final Callable<Object> callable = in testTimedGet_Cancellation() local
|
D | ForkJoinPoolTest.java | 485 final Callable callable = Executors.callable(new PrivilegedAction() { in testSubmitPrivilegedAction() local 503 final Callable callable = in testSubmitPrivilegedExceptionAction() local 522 final Callable callable = in testSubmitFailedPrivilegedExceptionAction() local
|
D | ScheduledExecutorTest.java | 248 TrackedCallable callable = null; in testScheduleNull() local
|
D | ScheduledExecutorSubclassTest.java | 304 TrackedCallable callable = null; in testScheduleNull() local
|
D | ThreadPoolExecutorSubclassTest.java | 54 final Callable<V> callable; field in ThreadPoolExecutorSubclassTest.CustomTask
|
/libcore/luni/src/test/java/libcore/libcore/net/ |
D | NetworkSecurityPolicyTest.java | 258 Callable<byte[]> callable = () -> { in CapturingServerSocket() local
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLTest.java | 189 private static void withCustomURLStreamHandlerFactory(Callable<Void> callable) in withCustomURLStreamHandlerFactory()
|