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

1 2 3 4

  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
SocketFactoryTest.java 39 * Class under test for java.net.Socket createSocket()
44 sf.createSocket();
62 s = sf.createSocket("localhost", 8082);
67 s = sf.createSocket("localhost", 8081, InetAddress.getLocalHost(), 8082);
72 s = sf.createSocket(InetAddress.getLocalHost(), 8081);
77 s = sf.createSocket(InetAddress.getLocalHost(), 8081, InetAddress.getLocalHost(), 8082);
85 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
90 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
96 public Socket createSocket(InetAddress host, int port) throws IOException {
101 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort
    [all...]
  /libcore/luni/src/main/java/javax/net/
DefaultSocketFactory.java 34 public Socket createSocket() throws IOException {
39 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
44 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
50 public Socket createSocket(InetAddress host, int port) throws IOException {
55 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
SocketFactory.java 62 public Socket createSocket() throws IOException {
84 public abstract Socket createSocket(String host, int port) throws IOException,
110 public abstract Socket createSocket(String host, int port, InetAddress localHost, int localPort)
127 public abstract Socket createSocket(InetAddress host, int port) throws IOException;
150 public abstract Socket createSocket(InetAddress address, int port, InetAddress localAddress,
  /libcore/luni/src/test/java/tests/api/javax/net/
SocketFactoryTest.java 45 Socket s = sf.createSocket();
52 msf.createSocket();
63 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport);
68 sf.createSocket("bla-bla", sport);
75 sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]);
82 sf.createSocket(InetAddress.getLocalHost().getHostName(), s.getLocalPort());
89 f.createSocket(InetAddress.getLocalHost().getHostName(), 8082);
100 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport);
106 sf.createSocket(InetAddress.getLocalHost(), invalidPorts[i]);
113 sf.createSocket(InetAddress.getLocalHost(), s.getLocalPort())
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
SSLCertificateSocketFactoryTest.java 56 mFactory.createSocket(inetAddress, port);
65 mFactory.createSocket(inetAddress1, port, inetAddress2, port);
73 mFactory.createSocket(socket, host, port, true);
79 socket = mFactory.createSocket(host, port);
84 // it throw exception when calling createSocket(String, int, InetAddress, int)
96 * SSLCertificateSocketFactory.createSocket messages.
102 mFactory.createSocket(TEST_CREATE_SOCKET_HOST, TEST_CREATE_SOCKET_PORT);
112 * SSLCertificateSocketFactory.createSocket messages.
119 mFactory.createSocket(
130 * SSLCertificateSocketFactory.createSocket messages
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DefaultSSLSocketFactoryTest.java 37 * Class under test for Socket createSocket(String, int)
42 f.createSocket("localhost", 0);
52 * Class under test for Socket createSocket(String, int, InetAddress, int)
57 f.createSocket("localhost", 0, InetAddress.getLocalHost(), 1);
66 * Class under test for Socket createSocket(InetAddress, int)
71 f.createSocket(InetAddress.getLocalHost(), 1);
80 * Class under test for Socket createSocket(InetAddress, int, InetAddress,
86 f.createSocket(InetAddress.getLocalHost(), 1, InetAddress
112 * Class under test for Socket createSocket(Socket, String, int, boolean)
117 f.createSocket(new Socket(), "localhost", 1, true)
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
DefaultSSLSocketFactory.java 50 public Socket createSocket(Socket s, String host, int port, boolean autoClose)
56 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
61 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
67 public Socket createSocket(InetAddress host, int port) throws IOException {
72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
SSLSocketFactoryImpl.java 17 public Socket createSocket(Socket socket, String s, int i, boolean flag)
47 * @see javax.net.SocketFactory#createSocket(java.lang.String, int)
50 public Socket createSocket(String arg0, int arg1) throws IOException, UnknownHostException {
56 * @see javax.net.SocketFactory#createSocket(java.net.InetAddress, int)
59 public Socket createSocket(InetAddress arg0, int arg1) throws IOException {
65 * @see javax.net.SocketFactory#createSocket(java.lang.String, int, java.net.InetAddress, int)
68 public Socket createSocket(String arg0, int arg1, InetAddress arg2, int arg3) throws IOException, UnknownHostException {
74 * @see javax.net.SocketFactory#createSocket(java.net.InetAddress, int, java.net.InetAddress, int)
77 public Socket createSocket(InetAddress arg0, int arg1, InetAddress arg2, int arg3) throws IOException {
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLSocketFactoryImpl.java 56 public Socket createSocket() throws IOException {
63 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
67 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
76 public Socket createSocket(InetAddress host, int port) throws IOException {
80 public Socket createSocket(InetAddress address,
92 public Socket createSocket(Socket s, String host, int port, boolean autoClose)
SSLSocketFactoryImpl.java 83 * @see javax.net.ssl.SSLSocketFactory#createSocket(Socket,String,int,boolean)
86 public Socket createSocket(Socket s, String host, int port,
98 * @see javax.net.SocketFactory#createSocket()
101 public Socket createSocket() throws IOException {
109 * @see javax.net.SocketFactory#createSocket(String,int)
112 public Socket createSocket(String host, int port)
122 * @see javax.net.SocketFactory#createSocket(String,int,InetAddress,int)
125 public Socket createSocket(String host, int port,
136 * @see javax.net.SocketFactory#createSocket(InetAddress,int)
139 public Socket createSocket(InetAddress host, int port
    [all...]
  /external/apache-http/src/org/apache/http/conn/scheme/
LayeredSocketFactory.java 65 Socket createSocket(
SocketFactory.java 65 Socket createSocket()
74 * {@link #createSocket createSocket}.
  /external/smack/src/org/jivesoftware/smack/proxy/
DirectSocketFactory.java 43 public Socket createSocket(String host, int port)
52 public Socket createSocket(String host ,int port, InetAddress localHost,
59 public Socket createSocket(InetAddress host, int port)
67 public Socket createSocket( InetAddress address, int port,
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ecf.ssl_1.0.0.v20100529-0735.jar 
org.eclipse.ecf.provider.filetransfer.httpclient.ssl_1.0.0.v20100529-0735.jar 
  /external/nist-sip/java/gov/nist/core/net/
NetworkLayer.java 80 public Socket createSocket(InetAddress address, int port) throws IOException;
91 public Socket createSocket(InetAddress address, int port, InetAddress localAddress) throws IOException;
109 public Socket createSocket(InetAddress address, int port,
DefaultNetworkLayer.java 74 public Socket createSocket(InetAddress address, int port)
107 return (SSLSocket) sslSocketFactory.createSocket(address, port);
113 return (SSLSocket) sslSocketFactory.createSocket(address, port,
117 public Socket createSocket(InetAddress address, int port,
141 public Socket createSocket(InetAddress address, int port,
SslNetworkLayer.java 93 public Socket createSocket(InetAddress address, int port)
117 return (SSLSocket) sslSocketFactory.createSocket(address, port);
123 return (SSLSocket) sslSocketFactory.createSocket(address, port,
127 public Socket createSocket(InetAddress address, int port,
151 public Socket createSocket(InetAddress address, int port,
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSocketFactoryTest.java 62 * javax.net.ssl.SSLSocketFactory#createSocket(Socket s, String host, int port, boolean autoClose)
72 Socket s = sf.createSocket(st, "localhost", sport, false);
79 Socket s = sf.createSocket(st, "localhost", sport, true);
86 sf.createSocket(null, "localhost", sport, true);
95 Socket s = sf.createSocket(new Socket(), "localhost", 1080, false);
104 Socket s = sf.createSocket(st, "bla-bla", sport, false);
SSLSessionBindingListenerTest.java 64 .createSocket();
78 .createSocket();
  /frameworks/base/core/java/android/net/
SSLCertificateSocketFactory.java 54 * If you want a connection timeout as well, use {@link #createSocket()}
61 * for createSocket variants that specify a hostname. When using methods that
167 * to {@link #createSocket()}. It is harmless to call this method
428 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException {
429 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close);
449 public Socket createSocket() throws IOException {
450 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket();
466 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort)
468 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(
485 public Socket createSocket(InetAddress addr, int port) throws IOException
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketFactoryTest.java 55 Socket s = sf.createSocket(null, null, -1, false);
62 Socket ssl = sf.createSocket(new Socket(), null, -1, false);
73 Socket ssl = sf.createSocket(s, null, -1, false);
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLContext.java 276 public Socket createSocket(String host, int port)
278 return set(sf.createSocket(host, port));
280 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
282 return set(sf.createSocket(host, port, localHost, localPort));
284 public Socket createSocket(InetAddress host, int port) throws IOException {
285 return set(sf.createSocket(host, port));
287 public Socket createSocket(InetAddress address, int port,
289 return set(sf.createSocket(address, port));
299 public Socket createSocket(Socket s, String host, int port, boolean autoClose)
301 return set(sf.createSocket(s, host, port, autoClose))
    [all...]
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/
HandshakeCompletedEventTest.java 41 SSLSocket soc = (SSLSocket )cont.getSocketFactory().createSocket();
SSLSessionBindingEventTest.java 41 SSLSocket soc = (SSLSocket )cont.getSocketFactory().createSocket();

Completed in 217 milliseconds

1 2 3 4