Home
last modified time | relevance | path

Searched refs:shutdown (Results 1 – 25 of 39) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java151 webServer.shutdown(); in testHttpsConnection()
189 webServer.shutdown(); in testHttpsConnection_Not_Found_Response()
237 webServer.shutdown(); in testSetDefaultSSLSocketFactory()
281 webServer.shutdown(); in testSetSSLSocketFactory()
349 webServer.shutdown(); in testSetHostnameVerifier()
380 webServer.shutdown(); in test_doOutput()
420 proxyAndWebServer.shutdown(); in testProxyConnection()
469 proxyAndWebServer.shutdown(); in testProxyAuthConnection()
498 proxyAndWebServer1.shutdown(); in testConsequentProxyConnection()
515 proxyAndWebServer2.shutdown(); in testConsequentProxyConnection()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_Exec.java113 executorService.shutdown(); in execAndGetOutput()
134 executorService.shutdown(); in execAndCheckOutput()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java340 executor.shutdown(); in test_SSLSocket_startHandshake()
402 executor.shutdown(); in test_SSLSocket_confirmSessionReuse()
423 executor.shutdown(); in test_SSLSocket_startHandshake_noKeyStore()
449 executor.shutdown(); in test_SSLSocket_startHandshake_noClientCertificate()
469 executor.shutdown(); in test_SSLSocket_HandshakeCompletedListener()
591 executor.shutdown(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException()
667 executor.shutdown(); in test_SSLSocket_setUseClientMode()
715 executor.shutdown(); in test_SSLSocket_untrustedServer()
759 executor.shutdown(); in test_SSLSocket_clientAuth()
819 executor.shutdown(); in test_SSLSocket_clientAuth_bogusAlias()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DScheduledExecutorTest.java202 se.shutdown(); in testSchedule1_RejectedExecutionException()
219 se.shutdown(); in testSchedule2_RejectedExecutionException()
235 se.shutdown(); in testSchedule3_RejectedExecutionException()
251 se.shutdown(); in testScheduleAtFixedRate1_RejectedExecutionException()
267 se.shutdown(); in testScheduleWithFixedDelay1_RejectedExecutionException()
464 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
488 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
513 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
643 try { p.shutdown(); } catch (SecurityException ok) { return; } in testShutdown1()
674 try { p.shutdown(); } catch (SecurityException ok) { return; } in testShutdown2()
[all …]
DScheduledExecutorSubclassTest.java252 se.shutdown(); in testSchedule1_RejectedExecutionException()
269 se.shutdown(); in testSchedule2_RejectedExecutionException()
285 se.shutdown(); in testSchedule3_RejectedExecutionException()
301 se.shutdown(); in testScheduleAtFixedRate1_RejectedExecutionException()
317 se.shutdown(); in testScheduleWithFixedDelay1_RejectedExecutionException()
513 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
537 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
562 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
692 try { p.shutdown(); } catch (SecurityException ok) { return; } in testShutdown1()
723 try { p.shutdown(); } catch (SecurityException ok) { return; } in testShutdown2()
[all …]
DThreadPoolExecutorTest.java395 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
425 p.shutdown(); in testAwaitTermination_timesOut()
452 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
480 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
1195 try { p.shutdown(); } catch (SecurityException ok) { return; } in testRejectedExecutionExceptionOnShutdown()
1214 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCallerRunsOnShutdown()
1235 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOnShutdown()
1256 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOldestOnShutdown()
1295 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCorePoolSizeIllegalArgumentException()
1314 try { p.shutdown(); } catch (SecurityException ok) { return; } in testMaximumPoolSizeIllegalArgumentException()
[all …]
DAbstractExecutorServiceTest.java26 public void shutdown() { shutdown = true; } in shutdown() method in AbstractExecutorServiceTest.DirectExecutorService
28 shutdown = true; in shutdownNow()
31 public boolean isShutdown() { return shutdown; } in isShutdown()
36 private volatile boolean shutdown = false; field in AbstractExecutorServiceTest.DirectExecutorService
DThreadPoolExecutorSubclassTest.java497 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
524 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
553 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
1088 try { p.shutdown(); } catch (SecurityException ok) { return; } in testRejectedExecutionExceptionOnShutdown()
1104 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCallerRunsOnShutdown()
1121 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOnShutdown()
1138 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOldestOnShutdown()
1173 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCorePoolSizeIllegalArgumentException()
1190 try { p.shutdown(); } catch (SecurityException ok) { return; } in testMaximumPoolSizeIllegalArgumentException()
1207 try { p.shutdown(); } catch (SecurityException ok) { return; } in testMaximumPoolSizeIllegalArgumentException2()
[all …]
DExecutorsTest.java313 e.shutdown(); in testDefaultThreadFactory()
352 e.shutdown(); in testPrivilegedThreadFactory()
/libcore/luni/src/main/java/java/util/concurrent/
DExecutorService.java123 void shutdown(); in shutdown() method
DExecutors.java584 public void shutdown() { e.shutdown(); }
627 super.shutdown();
DArrayBlockingQueue.java951 it.shutdown(); in queueIsEmpty()
1247 void shutdown() { in shutdown() method in ArrayBlockingQueue.Itr
1338 shutdown(); in takeIndexWrapped()
DScheduledThreadPoolExecutor.java728 public void shutdown() { in shutdown() method in ScheduledThreadPoolExecutor
729 super.shutdown(); in shutdown()
/libcore/luni/src/test/java/libcore/java/net/
DSocketTest.java260 server.shutdown(); in testReadAfterClose()
279 server.shutdown(); in testWriteAfterClose()
388 public void shutdown() throws IOException { in shutdown() method
390 executor.shutdown(); in shutdown()
/libcore/luni/src/test/java/tests/security/
DSecureRandomTest.java91 executor.shutdown(); in testSecureRandomThreadSafety()
/libcore/support/src/test/java/tests/http/
DMockWebServer.java208 executor.shutdown(); in play()
235 public void shutdown() throws IOException { in shutdown() method in MockWebServer
282 shutdown(); in serveConnection()
/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java70 server.shutdown(); in tearDown()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java95 executor.shutdown(); in runLater()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java98 executor.shutdown(); in connect()
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterOutputStreamTest.java93 executor.shutdown(); in createInflaterStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamTesterTest.java141 executor.shutdown(); in getBytes()
DWriterTesterTest.java135 executor.shutdown(); in getChars()
/libcore/luni/src/main/java/java/net/
DPlainSocketImpl.java363 Libcore.os.shutdown(fd, SHUT_RD); in shutdownInput()
375 Libcore.os.shutdown(fd, SHUT_WR); in shutdownOutput()
/libcore/luni/src/test/java/libcore/java/security/
DMessageDigestTest.java273 es.shutdown(); in testMessageDigest_MultipleThreads_Misuse()
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DSamplingProfiler.java314 public void shutdown() { in shutdown() method in SamplingProfiler

12