Home
last modified time | relevance | path

Searched defs:future (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java320 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_startHandshake() local
413 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_startHandshake_noKeyStore() local
443 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_startHandshake_noClientCertificate() local
463 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_HandshakeCompletedListener() local
585 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_HandshakeCompletedListener_RuntimeException() local
651 Future<IOException> future = executor.submit(new Callable<IOException>() { in test_SSLSocket_setUseClientMode() local
705 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_untrustedServer() local
735 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_clientAuth() local
807 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_clientAuth_bogusAlias() local
854 Future<Void> future = executor.submit(new Callable<Void>() { in test_SSLSocket_TrustManagerRuntimeException() local
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPoolTest.java217 Future<String> future = p.submit(new StringTask()); in testGetPoolSize() local
421 Future<?> future = e.submit(task); in testExecuteRunnable() local
438 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
453 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
468 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
550 Future<?> future = e.submit((Runnable) null); in testExecuteNullRunnable() local
564 Future<String> future = e.submit((Callable) null); in testSubmitNullCallable() local
DAbstractExecutorServiceTest.java49 Future<?> future = e.submit(task); in testExecuteRunnable() local
62 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
72 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
82 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DScheduledExecutorTest.java750 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
764 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
778 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DJSR166TestCase.java444 void assertFutureTimesOut(Future future) { in assertFutureTimesOut()
451 void assertFutureTimesOut(Future future, long timeoutMillis) { in assertFutureTimesOut()
DScheduledExecutorSubclassTest.java799 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
813 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
827 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DThreadPoolExecutorTest.java1398 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
1415 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
1432 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DThreadPoolExecutorSubclassTest.java1268 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
1282 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
1296 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DWriterTesterTest.java110 private Future<char[]> future; field in WriterTesterTest.PipedWriterCharSinkTester
DOutputStreamTesterTest.java117 private Future<byte[]> future; field in OutputStreamTesterTest.PipedOutputStreamSinkTester
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java180 Future<?> future = executor.submit(new Runnable() { in testAddAllIsAtomic() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java678 Future<Boolean> future = executor.submit(new Callable<Boolean>() { in checkSignedJar() local