Home
last modified time | relevance | path

Searched refs:shutdown (Results 1 – 25 of 72) 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/util/concurrent/
DAbstractExecutorServiceTest.java53 public void shutdown() { in shutdown() method in AbstractExecutorServiceTest.TestExecutorService
58 shutdown(); in shutdownNow()
DExecutorServiceAutoCloseable.java34 service.shutdown(); in close()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousChannelGroupTest.java92 acg.shutdown(); in test_shutdown()
109 acg.shutdown(); in test_shutdown()
/libcore/luni/src/test/java/libcore/java/net/
DFtpURLConnectionTest.java163 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
DOldCookieHandlerTest.java43 server.shutdown(); in tearDown()
DSocketTest.java292 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/
DAsynchronousChannelGroup.java304 public abstract void shutdown(); in shutdown() method in AsynchronousChannelGroup
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorService.java153 void shutdown(); in shutdown() method
DExecutors.java631 public void shutdown() { e.shutdown(); }
674 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()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractExecutorServiceTest.java74 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
DScheduledExecutorSubclassTest.java340 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()
DScheduledExecutorTest.java284 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/
DSecureRandomTest.java91 executor.shutdown(); in testSecureRandomThreadSafety()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java268 Libcore.os.shutdown(fd1, SHUT_RDWR); in getMarkerFD()
281 Libcore.os.shutdown(fd, howto); in socketShutdown()
/libcore/luni/src/test/java/libcore/java/security/
DMessageDigestTest.java60 es.shutdown(); in testMessageDigest_MultipleThreads_Misuse()
/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java68 server.shutdown(); in tearDown()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java97 executor.shutdown(); in connect()
/libcore/support/src/test/java/tests/support/
DSupport_Exec.java113 executorService.shutdown(); in execAndGetOutput()

123