Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DDatagramChannelTest.java67 private DatagramChannel channel2; field in DatagramChannelTest
76 channel2 = DatagramChannel.open(); in setUp()
79 channel2.socket().bind(new InetSocketAddress(Inet6Address.LOOPBACK, 0)); in setUp()
82 channel2Address = (InetSocketAddress) channel2.socket().getLocalSocketAddress(); in setUp()
93 IoUtils.closeQuietly(channel2); in tearDown()
1128 this.channel2.configureBlocking(false); in testReceiveSend_NonBlock_NotBound()
1150 this.channel2.configureBlocking(false); in testReceiveSend_NonBlock_Normal_C2S()
1175 this.channel2.configureBlocking(false); in testReceiveSend_NonBlock_Empty()
1187 this.channel2.configureBlocking(false); in testReceiveSend_NonBlock_Empty_S2C()
1199 this.channel2.configureBlocking(false); in testReceiveSend_NonBlock_Empty_C2S()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java49 private SocketChannel channel2; field in OldSocketChannelTest
58 this.channel2 = SocketChannel.open(); in setUp()
72 if (null != this.channel2) { in tearDown()
74 this.channel2.close(); in tearDown()