Home
last modified time | relevance | path

Searched refs:server1 (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java51 private ServerSocket server1; field in OldSocketChannelTest
59 this.server1 = new ServerSocket(0); in setUp()
60 this.localAddr1 = (InetSocketAddress) server1.getLocalSocketAddress(); in setUp()
79 if (null != this.server1) { in tearDown()
81 this.server1.close(); in tearDown()
210 if (null != this.server1) { in ensureServerClosed()
211 this.server1.close(); in ensureServerClosed()
212 assertTrue(this.server1.isClosed()); in ensureServerClosed()
250 Socket acceptedSocket = server1.accept(); in test_writeLjava_nio_ByteBuffer_Nonblocking_HugeData()
DSocketChannelTest.java351 ServerSocket server1 = new ServerSocket(0)) { in test_shutdownInput()
353 server1.getLocalPort()); in test_shutdownInput()
363 Socket acceptedSocket = server1.accept(); in test_shutdownInput()
379 ServerSocket server1 = new ServerSocket(0)) { in test_shutdownOutput()
381 "127.0.0.1", server1.getLocalPort()); in test_shutdownOutput()