Home
last modified time | relevance | path

Searched defs:host (Results 1 – 25 of 70) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineTest.java95 String host = "new host"; in test_ConstructorLjava_lang_StringI02() local
98 assertEquals(e.getPeerHost(), host); in test_ConstructorLjava_lang_StringI02() local
327 String host = "new host"; in test_unwrap_02() local
363 String host = "new host"; in test_unwrap_03() local
385 String host = "new host"; in test_unwrap_04() local
423 String host = "new host"; in test_unwrap_05() local
442 String host = "new host"; in test_unwrap_06() local
469 String host = "new host"; in test_wrap_02() local
504 String host = "new host"; in test_wrap_03() local
524 String host = "new host"; in test_wrap_04() local
[all …]
/libcore/ojluni/src/main/java/javax/net/
DSocketFactory.java162 public abstract Socket createSocket(String host, int port) in createSocket()
194 createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
220 public abstract Socket createSocket(InetAddress host, int port) in createSocket()
275 public Socket createSocket(String host, int port) in createSocket()
287 public Socket createSocket(String host, int port, in createSocket()
/libcore/support/src/test/java/tests/net/
DDelegatingSSLSocketFactory.java65 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
72 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
78 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
85 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
DDelegatingSocketFactory.java53 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
59 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
66 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java566 String host = null; in getHostFromNameService() local
684 public static InetAddress getByAddress(String host, byte[] addr) throws UnknownHostException { in getByAddress()
689 private static InetAddress getByAddress(String host, byte[] addr, int scopeId) in getByAddress()
741 public static InetAddress getByName(String host) in getByName()
785 public static InetAddress[] getAllByName(String host) in getAllByName()
880 String host = (String)gf.get("hostName", null); in readObject() local
993 public static InetAddress getByNameOnNet(String host, int netId) throws UnknownHostException { in getByNameOnNet()
1007 …public static InetAddress[] getAllByNameOnNet(String host, int netId) throws UnknownHostException { in getAllByNameOnNet()
DURL.java165 private String host; field in URL
304 public URL(String protocol, String host, int port, String file) in URL()
328 public URL(String protocol, String host, String file) in URL()
372 public URL(String protocol, String host, int port, String file, in URL()
668 void set(String protocol, String host, int port, in set()
705 void set(String protocol, String host, int port, in set()
1321 Parts(String file, String host) { in Parts()
DUnknownHostException.java46 public UnknownHostException(String host) { in UnknownHostException()
DURLStreamHandler.java127 String host = u.getHost(); in parseURL() local
543 protected void setURL(URL u, String protocol, String host, int port, in setURL()
551 u.set(u.getProtocol(), host, port, authority, userInfo, path, query, ref); in setURL() local
571 protected void setURL(URL u, String protocol, String host, int port, in setURL()
DSocketPermission.java39 public SocketPermission(String host, String action) { super(""); } in SocketPermission()
DProtocolException.java48 public ProtocolException(String host) { in ProtocolException()
/libcore/ojluni/src/main/java/java/util/logging/
DSocketHandler.java85 private String host; field in SocketHandler
150 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java114 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { in createSocket()
125 public Socket createSocket(InetAddress host, int port) { in createSocket()
130 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket()
135 public Socket createSocket(String host, int port) { in createSocket()
244 InetAddress host = sa.getAddress(); in test_SSLSocketFactory_createSocket() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetSocketAddressTest.java82 String host; field in InetSocketAddressTest.HostPortPair
86 public HostPortPair(String host, int port) { in HostPortPair()
/libcore/ojluni/src/main/java/sun/security/x509/
DURIName.java85 private String host; field in URIName
165 String host = uri.getSchemeSpecificPart(); in nameConstraint() local
183 URIName(URI uri, String host, DNSName hostDNS) { in URIName()
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DHandler.java46 String host = url.getHost(); in getHost() local
77 String host = u.getHost(); in openConnection() local
/libcore/ojluni/src/main/java/sun/net/spi/nameservice/
DNameService.java31 …public java.net.InetAddress[] lookupAllHostAddr(String host, int netId) throws UnknownHostExceptio… in lookupAllHostAddr()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DFakeSSLSession.java25 final String host; field in FakeSSLSession
27 public FakeSSLSession(String host) { in FakeSSLSession()
DTestSSLContext.java99 public final InetAddress host; field in TestSSLContext
214 InetAddress host, in TestSSLContext()
294 InetAddress host = InetAddress.getLocalHost(); in create() local
391 public Socket createSocket(String host, int port) in clientAuth()
395 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth()
399 public Socket createSocket(InetAddress host, int port) throws IOException { in clientAuth()
414 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileDescriptorHolderSocketImpl.java62 protected void connect(String host, int port) throws IOException { in connect()
77 protected void bind(InetAddress host, int port) throws IOException { in bind()
/libcore/ojluni/src/main/java/sun/net/util/
DURLUtil.java55 String host = url.getHost(); in urlNoFragString() local
/libcore/ojluni/src/main/java/sun/misc/
DFileURLMapper.java61 String host = url.getHost(); in getPath() local
/libcore/ojluni/src/main/java/sun/net/www/
DURLConnection.java244 public synchronized static void setProxiedHost(String host) { in setProxiedHost()
248 public synchronized static boolean isProxiedHost(String host) { in isProxiedHost()
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidURITest.java30 private static void construct(String str, String host, String path, boolean absolute) in construct()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLContextSpiImpl.java61 public SSLEngine engineCreateSSLEngine(String host, int port) { in engineCreateSSLEngine()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
DSocketFactoryTest.java286 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
291 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
297 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()

123