/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
Inet4AddressTest.java | 40 InetAddress addr = InetAddress.getByName(addrName); 45 addr = InetAddress.getByName(addrName); 50 addr = InetAddress.getByName(addrName); 58 assertTrue(InetAddress.getByName("0.0.0.0").isAnyLocalAddress()); 59 assertFalse(InetAddress.getByName("127.0.0.1").isAnyLocalAddress()); 68 InetAddress addr = InetAddress.getByName(addrName); 74 addr = InetAddress.getByName(addrName); 80 addr = InetAddress.getByName(addrName); 96 InetAddress addr = InetAddress.getByName(addrName); 111 InetAddress addr = InetAddress.getByName(addrName) [all...] |
Inet6AddressTest.java | 44 addr = InetAddress.getByName(addrName); 49 addr = InetAddress.getByName(addrName); 62 addr = InetAddress.getByName(addrName); 68 addr = InetAddress.getByName(addrName); 81 addr = InetAddress.getByName(addrName); 86 addr = InetAddress.getByName(addrName); 99 addr = InetAddress.getByName(addrName); 106 addr = InetAddress.getByName(addrName); 113 addr = InetAddress.getByName(addrName); 126 InetAddress addr = InetAddress.getByName(addrName) [all...] |
InetAddressTest.java | 37 * java.net.InetAddress#getByName(String) 42 InetAddress.getByName("1.2.3.4hello"); 50 InetAddress ia1 = InetAddress.getByName("ip6-localhost"); 51 InetAddress ia2 = InetAddress.getByName("::1"); 61 InetAddress ia = InetAddress.getByName("127.0.0.1"); 118 assertEquals("1.2.3.4", InetAddress.getByName("1.2.3.4").getHostAddress()); 119 assertEquals("::1", InetAddress.getByName("::1").getHostAddress()); 153 InetAddress ia2 = InetAddress.getByName("239.255.255.255"); 155 ia2 = InetAddress.getByName("localhost"); 163 InetAddress ia2 = InetAddress.getByName("239.255.255.255") [all...] |
InetAddressThreadTest.java | 34 * functions in the VM to make sure they're threadsafe. getByName will cause 85 InetAddress ia = InetAddress.getByName(lookupName); 134 InetAddress lookup1 = InetAddress.getByName("localhost"); 136 InetAddress lookup2 = InetAddress.getByName("localhost");
|
/libcore/luni/src/test/java/libcore/java/net/ |
InetAddressTest.java | 151 // Strange special cases, for compatibility with InetAddress.getByName. 208 assertFalse(InetAddress.getByName("127.0.0.1").isLinkLocalAddress()); 209 assertFalse(InetAddress.getByName("::ffff:127.0.0.1").isLinkLocalAddress()); 210 assertTrue(InetAddress.getByName("169.254.1.2").isLinkLocalAddress()); 212 assertFalse(InetAddress.getByName("fec0::").isLinkLocalAddress()); 213 assertTrue(InetAddress.getByName("fe80::").isLinkLocalAddress()); 218 assertFalse(InetAddress.getByName("239.254.255.255").isMCSiteLocal()); 219 assertTrue(InetAddress.getByName("239.255.0.0").isMCSiteLocal()); 220 assertTrue(InetAddress.getByName("239.255.255.255").isMCSiteLocal()); 221 assertFalse(InetAddress.getByName("240.0.0.0").isMCSiteLocal()) [all...] |
InetSocketAddressTest.java | 59 InetAddress ia = InetAddress.getByName(validIPAddresses[i]); 69 new InetSocketAddress(InetAddress.getByName("localhost"), 65536); 75 new InetSocketAddress(InetAddress.getByName("localhost"), -1); 106 InetAddress localhost = InetAddress.getByName("localhost"); 121 InetAddress ia = InetAddress.getByName(validIPAddresses[i]); 130 InetAddress localhost = InetAddress.getByName("localhost"); 182 inetAddress = InetAddress.getByName("127.0.0.1");
|
MulticastSocketTest.java | 37 testGroupReceive(InetAddress.getByName("239.1.1.1")); 41 testGroupReceive(InetAddress.getByName("ff05::1:1"));
|
/frameworks/base/tests/net/java/android/net/netlink/ |
ConntrackMessageTest.java | 114 (Inet4Address) InetAddress.getByName("192.168.43.209"), 44333, 115 (Inet4Address) InetAddress.getByName("23.211.13.26"), 443, 126 (Inet4Address) InetAddress.getByName("100.96.167.146"), 37069, 127 (Inet4Address) InetAddress.getByName("216.58.197.10"), 443,
|
/libcore/benchmarks/src/benchmarks/regression/ |
DnsBenchmark.java | 43 InetAddress.getByName(hosts[i % hosts.length]);
|
/cts/tests/tests/net/src/android/net/rtp/cts/ |
AudioStreamTest.java | 42 testRtpStream(InetAddress.getByName("127.0.0.1")); 46 testRtpStream(InetAddress.getByName("::1")); 50 AudioStream stream = new AudioStream(InetAddress.getByName("::1")); 73 AudioStream stream = new AudioStream(InetAddress.getByName("::1")); 90 AudioStream stream = new AudioStream(InetAddress.getByName("::1"));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
ECNamedCurveTable.java | 29 public static X9ECParameters getByName( 32 X9ECParameters ecP = X962NamedCurves.getByName(name); 36 ecP = SECNamedCurves.getByName(name); 41 ecP = NISTNamedCurves.getByName(name); 47 // ecP = TeleTrusTNamedCurves.getByName(name); 52 // ecP = ANSSINamedCurves.getByName(name);
|
/external/guava/guava-tests/test/com/google/common/net/ |
InetAddressesTest.java | 131 ipv4Addr = InetAddress.getByName(ipStr); 140 ipv6Addr = InetAddress.getByName(ipStr); 156 ipv6Addr = InetAddress.getByName(eightColons[i]); 168 InetAddress ipv6Addr = InetAddress.getByName(ipString); 391 assertEquals(InetAddress.getByName("192.168.0.1"), mapped); 398 assertEquals(InetAddress.getByName("192.168.0.1"), mapped); 404 assertEquals(InetAddress.getByName("1.2.3.4"), mapped); 410 assertEquals(InetAddress.getByName("1.2.3.4"), mapped); 670 InetAddress address = InetAddress.getByName("255.255.255.254"); 673 address = InetAddress.getByName("255.255.255.255") [all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/ |
PortParserTest.groovy | 38 static final HOST_IPV4 = InetAddress.getByName("132.235.1.2")
40 static final HOST_IPV6 = InetAddress.getByName("1080::8:800:200C:417A")
100 InetAddress host = InetAddress.getByName("196.168.44.55")
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
EprtCommandHandlerTest.groovy | 33 static final HOST_IPV4 = InetAddress.getByName("132.235.1.2") 35 static final HOST_IPV6 = InetAddress.getByName("1080::8:800:200C:417A")
|
EpsvCommandHandlerTest.groovy | 32 static final SERVER = InetAddress.getByName("1080::8:800:200C:417A")
|
PortCommandHandlerTest.groovy | 35 static final HOST = InetAddress.getByName("11.22.33.44")
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
ECNamedCurveTable.java | 24 X9ECParameters ecP = org.bouncycastle.crypto.ec.CustomNamedCurves.getByName(name); 38 ecP = org.bouncycastle.asn1.x9.ECNamedCurveTable.getByName(name);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoNetworkStatePermissionTest.java | 92 InetAddress.getByName("www.google.com");
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
ExecutionDataClient.java | 48 final Socket socket = new Socket(InetAddress.getByName(ADDRESS), PORT);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpSessionHeadersTest.java | 62 InetAddress inetAddress = InetAddress.getByName(ipAddress);
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/ |
ExecDumpClientTest.java | 137 InetAddress.getByName(null)); 144 server = new ServerSocket(0, 0, InetAddress.getByName(null)); 178 server = new ServerSocket(0, 0, InetAddress.getByName(null));
|
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
DumpTest.java | 93 serverSocket = new ServerSocket(0, 0, InetAddress.getByName(null)); 125 InetAddress.getByName(null));
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/test/ |
AbstractGroovyTestCase.groovy | 95 * {@link InetAddress#getByName(String)} method. 100 return InetAddress.getByName(host);
|
/external/nist-sip/java/gov/nist/core/ |
Host.java | 175 inetAddress = InetAddress.getByName(hostname); 272 inetAddress = InetAddress.getByName(hostname);
|
/frameworks/support/buildSrc/src/main/groovy/android/support/ |
SupportLibraryMavenUploader.groovy | 30 Upload uploadTask = (Upload) project.getTasks().getByName("uploadArchives");
|