Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousChannelGroupImpl.java68 private final AtomicBoolean shutdown = new AtomicBoolean(); field in AsynchronousChannelGroupImpl
214 return shutdown.get();
251 pool.executor().shutdown();
252 timeoutExecutor.shutdown();
259 public final void shutdown() {
260 if (shutdown.getAndSet(true)) {
282 shutdown.set(true);
298 if (shutdown.getAndSet(true))
DAsynchronousSocketChannelImpl.java244 boolean shutdown = false; in read()
253 shutdown = true; in read()
263 if (shutdown || !hasSpaceToRead) { in read()
266 result = (shutdown) ? Long.valueOf(-1L) : Long.valueOf(0L); in read()
268 result = (shutdown) ? -1 : 0; in read()
539 Net.shutdown(fd, Net.SHUT_RD); in shutdownInput()
557 Net.shutdown(fd, Net.SHUT_WR); in shutdownOutput()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractPoller.java47 private boolean shutdown; field in AbstractPoller
51 this.shutdown = false; in AbstractPoller()
215 if (shutdown) { in invoke()
245 if (shutdown) { in processRequests()
279 shutdown = true; in processRequests()
288 return shutdown; in processRequests()
/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/luni/src/test/java/libcore/java/net/
DFtpURLConnectionTest.java137 countingProxy.shutdown(); in testCountingProxy()
160 countingProxy.shutdown(); in testConnectOverProxy_explicit_http_uses_direct_connection()
190 countingProxy.shutdown(); in testConnectOverProxy_implicit_http_fails()
275 executor.shutdown(); in testCRLFInUserinfo()
426 public void shutdown() throws IOException, InterruptedException { in shutdown() method in FtpURLConnectionTest.CountingProxy
DOldCookieHandlerTest.java43 server.shutdown(); in tearDown()
DSocketTest.java293 server.shutdown(); in testReadAfterClose()
312 server.shutdown(); in testWriteAfterClose()
514 public void shutdown() throws IOException { in shutdown() method
516 executor.shutdown(); in shutdown()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousChannelGroupTest.java92 acg.shutdown(); in test_shutdown()
109 acg.shutdown(); in test_shutdown()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousChannelGroup.java304 public abstract void shutdown(); in shutdown() method in AsynchronousChannelGroup
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java399 executor.shutdown(); in test_SSLSocket_startHandshake()
461 executor.shutdown(); in test_SSLSocket_confirmSessionReuse()
484 executor.shutdown(); in test_SSLSocket_NoEnabledCipherSuites_Failure()
513 executor.shutdown(); in test_SSLSocket_startHandshake_noKeyStore()
539 executor.shutdown(); in test_SSLSocket_startHandshake_noClientCertificate()
559 executor.shutdown(); in test_SSLSocket_HandshakeCompletedListener()
683 executor.shutdown(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException()
760 executor.shutdown(); in test_SSLSocket_setUseClientMode()
808 executor.shutdown(); in test_SSLSocket_untrustedServer()
852 executor.shutdown(); in test_SSLSocket_clientAuth()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorService.java153 void shutdown(); in shutdown() method
DExecutors.java621 public void shutdown() { e.shutdown(); }
664 super.shutdown();
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractExecutorServiceTest.java51 public void shutdown() { shutdown = true; } in shutdown() method in AbstractExecutorServiceTest.DirectExecutorService
53 shutdown = true; in shutdownNow()
56 public boolean isShutdown() { return shutdown; } in isShutdown()
61 private volatile boolean shutdown = false; field in AbstractExecutorServiceTest.DirectExecutorService
DScheduledExecutorSubclassTest.java318 p.shutdown(); in testSchedule1_RejectedExecutionException()
334 p.shutdown(); in testSchedule2_RejectedExecutionException()
350 p.shutdown(); in testSchedule3_RejectedExecutionException()
366 p.shutdown(); in testScheduleAtFixedRate1_RejectedExecutionException()
382 p.shutdown(); in testScheduleWithFixedDelay1_RejectedExecutionException()
577 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
600 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
624 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
841 try { p.shutdown(); } catch (SecurityException ok) { return; } in testShutdown_cancellation()
DScheduledExecutorTest.java262 p.shutdown(); in testSchedule1_RejectedExecutionException()
278 p.shutdown(); in testSchedule2_RejectedExecutionException()
294 p.shutdown(); in testSchedule3_RejectedExecutionException()
310 p.shutdown(); in testScheduleAtFixedRate1_RejectedExecutionException()
326 p.shutdown(); in testScheduleWithFixedDelay1_RejectedExecutionException()
525 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
548 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
572 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
790 try { p.shutdown(); } catch (SecurityException ok) { return; } in testShutdown_cancellation()
DLongAccumulatorTest.java137 pool.shutdown(); in testAccumulateAndGetMT()
DDoubleAccumulatorTest.java137 pool.shutdown(); in testAccumulateAndGetMT()
DThreadPoolExecutorTest.java447 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown()
478 try { p.shutdown(); } catch (SecurityException ok) { return; } in testAwaitTermination_timesOut()
505 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated()
533 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating()
1224 try { p.shutdown(); } catch (SecurityException ok) { return; } in testRejectedExecutionExceptionOnShutdown()
1243 try { p.shutdown(); } catch (SecurityException ok) { return; } in testCallerRunsOnShutdown()
1261 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOnShutdown()
1279 try { p.shutdown(); } catch (SecurityException ok) { return; } in testDiscardOldestOnShutdown()
1410 try { p.shutdown(); } catch (SecurityException ok) { return; } in testTerminated()
/libcore/luni/src/test/java/tests/security/
DSecureRandomTest.java91 executor.shutdown(); in testSecureRandomThreadSafety()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java252 Libcore.os.shutdown(fd1, SHUT_RDWR); in getMarkerFD()
265 Libcore.os.shutdown(fd, howto); in socketShutdown()
/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.java68 server.shutdown(); in tearDown()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java98 executor.shutdown(); in connect()
/libcore/support/src/test/java/tests/support/
DSupport_Exec.java113 executorService.shutdown(); in execAndGetOutput()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java126 executor.shutdown(); in runLater()

123