Home
last modified time | relevance | path

Searched refs:getRemoteSocketAddress (Results 1 – 23 of 23) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DSocketTest.java173 … InetSocketAddress outRemoteAddress = (InetSocketAddress) out.socket().getRemoteSocketAddress(); in checkSocketLocalAndRemoteAddresses()
176 … InetSocketAddress inRemoteAddress = (InetSocketAddress) in.socket().getRemoteSocketAddress(); in checkSocketLocalAndRemoteAddresses()
210 assertNull(in.socket().getRemoteSocketAddress()); in checkSocketLocalAndRemoteAddresses()
211 assertNull(out.socket().getRemoteSocketAddress()); in checkSocketLocalAndRemoteAddresses()
429 assertNull(s.getRemoteSocketAddress()); in testInitialState()
DDatagramSocketTest.java53 assertNull(ds.getRemoteSocketAddress()); in testInitialState()
DOldSocketTest.java707 s.getRemoteSocketAddress() in test_getRemoteSocketAddress()
719 + "Expected: NULL", theSocket.getRemoteSocketAddress()); in test_getRemoteSocketAddress()
725 + theSocket.getRemoteSocketAddress().toString(), in test_getRemoteSocketAddress()
726 theSocket.getRemoteSocketAddress() in test_getRemoteSocketAddress()
850 servSock.getRemoteSocketAddress()); in test_bindLjava_net_SocketAddress()
DOldServerSocketTest.java81 assertEquals(clAddress, clientSocket.getRemoteSocketAddress()); in performancePreferenceTest()
DURLConnectionTest.java3638 …@Override public SocketAddress getRemoteSocketAddress() { return delegate.getRemoteSocketAddress()…
3848 @Override public SocketAddress getRemoteSocketAddress() {
3849 return delegate.getRemoteSocketAddress();
/libcore/ojluni/annotations/mmodule/java/net/
DDatagramSocket.annotated.java62 public java.net.SocketAddress getRemoteSocketAddress() { throw new RuntimeException("Stub!"); } in getRemoteSocketAddress() method in DatagramSocket
DSocket.annotated.java72 public java.net.SocketAddress getRemoteSocketAddress() { throw new RuntimeException("Stub!"); } in getRemoteSocketAddress() method in Socket
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousServerSocketChannelTest.java120 assertEquals(asc.getLocalAddress(), s.getRemoteSocketAddress()); in test_futureAccept()
145 assertEquals(asc.getLocalAddress(), s.getRemoteSocketAddress()); in test_completionHandlerAccept()
DDatagramChannelTest.java106 assertNull(socket.getRemoteSocketAddress()); in testInitialState()
DSocketChannelTest.java157 assertNull(socket.getRemoteSocketAddress()); in test_open_initialState()
DAsynchronousSocketChannelTest.java71 assertEquals(asc.getLocalAddress(), s.getRemoteSocketAddress()); in test_connect()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java733 s.getRemoteSocketAddress()); in test_getRemoteSocketAddress()
740 assertNull(theSocket.getRemoteSocketAddress()); in test_getRemoteSocketAddress()
745 theSocket.getRemoteSocketAddress()); in test_getRemoteSocketAddress()
769 InetSocketAddress remoteAddress = (InetSocketAddress) s.getRemoteSocketAddress(); in test_getLocalSocketAddress_unbound()
DSocketTest.java200 worker.getRemoteSocketAddress()); in test_bindLjava_net_SocketAddress()
921 client.getRemoteSocketAddress()); in test_getRemoteSocketAddress()
929 theSocket.getRemoteSocketAddress()); in test_getRemoteSocketAddress()
936 theSocket.getRemoteSocketAddress()); in test_getRemoteSocketAddress()
DServerSocketTest.java437 assertEquals(clAddress, clientSocket.getRemoteSocketAddress()); in test_bindLjava_net_SocketAddress()
520 assertTrue(clientSocket.getRemoteSocketAddress().equals(localAddress)); in test_bindLjava_net_SocketAddressI()
/libcore/ojluni/annotations/hiddenapi/java/net/
DDatagramSocket.java107 public java.net.SocketAddress getRemoteSocketAddress() { in getRemoteSocketAddress() method in DatagramSocket
DSocket.java153 public java.net.SocketAddress getRemoteSocketAddress() { in getRemoteSocketAddress() method in Socket
/libcore/ojluni/src/test/java/net/Socks/
DSocksServer.java366 bad = (InetSocketAddress) dest.getRemoteSocketAddress(); in doBind()
/libcore/ojluni/src/main/java/java/net/
DDatagramSocket.java614 public SocketAddress getRemoteSocketAddress() { in getRemoteSocketAddress() method in DatagramSocket
DSocket.java850 public SocketAddress getRemoteSocketAddress() { in getRemoteSocketAddress() method in Socket
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java451 assertNull(socket.getRemoteSocketAddress()); in testSocket_getRemoteSocketAddress()
455 assertNotNull(socket.getRemoteSocketAddress()); in testSocket_getRemoteSocketAddress()
456 assertEquals(localAddr1, socket.getRemoteSocketAddress()); in testSocket_getRemoteSocketAddress()
550 assertNull(s.getRemoteSocketAddress()); in assertSocketBeforeConnect()
580 assertEquals(s.getRemoteSocketAddress(), (SocketAddress) address); in assertSocketAfterConnect()
DDatagramChannelTest.java282 assertNull(s1.getRemoteSocketAddress()); in testSocket_BasicStatusBeforeConnect()
335 assertNotSame(s.getRemoteSocketAddress(), datagramSocket1Address); in assertSocketAfterConnect()
336 assertEquals(s.getRemoteSocketAddress(), datagramSocket1Address); in assertSocketAfterConnect()
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java1007 return server == null ? null : server.getRemoteSocketAddress(); in getServerAddress()
/libcore/api/
Dcurrent.txt5543 method public java.net.SocketAddress getRemoteSocketAddress();
5950 method public java.net.SocketAddress getRemoteSocketAddress();