Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/util/
DSetOfTest.java169 private static void npe(boolean expectedToThrowNpe, Runnable runnable) { in npe()
214 private static boolean throwsUoe(Runnable runnable) { in throwsUoe()
223 private static void assertThrowsIae(Runnable runnable) { in assertThrowsIae()
231 private static void assertThrowsNpe(Runnable runnable) { in assertThrowsNpe()
DListOfTest.java160 private static void npe(boolean expectedToThrowNpe, Runnable runnable) { in npe()
216 private static void assertThrowsUoe(Runnable runnable) { in assertThrowsUoe()
224 private static void assertThrowsNpe(Runnable runnable) { in assertThrowsNpe()
DMapOfTest.java294 private static void assertThrowsIae(Runnable runnable) { in assertThrowsIae()
302 private static void assertThrowsUoe(Runnable runnable) { in assertThrowsUoe()
310 private static void assertThrowsNpe(Runnable runnable) { in assertThrowsNpe()
DObjectsTest.java263 private static void assertThrowsNpe(Runnable runnable) { in assertThrowsNpe()
DCollectionsTest.java1634 private static void assertThrowsUoe(Runnable runnable) { in assertThrowsUoe()
1642 private static void assertThrowsCce(Runnable runnable) { in assertThrowsCce()
DBase64Test.java1125 private static void assertThrowsNpe(Runnable runnable) { in assertThrowsNpe()
DLocaleTest.java1719 private static void assertThrowsNpe(Runnable runnable) { in assertThrowsNpe()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinTask.java1369 final Runnable runnable; field in ForkJoinTask.AdaptedRunnable
1371 AdaptedRunnable(Runnable runnable, T result) { in AdaptedRunnable()
1388 final Runnable runnable; field in ForkJoinTask.AdaptedRunnableAction
1389 AdaptedRunnableAction(Runnable runnable) { in AdaptedRunnableAction()
1404 final Runnable runnable; field in ForkJoinTask.RunnableExecuteAction
1405 RunnableExecuteAction(Runnable runnable) { in RunnableExecuteAction()
1453 public static ForkJoinTask<?> adapt(Runnable runnable) { in adapt()
1467 public static <T> ForkJoinTask<T> adapt(Runnable runnable, T result) { in adapt()
DAbstractExecutorService.java92 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor()
DFutureTask.java152 public FutureTask(Runnable runnable, V result) { in FutureTask()
DScheduledThreadPoolExecutor.java408 Runnable runnable, RunnableScheduledFuture<V> task) { in decorateTask()
DCompletableFuture.java1870 public static CompletableFuture<Void> runAsync(Runnable runnable) { in runAsync()
1884 public static CompletableFuture<Void> runAsync(Runnable runnable, in runAsync()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractExecutorServiceTest.java66 public <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor()
/libcore/luni/src/test/java/libcore/libcore/content/type/
DMimeMapTest.java378 private static void assertThrowsNpe(Runnable runnable) { in assertThrowsNpe()
386 private static void assertThrowsIae(Runnable runnable) { in assertThrowsIae()
/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java181 PublicFutureTask(Runnable runnable) { in PublicFutureTask()
184 PublicFutureTask(Runnable runnable, Object result) { in PublicFutureTask()
187 private PublicFutureTask(final Runnable runnable, Object result, in PublicFutureTask()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DFutureTaskTest.java204 PublicFutureTask(Runnable runnable) { in PublicFutureTask()
207 PublicFutureTask(Runnable runnable, Object result) { in PublicFutureTask()
210 private PublicFutureTask(final Runnable runnable, Object result, in PublicFutureTask()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java145 private void runLater(Runnable runnable, long delayMillis) { in runLater()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java47 public FutureTask(java.lang.Runnable runnable, V result) { in FutureTask()
/libcore/luni/src/test/java/libcore/libcore/util/
DNativeAllocationRegistryTest.java221 private static void assertThrowsIllegalArgumentException(Runnable runnable) { in assertThrowsIllegalArgumentException()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java174 Runnable runnable = engine.getDelegatedTask(); in handshakeCompleted() local
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java50 …ava.util.concurrent.CompletableFuture<java.lang.Void> runAsync(java.lang.Runnable runnable) { thro… in runAsync()
52 …ava.util.concurrent.CompletableFuture<java.lang.Void> runAsync(java.lang.Runnable runnable, java.u… in runAsync()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java204 Runnable runnable = new Runnable() { in test_accept() local
DSocketTest.java809 Runnable runnable = new Runnable() { in test_getOutputStream() local
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileIOInterruptTest.java687 private static Thread createAndStartThread(String name, Runnable runnable) { in createAndStartThread()
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java874 private static void assertThrowsNpe(Runnable runnable) { in assertThrowsNpe()

12