Home
last modified time | relevance | path

Searched refs:getLoopbackAddress (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java111 ssc.socket().bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0)); in test_bind_loopback()
121 new InetSocketAddress(InetAddress.getLoopbackAddress(), boundAddress.getPort()); in test_bind_loopback()
144 ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0)); in test_bind$SocketAddress()
145 assertEquals(InetAddress.getLoopbackAddress(), in test_bind$SocketAddress()
150 ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), in test_bind$SocketAddress()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNet.java217 addr = getLoopbackAddress(addr.getPort()); in getRevealedLocalAddress()
225 addr = getLoopbackAddress(addr.getPort()); in getRevealedLocalAddressAsString()
249 private static InetSocketAddress getLoopbackAddress(int port) { in getLoopbackAddress() method in Net
250 return new InetSocketAddress(InetAddress.getLoopbackAddress(), in getLoopbackAddress()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java411 return InetAddress.getLoopbackAddress(); in getInetAddress()
731 in = InetAddress.getLoopbackAddress(); in toString()
DInetAddress.java766 public static InetAddress getLoopbackAddress() { in getLoopbackAddress() method in InetAddress
DSocket.java713 in = InetAddress.getLoopbackAddress(); in getLocalAddress()
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java221 assertTrue(InetAddress.getLoopbackAddress().isLoopbackAddress()); in test_getLoopbackAddress()
DURLConnectionTest.java2891 new URL("https://[" + Inet6Address.getLoopbackAddress().getHostAddress() + "]:"
2906 assertEquals("[" + Inet6Address.getLoopbackAddress().getHostAddress() + "]",
/libcore/support/src/test/java/tests/http/
DMockWebServer.java90 return InetAddress.getLoopbackAddress().getHostName(); in getHostName()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java192 InetSocketAddress addr = new InetSocketAddress(InetAddress.getLoopbackAddress(), port); in getLoopbackAsHostname()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java64 loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getLoopbackAddress()); in setUp()