Home
last modified time | relevance | path

Searched refs:getRemoteAddress (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousSocketChannelTest.java61 assertNull(asc.getRemoteAddress()); in test_connect()
72 assertNotNull(asc.getRemoteAddress()); in test_connect()
73 assertEquals(asc.getRemoteAddress(), s.getLocalSocketAddress()); in test_connect()
86 assertNull(asc.getRemoteAddress()); in test_bind()
92 assertNull(asc.getRemoteAddress()); in test_bind()
111 assertNull(asc.getRemoteAddress()); in test_bind_unsupportedAddress()
127 assertNull(asc.getRemoteAddress()); in test_bind_unresolvedAddress()
142 assertNull(asc.getRemoteAddress()); in test_bind_usedAddress()
154 assertNull(asc.getRemoteAddress()); in test_bind_null()
168 assertNull(asc.getRemoteAddress()); in test_connect_unresolvedAddress()
[all …]
DAsynchronousServerSocketChannelTest.java121 assertNotNull(asc.getRemoteAddress()); in test_futureAccept()
122 assertEquals(asc.getRemoteAddress(), s.getLocalSocketAddress()); in test_futureAccept()
146 assertNotNull(asc.getRemoteAddress()); in test_completionHandlerAccept()
147 assertEquals(asc.getRemoteAddress(), s.getLocalSocketAddress()); in test_completionHandlerAccept()
DDatagramChannelTest.java231 assertNull(clientChannel.getRemoteAddress()); in test_getRemoteAddress()
235 ((InetSocketAddress) (clientChannel.getRemoteAddress())).getAddress()); in test_getRemoteAddress()
237 ((InetSocketAddress) (clientChannel.getRemoteAddress())).getPort()); in test_getRemoteAddress()
DSocketChannelTest.java342 assertNull(sc.getRemoteAddress()); in test_getRemoteAddress()
345 assertEquals(sc.getRemoteAddress(), ss.getLocalSocketAddress()); in test_getRemoteAddress()
DOldSocketChannelTest.java415 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() method in OldSocketChannelTest.MockSocketChannel
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DMockSocketChannel.java90 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() method in MockSocketChannel
DMockDatagramChannel.java100 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() method in MockDatagramChannel
DSocketChannelTest.java3813 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() method in SocketChannelTest.MockSocketChannel
/libcore/ojluni/src/main/java/java/nio/channels/
DDatagramChannel.java334 public abstract SocketAddress getRemoteAddress() throws IOException; in getRemoteAddress() method in DatagramChannel
DSocketChannel.java459 public abstract SocketAddress getRemoteAddress() throws IOException; in getRemoteAddress() method in SocketChannel
DAsynchronousSocketChannel.java280 public abstract SocketAddress getRemoteAddress() throws IOException; in getRemoteAddress() method in AsynchronousSocketChannel
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousSocketChannelImpl.java525 public final SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() method in AsynchronousSocketChannelImpl
DSocketChannelImpl.java196 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() method in SocketChannelImpl
DDatagramChannelImpl.java202 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() method in DatagramChannelImpl