Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java170 ssc.socket().bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0), 5); in bind_loopback()
180 new InetSocketAddress(InetAddress.getLoopbackAddress(), boundAddress.getPort()); in bind_loopback()
214 ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0)); in bind_socketAddress()
215 assertEquals(InetAddress.getLoopbackAddress(), in bind_socketAddress()
220 ssc.bind(new InetSocketAddress(InetAddress.getLoopbackAddress(), in bind_socketAddress()
DDatagramChannelMulticastTest.java89 loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getLoopbackAddress()); in setUp()
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java119 InetAddress[] addresses = new InetAddress[] { InetAddress.getLoopbackAddress() }; in test_android_getaddrinfo_networkPolicy()
201 blockGuardOs.connect(udpSocket, InetAddress.getLoopbackAddress(), 0); in test_connect_networkPolicy()
211 blockGuardOs.connect(tcpSocket, InetAddress.getLoopbackAddress(), 0); in test_connect_networkPolicy()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNet.java188 addr = getLoopbackAddress(addr.getPort()); in getRevealedLocalAddress()
195 getLoopbackAddress(addr.getPort()).toString(); in getRevealedLocalAddressAsString()
198 private static InetSocketAddress getLoopbackAddress(int port) { in getLoopbackAddress() method in Net
199 return new InetSocketAddress(InetAddress.getLoopbackAddress(), in getLoopbackAddress()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java417 return InetAddress.getLoopbackAddress(); in getInetAddress()
753 in = InetAddress.getLoopbackAddress(); in toString()
DInetAddress.java1166 public static InetAddress getLoopbackAddress() { in getLoopbackAddress() method in InetAddress
/libcore/ojluni/annotations/sdk/nullability/java/net/
DInetAddress.annotated.java79 @libcore.util.NonNull public static java.net.InetAddress getLoopbackAddress() { throw new RuntimeEx… in getLoopbackAddress() method in InetAddress
/libcore/ojluni/annotations/mmodule/java/net/
DInetAddress.annotated.java84 public static java.net.InetAddress getLoopbackAddress() { throw new RuntimeException("Stub!"); } in getLoopbackAddress() method in InetAddress
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetAddress.java153 public static java.net.InetAddress getLoopbackAddress() { in getLoopbackAddress() method in InetAddress
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java192 InetSocketAddress addr = new InetSocketAddress(InetAddress.getLoopbackAddress(), port); in getLoopbackAsHostname()
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java360 assertTrue(InetAddress.getLoopbackAddress().isLoopbackAddress()); in test_getLoopbackAddress()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java81 loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getLoopbackAddress()); in setUp()