Searched refs:getLoopbackAddress (Results 1 – 12 of 12) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 170 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()
|
D | DatagramChannelMulticastTest.java | 89 loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getLoopbackAddress()); in setUp()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 119 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/ |
D | Net.java | 188 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/ |
D | ServerSocket.java | 417 return InetAddress.getLoopbackAddress(); in getInetAddress() 753 in = InetAddress.getLoopbackAddress(); in toString()
|
D | InetAddress.java | 1166 public static InetAddress getLoopbackAddress() { in getLoopbackAddress() method in InetAddress
|
/libcore/ojluni/annotations/sdk/nullability/java/net/ |
D | InetAddress.annotated.java | 79 @libcore.util.NonNull public static java.net.InetAddress getLoopbackAddress() { throw new RuntimeEx… in getLoopbackAddress() method in InetAddress
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | InetAddress.annotated.java | 84 public static java.net.InetAddress getLoopbackAddress() { throw new RuntimeException("Stub!"); } in getLoopbackAddress() method in InetAddress
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | InetAddress.java | 153 public static java.net.InetAddress getLoopbackAddress() { in getLoopbackAddress() method in InetAddress
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 192 InetSocketAddress addr = new InetSocketAddress(InetAddress.getLoopbackAddress(), port); in getLoopbackAsHostname()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 360 assertTrue(InetAddress.getLoopbackAddress().isLoopbackAddress()); in test_getLoopbackAddress()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | MulticastSocketTest.java | 81 loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getLoopbackAddress()); in setUp()
|