Searched refs:getInetAddress (Results 1 - 21 of 21) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
H A DServerSocketTest.java42 new Socket(ss.getInetAddress(), ss.getLocalPort());
H A DSocketTest.java125 assertEquals(inLocalAddress.getAddress(), ss.getInetAddress());
126 assertEquals(inRemoteAddress.getAddress(), ss.getInetAddress());
127 assertEquals(outLocalAddress.getAddress(), ss.getInetAddress());
128 assertEquals(outRemoteAddress.getAddress(), ss.getInetAddress());
H A DOldDatagramSocketTest.java262 assertTrue("Incorrect InetAddress", ds.getInetAddress().equals(
280 assertTrue("Incorrect InetAddress", ds.getInetAddress().equals(
652 assertNull("Incorrect InetAddress", ds.getInetAddress());
668 assertNull("Incorrect InetAddress", ds.getInetAddress());
697 assertEquals(ia, ds.getInetAddress());
698 assertEquals("" + ia, ia, ds.getInetAddress());
708 assertNull(new DatagramSocket().getInetAddress());
H A DOldSocketTest.java194 // Test for method java.net.InetAddress java.net.Socket.getInetAddress()
195 int sport = startServer("SServer getInetAddress");
197 assertTrue("Returned incorrect InetAddress", s.getInetAddress().equals(
628 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
731 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
765 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
787 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
797 theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
2089 new InetSocketAddress(ss.getInetAddress(), ss.getLocalPort()));
/libcore/luni/src/main/java/java/net/
H A DSocketImpl.java156 protected InetAddress getInetAddress() { method in class:SocketImpl
220 return "Socket[address=" + getInetAddress() +
H A DServerSocket.java160 public InetAddress getInetAddress() { method in class:ServerSocket
164 return impl.getInetAddress();
260 .append(getInetAddress().getHostName()).append("/")
261 .append(getInetAddress().getHostAddress()).append(
339 return new InetSocketAddress(getInetAddress(), getLocalPort());
H A DDatagramSocket.java150 public InetAddress getInetAddress() { method in class:DatagramSocket
536 return new InetSocketAddress(getInetAddress(), getPort());
H A DSocket.java324 public InetAddress getInetAddress() { method in class:Socket
328 return impl.getInetAddress();
696 return new InetSocketAddress(getInetAddress(), getPort());
/libcore/crypto/src/main/java/org/conscrypt/
H A DOpenSSLSocketImplWrapper.java74 public InetAddress getInetAddress() { method in class:OpenSSLSocketImplWrapper
75 return socket.getInetAddress();
H A DSSLSocketWrapper.java95 public InetAddress getInetAddress() { method in class:SSLSocketWrapper
96 return socket.getInetAddress();
H A DSSLSocketImpl.java222 InetAddress inetAddress = super.getInetAddress();
H A DServerHandshakeImpl.java410 session.setPeer(socketOwner.getInetAddress().getHostName(), socketOwner.getPort());
H A DOpenSSLSocketImpl.java470 InetAddress inetAddress = super.getInetAddress();
/libcore/support/src/test/java/tests/net/
H A DStuckServer.java52 Socket client = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java499 * @see java.net.DatagramSocket#getInetAddress()
502 public InetAddress getInetAddress() { method in class:DatagramChannelImpl.DatagramSocketAdapter
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java261 raw, raw.getInetAddress().getHostAddress(), raw.getPort(), true);
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DSocketChannelTest.java374 assertNull(socket.getInetAddress());
378 assertNotNull(socket.getInetAddress());
379 assertEquals(localAddr1.getAddress(), socket.getInetAddress());
460 assertNull(s.getInetAddress());
495 assertSame(s.getInetAddress(), address.getAddress());
H A DServerSocketChannelTest.java183 assertNull(s.getInetAddress());
H A DDatagramChannelTest.java358 assertNull(s.getInetAddress());
378 assertSame(s.getInetAddress(), localAddr1.getAddress());
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java1132 Socket underlying = new Socket(listening.getInetAddress(), listening.getLocalPort());
1159 Socket underlying = new Socket(listening.getInetAddress(), listening.getLocalPort());
1256 Socket underlying = new Socket(listening.getInetAddress(), listening.getLocalPort());
/libcore/crypto/src/test/java/org/conscrypt/
H A DNativeCryptoTest.java768 ? new Socket(listener.getInetAddress(),

Completed in 417 milliseconds