/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/util/concurrent/ |
D | AbstractExecutorServiceTest.java | 53 public void shutdown() { in shutdown() method in AbstractExecutorServiceTest.TestExecutorService 58 shutdown(); in shutdownNow()
|
D | ExecutorServiceAutoCloseable.java | 34 service.shutdown(); in close()
|
/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/luni/src/test/java/libcore/java/net/ |
D | FtpURLConnectionTest.java | 163 countingProxy.shutdown(); in testCountingProxy() 186 countingProxy.shutdown(); in testConnectOverProxy_explicit_http_uses_direct_connection() 216 countingProxy.shutdown(); in testConnectOverProxy_implicit_http_fails() 439 public void shutdown() throws IOException, InterruptedException { in shutdown() method in FtpURLConnectionTest.CountingProxy
|
D | OldCookieHandlerTest.java | 43 server.shutdown(); in tearDown()
|
D | SocketTest.java | 292 server.shutdown(); in testReadAfterClose() 311 server.shutdown(); in testWriteAfterClose() 527 public void shutdown() throws IOException { in shutdown() method 529 executor.shutdown(); in shutdown()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousChannelGroup.java | 304 public abstract void shutdown(); in shutdown() method in AsynchronousChannelGroup
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ExecutorService.java | 153 void shutdown(); in shutdown() method
|
D | Executors.java | 631 public void shutdown() { e.shutdown(); } 674 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()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AbstractExecutorServiceTest.java | 74 public void shutdown() { shutdown = true; } in shutdown() method in AbstractExecutorServiceTest.DirectExecutorService 76 shutdown = true; in shutdownNow() 79 public boolean isShutdown() { return shutdown; } in isShutdown() 84 private volatile boolean shutdown = false; field in AbstractExecutorServiceTest.DirectExecutorService
|
D | ScheduledExecutorSubclassTest.java | 340 p.shutdown(); in testSchedule1_RejectedExecutionException() 356 p.shutdown(); in testSchedule2_RejectedExecutionException() 372 p.shutdown(); in testSchedule3_RejectedExecutionException() 388 p.shutdown(); in testScheduleAtFixedRate1_RejectedExecutionException() 404 p.shutdown(); in testScheduleWithFixedDelay1_RejectedExecutionException() 599 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsShutdown() 622 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 646 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 863 try { p.shutdown(); } catch (SecurityException ok) { return; } in testShutdown_cancellation()
|
D | ScheduledExecutorTest.java | 284 p.shutdown(); in testSchedule1_RejectedExecutionException() 300 p.shutdown(); in testSchedule2_RejectedExecutionException() 316 p.shutdown(); in testSchedule3_RejectedExecutionException() 332 p.shutdown(); in testScheduleAtFixedRate1_RejectedExecutionException() 348 p.shutdown(); in testScheduleWithFixedDelay1_RejectedExecutionException() 545 p.shutdown(); in testIsShutdown() 569 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminated() 593 try { p.shutdown(); } catch (SecurityException ok) { return; } in testIsTerminating() 811 try { p.shutdown(); } catch (SecurityException ok) { return; } in testShutdown_cancellation()
|
/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 | 268 Libcore.os.shutdown(fd1, SHUT_RDWR); in getMarkerFD() 281 Libcore.os.shutdown(fd, howto); in socketShutdown()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MessageDigestTest.java | 60 es.shutdown(); in testMessageDigest_MultipleThreads_Misuse()
|
/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 | 97 executor.shutdown(); in connect()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Exec.java | 113 executorService.shutdown(); in execAndGetOutput()
|