Home
last modified time | relevance | path

Searched refs:getByName (Results 1 – 25 of 28) sorted by relevance

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DInet6AddressTest.java43 addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
48 addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
61 addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
67 addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
80 addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
85 addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
98 addr = InetAddress.getByName(addrName); in test_isAnyLocalAddress()
105 addr = InetAddress.getByName(addrName); in test_isAnyLocalAddress()
112 addr = InetAddress.getByName(addrName); in test_isAnyLocalAddress()
125 InetAddress addr = InetAddress.getByName(addrName); in test_isLoopbackAddress()
[all …]
DInet4AddressTest.java40 InetAddress addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
45 addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
50 addr = InetAddress.getByName(addrName); in test_isMulticastAddress()
58 assertTrue(InetAddress.getByName("0.0.0.0").isAnyLocalAddress()); in test_isAnyLocalAddress()
59 assertFalse(InetAddress.getByName("127.0.0.1").isAnyLocalAddress()); in test_isAnyLocalAddress()
68 InetAddress addr = InetAddress.getByName(addrName); in test_isLoopbackAddress()
74 addr = InetAddress.getByName(addrName); in test_isLoopbackAddress()
80 addr = InetAddress.getByName(addrName); in test_isLoopbackAddress()
96 InetAddress addr = InetAddress.getByName(addrName); in test_isLinkLocalAddress()
111 InetAddress addr = InetAddress.getByName(addrName); in test_isSiteLocalAddress()
[all …]
DInetAddressTest.java47 InetAddress.getByName("unknown.unknown.bad"); in test_getByNameUnknownHostException()
56 InetAddress ia1 = InetAddress.getByName("localhost"); in test_equalsLjava_lang_Object()
57 InetAddress ia2 = InetAddress.getByName("::1"); in test_equalsLjava_lang_Object()
67 InetAddress ia = InetAddress.getByName("127.0.0.1"); in test_getAddress()
126 InetAddress ia2 = InetAddress.getByName("127.0.0.1"); in test_getByNameLjava_lang_String()
129 InetAddress i = InetAddress.getByName("1.2.3"); in test_getByNameLjava_lang_String()
131 i = InetAddress.getByName("1.2"); in test_getByNameLjava_lang_String()
133 i = InetAddress.getByName(String.valueOf(0xffffffffL)); in test_getByNameLjava_lang_String()
141 assertEquals("1.2.3.4", InetAddress.getByName("1.2.3.4").getHostAddress()); in test_getHostAddress()
142 assertEquals("::1", InetAddress.getByName("::1").getHostAddress()); in test_getHostAddress()
[all …]
DInetAddressThreadTest.java85 InetAddress ia = InetAddress.getByName(lookupName); in run()
134 InetAddress lookup1 = InetAddress.getByName("localhost"); in test_getHostName()
136 InetAddress lookup2 = InetAddress.getByName("localhost"); in test_getHostName()
DNetworkInterfaceTest.java203 NetworkInterface.getByName(null)); in test_getByNameLjava_lang_String()
209 NetworkInterface.getByName("8not a name4")); in test_getByNameLjava_lang_String()
218 networkInterface1, NetworkInterface.getByName(theName)); in test_getByNameLjava_lang_String()
229 networkInterface2, NetworkInterface.getByName(theName)); in test_getByNameLjava_lang_String()
DMulticastSocketTest.java49 return InetAddress.getByName(s); in lookup()
282 mss.joinGroup(new InetSocketAddress(InetAddress.getByName("127.0.0.1"), 0), null); in test_joinGroup_non_multicast_address_IPv4()
292 mss.joinGroup(new InetSocketAddress(InetAddress.getByName("::1"), 0), null); in test_joinGroup_non_multicast_address_IPv6()
364 …nterface loopbackInterface = NetworkInterface.getByInetAddress(InetAddress.getByName("127.0.0.1")); in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
392 group = InetAddress.getByName("224.0.0.4"); in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
408 group = InetAddress.getByName("FF01:0:0:0:0:0:2:8001"); in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
506 mss.leaveGroup(new InetSocketAddress(InetAddress.getByName("127.0.0.1"), 0), null); in test_leaveGroup_non_multicast_address_IPv4()
516 mss.leaveGroup(new InetSocketAddress(InetAddress.getByName("::1"), 0), null); in test_leaveGroup_non_multicast_address_IPv6()
DDatagramSocketImplTest.java42 InetAddress localhost = InetAddress.getByName("localhost"); //$NON-NLS-1$ in test_connect()
DAuthenticatorTest.java106 .getByName("127.0.0.1"), 80, "HTTP", "", "", url, in test_requestPasswordAuthentication_String_InetAddress_int_String_String_String_URL_Authenticator_RequestorType()
DDatagramPacketTest.java151 InetAddress ia = InetAddress.getByName("127.0.0.1"); in test_setAddressLjava_net_InetAddress()
DSocketTest.java249 InetAddress address = InetAddress.getByName("localhost"); in test_bindLjava_net_SocketAddress_Proxy()
717 client.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0)); in test_getLocalAddress()
769 client.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0)); in test_getLocalSocketAddress()
775 client.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0)); in test_getLocalSocketAddress()
DDatagramSocketTest.java149 inetAddress = InetAddress.getByName("FE80:0000:0000:0000:020D:60FF:FE0F:A776%4"); in test_connectLjava_net_InetAddressI()
444 inetAddress = InetAddress.getByName("FE80:0000:0000:0000:020D:60FF:FE0F:A776%4"); in test_disconnect()
464 …assertEquals(InetAddress.getByName(InetAddress.getLocalHost().getHostName()), ds.getLocalAddress()… in test_getLocalAddress()
843 InetAddress i = InetAddress.getByName("127.0.0.1"); in test_sendLjava_net_DatagramPacket()
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
DProtocolVersionTest.java31 ProtocolVersion.getByName("SSLv3")); in testEquals()
33 ProtocolVersion.getByName("TLSv1")); in testEquals()
35 ProtocolVersion.getByName("TLSv1"))); in testEquals()
68 assertNull(ProtocolVersion.getByName("SSLv2")); in testGetByName()
69 assertEquals("SSLv3", ProtocolVersion.getByName("SSLv3").name); in testGetByName()
70 assertEquals("TLSv1", ProtocolVersion.getByName("TLSv1").name); in testGetByName()
/external/bouncycastle/src/main/java/org/bouncycastle/jce/
DECNamedCurveTable.java31 X9ECParameters ecP = X962NamedCurves.getByName(name); in getParameterSpec()
46 ecP = SECNamedCurves.getByName(name); in getParameterSpec()
80 ecP = NISTNamedCurves.getByName(name); in getParameterSpec()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketFactoriesTest.java157 InetAddress.getByName("localhost"), 0); in testSocketCreation()
165 InetAddress.getByName("localhost"), in testSocketCreation()
174 InetAddress.getByName("localhost"), in testSocketCreation()
176 InetAddress.getByName("localhost"), in testSocketCreation()
186 InetAddress.getByName("localhost"), in testSocketCreation()
DSSLSocketImplTest.java193 InetAddress.getByName("localhost"), in testSSLSocketImpl3()
252 InetAddress.getByName("localhost"), in testSSLSocketImpl4()
312 InetAddress.getByName("localhost"), in testSSLSocketImpl5()
314 InetAddress.getByName("localhost"), in testSSLSocketImpl5()
DCipherSuiteTest.java53 CipherSuite.getByName(suites[i].getName())); in testGetByName()
56 CipherSuite.getByName("SomeName")); in testGetByName()
/external/nist-sip/java/gov/nist/core/
DHost.java175 inetAddress = InetAddress.getByName(hostname); in getIpAddress()
272 inetAddress = InetAddress.getByName(hostname); in getInetAddress()
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/
DKeyPairGenerator.java177 X9ECParameters ecP = X962NamedCurves.getByName(curveName); in initialize()
180 ecP = SECNamedCurves.getByName(curveName); in initialize()
183 ecP = NISTNamedCurves.getByName(curveName); in initialize()
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/nist/
DNISTNamedCurves.java42 public static X9ECParameters getByName( in getByName() method in NISTNamedCurves
/external/nist-sip/java/gov/nist/javax/sip/stack/
DMessageChannel.java201 InetAddress hopAddr = InetAddress.getByName(hop.getHost()); in sendMessage()
261 InetAddress sourceInetAddress = InetAddress.getByName(sourceAddress); in getRawIpSourceAddress()
DSIPTransactionStack.java1819 this.stackInetAddress = InetAddress.getByName(stackAddress); in setHostAddress()
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x9/
DX962NamedCurves.java560 public static X9ECParameters getByName( in getByName() method in X962NamedCurves
/external/nist-sip/java/gov/nist/javax/sip/
DSipStackImpl.java1097 InetAddress inetAddr = InetAddress.getByName(address); in createListeningPoint()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DSerializationStressTest4.java1223 objToSave = java.net.InetAddress.getByName("127.0.0.1"); in test_writeObject_InetAddress()
1251 objToSave = java.net.Inet6Address.getByName("fe80::20d:60ff:fe24:7410"); in test_writeObject_Inet6Address()
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/sec/
DSECNamedCurves.java968 public static X9ECParameters getByName( in getByName() method in SECNamedCurves

12