Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/net/InetAddress/
DGetLoopbackAddress.java53 InetAddress addr = InetAddress.getLoopbackAddress(); in testLoopbackAddresses()
60 InetAddress addr2 = InetAddress.getLoopbackAddress(); in testLoopbackAddresses()
/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/test/java/net/InetSocketAddress/
DToString.java49 InetAddress loopback = InetAddress.getLoopbackAddress();
/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.java439 return InetAddress.getLoopbackAddress(); in getInetAddress()
777 in = InetAddress.getLoopbackAddress(); in toString()
DInetAddress.java1166 public static InetAddress getLoopbackAddress() { in getLoopbackAddress() method in InetAddress
DSocket.java784 in = InetAddress.getLoopbackAddress(); in getLocalAddress()
/libcore/ojluni/src/test/java/io/Serializable/records/
DBasicRecordSer.java48 import static java.net.InetAddress.getLoopbackAddress;
118 new Object[] { new Cheese(getLoopbackAddress(), BigInteger.valueOf(78)) }, in serializable()
/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.java374 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()
/libcore/api/
Dcurrent.txt5730 method @NonNull public static java.net.InetAddress getLoopbackAddress();