Home
last modified time | relevance | path

Searched defs:runnable (Results 1 – 14 of 14) sorted by relevance

/libcore/libart/src/main/java/java/lang/
DThread.java214 public Thread(Runnable runnable) { in Thread()
232 public Thread(Runnable runnable, String threadName) { in Thread()
276 public Thread(ThreadGroup group, Runnable runnable) { in Thread()
296 public Thread(ThreadGroup group, Runnable runnable, String threadName) { in Thread()
346 public Thread(ThreadGroup group, Runnable runnable, String threadName, long stackSize) { in Thread()
402 private void create(ThreadGroup group, Runnable runnable, String threadName, long stackSize) { in create()
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinTask.java1350 final Runnable runnable; field in ForkJoinTask.AdaptedRunnable
1352 AdaptedRunnable(Runnable runnable, T result) { in AdaptedRunnable()
1369 final Runnable runnable; field in ForkJoinTask.AdaptedRunnableAction
1370 AdaptedRunnableAction(Runnable runnable) { in AdaptedRunnableAction()
1385 final Runnable runnable; field in ForkJoinTask.RunnableExecuteAction
1386 RunnableExecuteAction(Runnable runnable) { in RunnableExecuteAction()
1436 public static ForkJoinTask<?> adapt(Runnable runnable) { in adapt()
1449 public static <T> ForkJoinTask<T> adapt(Runnable runnable, T result) { in adapt()
DAbstractExecutorService.java56 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor()
DFutureTask.java122 public FutureTask(Runnable runnable, V result) { in FutureTask()
DScheduledThreadPoolExecutor.java371 Runnable runnable, RunnableScheduledFuture<V> task) { in decorateTask()
DForkJoinPool.java3186 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java92 private void runLater(Runnable runnable, int delayMillis) { in runLater()
/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java163 PublicFutureTask(Runnable runnable) { in PublicFutureTask()
166 PublicFutureTask(Runnable runnable, Object result) { in PublicFutureTask()
169 private PublicFutureTask(final Runnable runnable, Object result, in PublicFutureTask()
DJSR166TestCase.java635 Thread newStartedThread(Runnable runnable) { in newStartedThread()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java152 Runnable runnable = engine.getDelegatedTask(); in handshakeCompleted() local
/libcore/support/src/test/java/tests/http/
DMockWebServer.java490 private static Runnable namedRunnable(final String name, final Runnable runnable) { in namedRunnable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java189 Runnable runnable = new Runnable() { in test_accept() local
DSocketTest.java808 Runnable runnable = new Runnable() { in test_getOutputStream() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileIOInterruptTest.java679 private static Thread createAndStartThread(String name, Runnable runnable) { in createAndStartThread()