/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 205 DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK)) { in testConnect_echoServer() 208 ds.connect(Inet6Address.LOOPBACK, server.getPort()); in testConnect_echoServer() 220 assertEquals(Inet6Address.LOOPBACK, receive.getAddress()); in testConnect_echoServer() 227 DatagramServer s1 = new DatagramServer(Inet6Address.LOOPBACK); in testConnect_throwsOnAddressMismatch() 228 DatagramServer s2 = new DatagramServer(Inet6Address.LOOPBACK)) { in testConnect_throwsOnAddressMismatch() 230 ds.connect(Inet6Address.LOOPBACK, s1.getPort()); in testConnect_throwsOnAddressMismatch() 232 ds.send(new DatagramPacket(new byte[10], 10, Inet6Address.LOOPBACK, s2.getPort())); in testConnect_throwsOnAddressMismatch() 243 DatagramServer server = new DatagramServer(Inet6Address.LOOPBACK); in testConnect_connectDisconnectConnectThenSendRecv() 244 DatagramServer broken = new DatagramServer(Inet6Address.LOOPBACK, false)) { in testConnect_connectDisconnectConnectThenSendRecv() 249 ds.connect(Inet6Address.LOOPBACK, broken.getPort()); in testConnect_connectDisconnectConnectThenSendRecv() [all …]
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 370 assertTrue(Inet4Address.LOOPBACK.equals(Inet4Address.LOOPBACK)); in test_equals() 382 assertEquals("127.0.0.1", Inet4Address.LOOPBACK.getHostAddress()); in test_getHostAddress() 549 createSet(Inet4Address.LOOPBACK, Inet6Address.LOOPBACK); in test_getByName_v6loopback() 574 createSet(Inet4Address.LOOPBACK, Inet6Address.LOOPBACK); in test_getAllByName_null() 582 assertEquals("ip6-localhost", getHostStringWithoutReverseDns(Inet6Address.LOOPBACK)); in test_loopbackConstantsPreInitializedNames() 583 assertEquals("localhost", getHostStringWithoutReverseDns(Inet4Address.LOOPBACK)); in test_loopbackConstantsPreInitializedNames()
|
D | SocketTest.java | 609 for (InetAddress addr : new InetAddress[]{ Inet4Address.LOOPBACK, Inet6Address.LOOPBACK }) { 633 && addrs.contains(Inet4Address.LOOPBACK) && addrs.contains(Inet6Address.LOOPBACK));
|
D | NetworkInterfaceTest.java | 63 expected.add(Inet4Address.LOOPBACK); in testIPv6()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | MembershipKeyTest.java | 40 private InetAddress sourceAddress = Inet4Address.LOOPBACK; 108 .bind(new InetSocketAddress(Inet4Address.LOOPBACK, 0)) in check_drop() 174 .bind(new InetSocketAddress(Inet4Address.LOOPBACK, 0)) in test_blockWithJoinWithoutSource() 196 key.block(Inet6Address.LOOPBACK); in test_block_Exception() 223 .bind(new InetSocketAddress(Inet4Address.LOOPBACK, 0)) in test_unblockWithJoinWithoutSource()
|
D | DatagramChannelTest.java | 197 InetSocketAddress socketAddress = new InetSocketAddress(Inet4Address.LOOPBACK, 0); in test_bind() 210 socketAddress = new InetSocketAddress(Inet4Address.LOOPBACK, in test_bind() 218 socketAddress = new InetSocketAddress(Inet4Address.LOOPBACK, 0); in test_bind() 226 InetSocketAddress socketAddress = new InetSocketAddress(Inet4Address.LOOPBACK, 0); in test_getRemoteAddress() 243 channel.bind(new InetSocketAddress(Inet4Address.LOOPBACK, 0)); in test_open$java_net_ProtocolFamily()
|
D | SocketChannelTest.java | 309 InetSocketAddress socketAddress = new InetSocketAddress(Inet4Address.LOOPBACK, 0); in test_bind() 322 socketAddress = new InetSocketAddress(Inet4Address.LOOPBACK, in test_bind() 331 socketAddress = new InetSocketAddress(Inet4Address.LOOPBACK, 0); in test_bind()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Inet4Address.java | 127 public static final java.net.InetAddress LOOPBACK; field in Inet4Address 130 LOOPBACK = null;
|
D | Inet6Address.java | 197 public static final java.net.InetAddress LOOPBACK; field in Inet6Address 200 LOOPBACK = null;
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | Inet4Address.annotated.java | 77 public static final java.net.InetAddress LOOPBACK; field in Inet4Address 78 static { LOOPBACK = null; }
|
D | Inet6Address.annotated.java | 81 public static final java.net.InetAddress LOOPBACK; field in Inet6Address 82 static { LOOPBACK = null; }
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | SecurityManagerTest.java | 164 sm.checkMulticast(Inet4Address.LOOPBACK); in testCheckMulticast() 169 sm.checkMulticast(Inet4Address.LOOPBACK, (byte) 0); in testCheckMulticastWithTtl()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6AddressImpl.java | 331 loopbackAddresses = new InetAddress[]{Inet6Address.LOOPBACK, Inet4Address.LOOPBACK}; in loopbackAddresses()
|
D | Inet4Address.java | 118 public static final InetAddress LOOPBACK = field in Inet4Address
|
D | InetAddress.java | 1638 return Inet6Address.LOOPBACK; in parseNumericAddress()
|
D | Inet6Address.java | 203 public static final InetAddress LOOPBACK = new Inet6Address("ip6-localhost", field in Inet6Address
|
/libcore/luni/src/test/java/libcore/libcore/net/http/ |
D | HttpURLConnectionFactoryTest.java | 76 List.of(Inet4Address.ANY, Inet6Address.LOOPBACK); in testDns()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | DatagramChannelTest.java | 78 channel1.socket().bind(new InetSocketAddress(Inet6Address.LOOPBACK, 0)); in setUp() 79 channel2.socket().bind(new InetSocketAddress(Inet6Address.LOOPBACK, 0)); in setUp() 84 this.datagramSocket1 = new DatagramSocket(0, Inet6Address.LOOPBACK); in setUp() 85 this.datagramSocket2 = new DatagramSocket(0, Inet6Address.LOOPBACK); in setUp() 1291 assertEquals(senderAddr.getAddress(), Inet6Address.LOOPBACK); in receiveOnChannel1AndClose() 2530 dc.bind(new InetSocketAddress(Inet6Address.LOOPBACK, 0)); in test_concurrentShutdown()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 662 s.send(new DatagramPacket(packet, 0, packet.length, Inet4Address.LOOPBACK, in test_PacketSocketAddress() 672 s.send(new DatagramPacket(packet, 0, packet.length, Inet6Address.LOOPBACK, in test_PacketSocketAddress() 688 assertArrayEquals(Inet6Address.LOOPBACK.getAddress(), sourceAddress); in test_PacketSocketAddress() 691 assertArrayEquals(Inet6Address.LOOPBACK.getAddress(), destAddress); in test_PacketSocketAddress()
|
/libcore/mmodules/core_platform_api/api/stable_platform/ |
D | current.txt | 412 field public static final java.net.InetAddress LOOPBACK; 417 field public static final java.net.InetAddress LOOPBACK;
|
/libcore/mmodules/core_platform_api/api/legacy_platform/ |
D | current.txt | 412 field public static final java.net.InetAddress LOOPBACK; 417 field public static final java.net.InetAddress LOOPBACK;
|
/libcore/api/ |
D | module-lib-current.txt | 412 field public static final java.net.InetAddress LOOPBACK; 417 field public static final java.net.InetAddress LOOPBACK;
|