/libcore/luni/src/test/java/libcore/java/net/ |
H A D | ServerSocketTest.java | 42 new Socket(ss.getInetAddress(), ss.getLocalPort());
|
H A D | SocketTest.java | 125 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 D | OldDatagramSocketTest.java | 262 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 D | OldSocketTest.java | 194 // 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 D | SocketImpl.java | 156 protected InetAddress getInetAddress() { method in class:SocketImpl 220 return "Socket[address=" + getInetAddress() +
|
H A D | ServerSocket.java | 160 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 D | DatagramSocket.java | 150 public InetAddress getInetAddress() { method in class:DatagramSocket 536 return new InetSocketAddress(getInetAddress(), getPort());
|
H A D | Socket.java | 324 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 D | OpenSSLSocketImplWrapper.java | 74 public InetAddress getInetAddress() { method in class:OpenSSLSocketImplWrapper 75 return socket.getInetAddress();
|
H A D | SSLSocketWrapper.java | 95 public InetAddress getInetAddress() { method in class:SSLSocketWrapper 96 return socket.getInetAddress();
|
H A D | SSLSocketImpl.java | 222 InetAddress inetAddress = super.getInetAddress();
|
H A D | ServerHandshakeImpl.java | 410 session.setPeer(socketOwner.getInetAddress().getHostName(), socketOwner.getPort());
|
H A D | OpenSSLSocketImpl.java | 470 InetAddress inetAddress = super.getInetAddress();
|
/libcore/support/src/test/java/tests/net/ |
H A D | StuckServer.java | 52 Socket client = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
|
/libcore/luni/src/main/java/java/nio/ |
H A D | DatagramChannelImpl.java | 499 * @see java.net.DatagramSocket#getInetAddress() 502 public InetAddress getInetAddress() { method in class:DatagramChannelImpl.DatagramSocketAdapter
|
/libcore/support/src/test/java/tests/http/ |
H A D | MockWebServer.java | 261 raw, raw.getInetAddress().getHostAddress(), raw.getPort(), true);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | SocketChannelTest.java | 374 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 D | ServerSocketChannelTest.java | 183 assertNull(s.getInetAddress());
|
H A D | DatagramChannelTest.java | 358 assertNull(s.getInetAddress()); 378 assertSame(s.getInetAddress(), localAddr1.getAddress());
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLSocketTest.java | 1132 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 D | NativeCryptoTest.java | 768 ? new Socket(listener.getInetAddress(),
|