/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AsynchronousChannelGroupImpl.java | 68 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))
|
D | AsynchronousSocketChannelImpl.java | 244 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/ |
D | AbstractPoller.java | 47 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/ |
D | HttpsURLConnectionTest.java | 151 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/ |
D | FtpURLConnectionTest.java | 137 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
|
D | OldCookieHandlerTest.java | 43 server.shutdown(); in tearDown()
|
D | SocketTest.java | 293 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/ |
D | AsynchronousChannelGroupTest.java | 92 acg.shutdown(); in test_shutdown() 109 acg.shutdown(); in test_shutdown()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousChannelGroup.java | 304 public abstract void shutdown(); in shutdown() method in AsynchronousChannelGroup
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 399 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/ |
D | ExecutorService.java | 153 void shutdown(); in shutdown() method
|
D | Executors.java | 621 public void shutdown() { e.shutdown(); } 664 super.shutdown();
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractExecutorServiceTest.java | 51 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
|
D | ScheduledExecutorSubclassTest.java | 318 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()
|
D | ScheduledExecutorTest.java | 262 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()
|
D | LongAccumulatorTest.java | 137 pool.shutdown(); in testAccumulateAndGetMT()
|
D | DoubleAccumulatorTest.java | 137 pool.shutdown(); in testAccumulateAndGetMT()
|
D | ThreadPoolExecutorTest.java | 447 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/ |
D | SecureRandomTest.java | 91 executor.shutdown(); in testSecureRandomThreadSafety()
|
/libcore/ojluni/src/main/java/java/net/ |
D | PlainSocketImpl.java | 252 Libcore.os.shutdown(fd1, SHUT_RDWR); in getMarkerFD() 265 Libcore.os.shutdown(fd, howto); in socketShutdown()
|
/libcore/support/src/test/java/tests/http/ |
D | MockWebServer.java | 208 executor.shutdown(); in play() 235 public void shutdown() throws IOException { in shutdown() method in MockWebServer 282 shutdown(); in serveConnection()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | URLConnectionBenchmark.java | 68 server.shutdown(); in tearDown()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 98 executor.shutdown(); in connect()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Exec.java | 113 executorService.shutdown(); in execAndGetOutput()
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | ReferenceQueueTest.java | 126 executor.shutdown(); in runLater()
|