/libcore/luni/src/test/java/libcore/java/net/ |
D | ServerSocketTest.java | 51 new Socket(ss.getInetAddress(), ss.getLocalPort()).close(); in testTimeoutAfterAccept() 64 assertNull(ss.getInetAddress()); in testInitialState() 80 assertEquals(boundAddress.getAddress(), ss.getInetAddress()); in testStateAfterClose()
|
D | SocketTest.java | 151 assertEquals(inLocalAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses() 152 assertEquals(inRemoteAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses() 153 assertEquals(outLocalAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses() 154 assertEquals(outRemoteAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses() 361 assertNull(s.getInetAddress()); in testInitialState()
|
D | OldSocketTest.java | 203 assertTrue("Returned incorrect InetAddress", s.getInetAddress().equals( in test_getInetAddress() 630 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_shutdownOutput() 733 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isBound() 767 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isConnected() 789 Socket theSocket = new Socket(serverSocket.getInetAddress(), in test_isClosed() 798 theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isClosed() 1967 new InetSocketAddress(ss.getInetAddress(), ss.getLocalPort())); in test_getOutputStream_shutdownOutput()
|
D | DatagramSocketTest.java | 50 assertNull(ds.getInetAddress()); in testInitialState()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ServerSocket.java | 407 public InetAddress getInetAddress() { in getInetAddress() method in ServerSocket 411 InetAddress in = getImpl().getInetAddress(); in getInetAddress() 478 return new InetSocketAddress(getInetAddress(), getLocalPort()); in getLocalSocketAddress() 551 security.checkAccept(si.getInetAddress().getHostAddress(), in implAccept() 755 in = impl.getInetAddress(); in toString()
|
D | SocketImpl.java | 244 protected InetAddress getInetAddress() { in getInetAddress() method in SocketImpl 313 return "Socket[addr=" + getInetAddress() + in toString()
|
D | Socket.java | 720 public InetAddress getInetAddress() { in getInetAddress() method in Socket 724 return getImpl().getInetAddress(); in getInetAddress() 828 return new InetSocketAddress(getInetAddress(), getPort()); in getRemoteSocketAddress() 1613 return "Socket[address=" + getImpl().getInetAddress() + in toString()
|
D | DatagramSocket.java | 578 public InetAddress getInetAddress() { in getInetAddress() method in DatagramSocket 615 return new InetSocketAddress(getInetAddress(), getPort()); in getRemoteSocketAddress()
|
D | SocksSocketImpl.java | 1049 protected InetAddress getInetAddress() { in getInetAddress() method in SocksSocketImpl 1053 return super.getInetAddress(); in getInetAddress()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 80 public InetAddress getInetAddress() { in getInetAddress() method in ServerSocketAdaptor 180 return "ServerSocket[addr=" + getInetAddress() + in toString()
|
D | SocketAdaptor.java | 150 public InetAddress getInetAddress() { in getInetAddress() method in SocketAdaptor 432 return "Socket[addr=" + getInetAddress() + in toString()
|
D | DatagramSocketAdaptor.java | 127 public InetAddress getInetAddress() { in getInetAddress() method in DatagramSocketAdaptor
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | SocketImpl.annotated.java | 68 protected java.net.InetAddress getInetAddress() { throw new RuntimeException("Stub!"); } in getInetAddress() method in SocketImpl
|
D | ServerSocket.annotated.java | 47 public java.net.InetAddress getInetAddress() { throw new RuntimeException("Stub!"); } in getInetAddress() method in ServerSocket
|
D | DatagramSocket.annotated.java | 58 public java.net.InetAddress getInetAddress() { throw new RuntimeException("Stub!"); } in getInetAddress() method in DatagramSocket
|
D | Socket.annotated.java | 64 public java.net.InetAddress getInetAddress() { throw new RuntimeException("Stub!"); } in getInetAddress() method in Socket
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | SocksSocketImpl.java | 102 protected java.net.InetAddress getInetAddress() { in getInetAddress() method in SocksSocketImpl
|
D | ServerSocket.java | 78 public java.net.InetAddress getInetAddress() { in getInetAddress() method in ServerSocket
|
D | SocketImpl.java | 78 protected java.net.InetAddress getInetAddress() { in getInetAddress() method in SocketImpl
|
D | DatagramSocket.java | 99 public java.net.InetAddress getInetAddress() { in getInetAddress() method in DatagramSocket
|
D | Socket.java | 137 public java.net.InetAddress getInetAddress() { in getInetAddress() method in Socket
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | FdsanTest.java | 118 Socket client = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in testSocket()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 153 assertEquals("Incorrect InetAddress", inetAddress, ds.getInetAddress()); in test_connectLjava_net_InetAddressI() 162 assertEquals(inetAddress, ds.getInetAddress()); in test_connectLjava_net_InetAddressI() 333 assertNull("Incorrect InetAddress", ds.getInetAddress()); in test_disconnect() 342 assertNull("Incorrect InetAddress", ds.getInetAddress()); in test_disconnect()
|
D | SocketTest.java | 84 host = socket.getInetAddress().getHostName(); in run() 666 assertTrue("Returned incorrect InetAdrees", client.getInetAddress() in test_getInetAddress() 1026 .getInetAddress(), server.getLocalPort()); in test_isBound() 1105 .getInetAddress(), server.getLocalPort()); in test_isConnected()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 60 assertNull(socket.getInetAddress()); in test_open_initialState()
|