/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()
|
D | LinuxWatchService.java | 352 boolean shutdown = processRequests(); in run() 353 if (shutdown) in run()
|
/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/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/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/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()
|
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()
|
D | LongAccumulatorTest.java | 137 pool.shutdown(); in testAccumulateAndGetMT()
|
D | DoubleAccumulatorTest.java | 137 pool.shutdown(); in testAccumulateAndGetMT()
|
/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/tests/support/ |
D | Support_Exec.java | 113 executorService.shutdown(); in execAndGetOutput()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 97 executor.shutdown(); in connect()
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | ReferenceQueueTest.java | 126 executor.shutdown(); in runLater()
|