HomeSort by relevance Sort by last modified time
    Searched refs:getByName (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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 43 addr = InetAddress.getByName(addrName);
48 addr = InetAddress.getByName(addrName);
61 addr = InetAddress.getByName(addrName);
67 addr = InetAddress.getByName(addrName);
80 addr = InetAddress.getByName(addrName);
85 addr = InetAddress.getByName(addrName);
98 addr = InetAddress.getByName(addrName);
105 addr = InetAddress.getByName(addrName);
112 addr = InetAddress.getByName(addrName);
125 InetAddress addr = InetAddress.getByName(addrName)
    [all...]
InetAddressTest.java 39 * @tests java.net.InetAddress#getByName(String)
47 InetAddress.getByName("unknown.unknown.bad");
56 InetAddress ia1 = InetAddress.getByName("localhost");
57 InetAddress ia2 = InetAddress.getByName("::1");
67 InetAddress ia = InetAddress.getByName("127.0.0.1");
121 * @tests java.net.InetAddress#getByName(java.lang.String)
125 // java.net.InetAddress.getByName(java.lang.String)
126 InetAddress ia2 = InetAddress.getByName("127.0.0.1");
129 InetAddress i = InetAddress.getByName("1.2.3");
131 i = InetAddress.getByName("1.2")
    [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");
  /frameworks/base/tests/CoreTests/android/core/
InetAddrTest.java 43 InetAddress ia = InetAddress.getByName("localhost");
52 ia = InetAddress.getByName("127.0.0.1");
61 ia = InetAddress.getByName(null);
64 InetAddress.getByName(".0.0.1");
71 InetAddress.getByName("thereisagoodchancethisdomaindoesnotexist.weirdtld");
78 InetAddress.getByName("127.0.0.");
89 InetAddress.getByName(HOSTS[index]);
  /libcore/luni/src/test/java/libcore/java/net/
InetAddressTest.java 98 // Strange special cases, for compatibility with InetAddress.getByName.
115 assertFalse(InetAddress.getByName("127.0.0.1").isLinkLocalAddress());
116 assertTrue(InetAddress.getByName("169.254.1.2").isLinkLocalAddress());
118 assertFalse(InetAddress.getByName("fec0::").isLinkLocalAddress());
119 assertTrue(InetAddress.getByName("fe80::").isLinkLocalAddress());
123 assertFalse(InetAddress.getByName("239.254.255.255").isMCSiteLocal());
124 assertTrue(InetAddress.getByName("239.255.0.0").isMCSiteLocal());
125 assertTrue(InetAddress.getByName("239.255.255.255").isMCSiteLocal());
126 assertFalse(InetAddress.getByName("240.0.0.0").isMCSiteLocal());
128 assertFalse(InetAddress.getByName("ff06::").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");
NetworkInterfaceTest.java 29 NetworkInterface lo = NetworkInterface.getByName("lo");
41 NetworkInterface lo = NetworkInterface.getByName("lo");
48 NetworkInterface eth0 = NetworkInterface.getByName("eth0");
OldDatagramPacketTest.java 49 DatagramPacket packet = new DatagramPacket(bytes, 6, InetAddress.getByName("localhost"), ss.getLocalPort());
  /external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
ProtocolVersionTest.java 31 ProtocolVersion.getByName("SSLv3"));
33 ProtocolVersion.getByName("TLSv1"));
35 ProtocolVersion.getByName("TLSv1")));
68 assertNull(ProtocolVersion.getByName("SSLv2"));
69 assertEquals("SSLv3", ProtocolVersion.getByName("SSLv3").name);
70 assertEquals("TLSv1", ProtocolVersion.getByName("TLSv1").name);
  /frameworks/compile/linkloader/include/
ELFSectionSymTab.h 62 ELFSymbolTy const *getByName(std::string const &name) const;
64 ELFSymbolTy *getByName(std::string const &name) {
66 const_cast<ELFSectionSymTabTy const *>(this)->getByName(name));
ELFSectionHeaderTable.h 57 ELFSectionHeaderTy const *getByName(const std::string &name) const;
58 ELFSectionHeaderTy *getByName(const std::string &name);
  /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/jce/
