Home
last modified time | relevance | path

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

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineTest.java94 String host = "new host"; in test_ConstructorLjava_lang_StringI02() local
97 assertEquals(e.getPeerHost(), host); in test_ConstructorLjava_lang_StringI02() local
326 String host = "new host"; in test_unwrap_02() local
362 String host = "new host"; in test_unwrap_03() local
384 String host = "new host"; in test_unwrap_04() local
422 String host = "new host"; in test_unwrap_05() local
441 String host = "new host"; in test_unwrap_06() local
468 String host = "new host"; in test_wrap_02() local
503 String host = "new host"; in test_wrap_03() local
523 String host = "new host"; in test_wrap_04() local
[all …]
DSSLSocketTest.java608 private SSLSocket getSSLSocket(InetAddress host, int port) throws IOException { in getSSLSocket()
612 private SSLSocket getSSLSocket(String host, int port) throws UnknownHostException, IOException { in getSSLSocket()
616 private SSLSocket getSSLSocket(InetAddress host, int port, InetAddress localHost, int localPort) in getSSLSocket()
624 private SSLSocket getSSLSocket(String host, int port, InetAddress localHost, int localPort) in getSSLSocket()
/libcore/luni/src/main/java/javax/net/ssl/
DDefaultSSLSocketFactory.java50 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
56 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
61 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
67 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
DDefaultHostnameVerifier.java41 public final boolean verify(String host, SSLSession session) { in verify()
50 public boolean verify(String host, X509Certificate certificate) { in verify()
DSSLSocketFactory.java141 public abstract Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
DSSLSocket.java763 protected SSLSocket(String host, int port) throws IOException, UnknownHostException { in SSLSocket()
803 protected SSLSocket(String host, int port, InetAddress clientAddress, int clientPort) in SSLSocket()
/libcore/luni/src/main/java/javax/net/
DDefaultSocketFactory.java39 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
44 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
50 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
DSocketFactory.java84 public abstract Socket createSocket(String host, int port) throws IOException, in createSocket()
110 public abstract Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
127 public abstract Socket createSocket(InetAddress host, int port) throws IOException; in createSocket()
/libcore/luni/src/main/java/java/util/logging/
DSocketHandler.java97 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
103 private void initSocket(String host, String port) throws IOException { in initSocket()
/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/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java91 public final InetAddress host; field in TestSSLContext
105 InetAddress host, in TestSSLContext()
185 InetAddress host = InetAddress.getLocalHost(); in create() local
282 public Socket createSocket(String host, int port) in clientAuth()
286 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth()
290 public Socket createSocket(InetAddress host, int port) throws IOException { in clientAuth()
305 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
DFakeSSLSession.java25 final String host; field in FakeSSLSession
27 public FakeSSLSession(String host) { in FakeSSLSession()
/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/luni/src/main/java/java/net/
DInetAddress.java214 public static InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName()
228 …public static InetAddress[] getAllByNameOnNet(String host, int netId) throws UnknownHostException { in getAllByNameOnNet()
237 …private static InetAddress[] getAllByNameImpl(String host, int netId) throws UnknownHostException { in getAllByNameImpl()
304 public static InetAddress getByName(String host) throws UnknownHostException { in getByName()
319 public static InetAddress getByNameOnNet(String host, int netId) throws UnknownHostException { in getByNameOnNet()
395 String host = Libcore.os.uname().nodename; in getLocalHost() local
416 private static InetAddress[] lookupHostByName(String host, int netId) in lookupHostByName()
DURL.java86 private String host; field in URL
201 public URL(String protocol, String host, String file) throws MalformedURLException { in URL()
215 public URL(String protocol, String host, int port, String file) throws MalformedURLException { in URL()
231 public URL(String protocol, String host, int port, String file, in URL()
305 protected void set(String protocol, String host, int port, String file, String ref) { in set()
663 protected void set(String protocol, String host, int port, String authority, String userInfo, in set()
DSocketPermission.java27 public SocketPermission(String host, String action) { super(""); } in SocketPermission()
DURLStreamHandler.java96 String host; in parseURL() local
231 protected void setURL(URL u, String protocol, String host, int port, in setURL()
243 protected void setURL(URL u, String protocol, String host, int port, in setURL()
325 String host = url.getHost(); in getHostAddress() local
DProxySelectorImpl.java95 String host = System.getProperty(hostKey); in lookupProxy() local
119 private boolean isNonProxyHost(String host, String nonProxyHosts) { in isNonProxyHost()
DInetSocketAddress.java89 public InetSocketAddress(String host, int port) { in InetSocketAddress()
129 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved()
DInet6Address.java85 public static Inet6Address getByAddress(String host, byte[] addr, int scope_id) in getByAddress()
115 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
DSocketFactoryTest.java246 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
251 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
257 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
/libcore/luni/src/main/java/libcore/net/url/
DFileHandler.java69 String host = url.getHost(); in openConnection() local
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLContextSpiImpl.java61 public SSLEngine engineCreateSSLEngine(String host, int port) { in engineCreateSSLEngine()
/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/luni/src/main/java/java/lang/
DSecurityManager.java40 public void checkAccept(String host, int port) { } in checkAccept()
46 public void checkConnect(String host, int port) { } in checkConnect()
48 public void checkConnect(String host, int port, Object context) { } in checkConnect()

123