Home
last modified time | relevance | path

Searched refs:serverThread (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java142 Thread serverThread = new Thread(serverRunnable, TAG + " (server)"); in checkConnectIterationAndCloseSocket() local
146 serverThread.start(); in checkConnectIterationAndCloseSocket()
165 String serverStackTrace = stackTraceAsString(serverThread.getStackTrace()); in checkConnectIterationAndCloseSocket()
172 serverThread.join(); in checkConnectIterationAndCloseSocket()
DFtpURLConnectionTest.java389 private final Thread serverThread; field in FtpURLConnectionTest.CountingProxy
399 serverThread = new ServerThread(threadName); in CountingProxy()
405 result.serverThread.start(); in start()
444 serverThread.join(1000); in shutdown()
445 assertFalse("serverThread failed to shut down quickly", serverThread.isAlive()); in shutdown()
450 return serverThread.toString() ; in toString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DUnixSelectorTest.java44 Thread serverThread = new Thread(new Runnable() { in accept() local
53 serverThread.start(); in accept()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java240 Thread serverThread, clientThread; field in SSLSessionTest
251 serverThread = new Thread(server); in setUp()
254 serverThread.start(); in setUp()
287 serverThread.join(); in tearDown()
DHandshakeCompletedEventTest.java347 Thread serverThread = new Thread(server); in testClientAuth() local
350 serverThread.start(); in testClientAuth()
354 serverThread.join(); in testClientAuth()
DSSLEngineTest.java1235 Thread serverThread = new Thread(serverEngine);
1236 serverThread.start();
1239 while (clientThread.isAlive() && serverThread.isAlive() && i < 20) {
1248 if (serverThread.isAlive()) {
1249 serverThread.interrupt();
DSSLSocketTest.java490 Thread serverThread = new Thread(server); in startServer() local
491 serverThread.start(); in startServer()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java125 Thread serverThread = new Thread(server); in connectTestImpl() local
126 serverThread.start(); in connectTestImpl()
133 serverThread.join(); in connectTestImpl()