ECNamedCurveTable.java 31 X9ECParameters ecP = X962NamedCurves.getByName(name);
46 ecP = SECNamedCurves.getByName(name);
63 // ecP = TeleTrusTNamedCurves.getByName(name);
80 ecP = NISTNamedCurves.getByName(name);
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
ProtocolVersion.java 81 public static ProtocolVersion getByName(String name) {
95 ProtocolVersion latest = getByName(protocols[0]);
98 current = getByName(protocols[i]);
  /frameworks/compile/linkloader/include/impl/
ELFSectionHeaderTable.hxx 98 ELFSectionHeaderTable<Bitwidth>::getByName(const std::string &name) const {
110 ELFSectionHeaderTable<Bitwidth>::getByName(const std::string &name) {
112 ELFSectionHeaderTy const *shptr = const_this->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);
369 assertEquals(InetAddress.getByName("192.168.0.1"), mapped);
376 assertEquals(InetAddress.getByName("192.168.0.1"), mapped);
382 assertEquals(InetAddress.getByName("1.2.3.4"), mapped);
388 assertEquals(InetAddress.getByName("1.2.3.4"), mapped);
648 InetAddress address = InetAddress.getByName("255.255.255.254");
651 address = InetAddress.getByName("255.255.255.255")
    [all...]
  /tools/build/gradle/src/main/groovy/com/android/build/gradle/
AndroidPlugin.groovy 85 project.tasks.remove(project.tasks.getByName("${buildType.name}Classes"))
86 project.tasks.remove(project.tasks.getByName("compile${buildType.name.capitalize()}Java"))
87 project.tasks.remove(project.tasks.getByName("process${buildType.name.capitalize()}Resources"))
108 project.tasks.remove(project.tasks.getByName("${productFlavor.name}Classes"))
109 project.tasks.remove(project.tasks.getByName("compile${productFlavor.name.capitalize()}Java"))
110 project.tasks.remove(project.tasks.getByName("process${productFlavor.name.capitalize()}Resources"))
111 project.tasks.remove(project.tasks.getByName("${testName}Classes"))
112 project.tasks.remove(project.tasks.getByName("compile${testName.capitalize()}Java"))
113 project.tasks.remove(project.tasks.getByName("process${testName.capitalize()}Resources"))
AndroidLibraryPlugin.groovy 55 project.tasks.remove(project.tasks.getByName("debugClasses"))
56 project.tasks.remove(project.tasks.getByName("compileDebugJava"))
57 project.tasks.remove(project.tasks.getByName("processDebugResources"))
58 project.tasks.remove(project.tasks.getByName("releaseClasses"))
59 project.tasks.remove(project.tasks.getByName("compileReleaseJava"))
60 project.tasks.remove(project.tasks.getByName("processReleaseResources"))
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
CipherSuiteTest.java 33 assertNull(CipherSuite.getByName(name));
39 assertNull(CipherSuite.getByName("bogus"));
41 CipherSuite.getByName(null);
48 CipherSuite cs = CipherSuite.getByName(name);
59 assertSame(name, cs, CipherSuite.getByName(name));
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/
Network.java 164 InetAddress remoteAddress = InetAddress.getByName(host);
181 connectToServer( InetAddress.getByName(host), port, remoteUdpPort );
  /external/nist-sip/java/gov/nist/core/
Host.java 175 inetAddress = InetAddress.getByName(hostname);
272 inetAddress = InetAddress.getByName(hostname);
  /frameworks/compile/libbcc/lib/ExecutionEngine/
ELFObjectLoaderImpl.cpp 107 const ELFSymbol<32> *symbol = mSymTab->getByName(pName);
122 const ELFSymbol<32> *symbol = mSymTab->getByName(pName);
  /cts/tests/tests/permission/src/android/permission/cts/
NoNetworkStatePermissionTest.java 173 InetAddress.getByName("www.google.com");
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSocketFactoriesTest.java 157 InetAddress.getByName("localhost"), 0);
165 InetAddress.getByName("localhost"),
174 InetAddress.getByName("localhost"),
176 InetAddress.getByName("localhost"),
186 InetAddress.getByName("localhost"),

Completed in 326 milliseconds

1 2 3 4 5