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

1 2 3

  /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 56 * javax.net.SocketFactory#createSocket()
62 Socket s = sf.createSocket();
72 msf.createSocket();
81 * javax.net.SocketFactory#createSocket(String host, int port)
90 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport);
98 Socket s = sf.createSocket("bla-bla", sport);
108 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]);
118 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), portNumber);
126 Socket s = f.createSocket("localhost", 8082);
133 * javax.net.SocketFactory#createSocket(InetAddress host, int port
    [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/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
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/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,
  /frameworks/base/core/java/android/net/
SSLCertificateSocketFactory.java 55 * If you want a connection timeout as well, use {@link #createSocket()}
62 * for createSocket variants that specify a hostname. When using methods that
168 * to {@link #createSocket()}. It is harmless to call this method
272 public Socket createSocket(Socket k, String host, int port, boolean close) throws IOException {
273 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(k, host, port, close);
290 public Socket createSocket() throws IOException {
291 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket();
304 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort)
306 OpenSSLSocketImpl s = (OpenSSLSocketImpl) getDelegate().createSocket(
320 public Socket createSocket(InetAddress addr, int port) throws IOException
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSocketFactoryTest.java 65 * javax.net.ssl.SSLSocketFactory#createSocket(Socket s, String host, int port, boolean autoClose)
75 Socket s = sf.createSocket(st, "localhost", sport, false);
82 Socket s = sf.createSocket(st, "localhost", sport, true);
89 sf.createSocket(null, "localhost", sport, true);
98 Socket s = sf.createSocket(new Socket(), "localhost", 1080, false);
107 Socket s = sf.createSocket(st, "bla-bla", sport, false);
SSLSessionBindingListenerTest.java 64 .createSocket();
78 .createSocket();
  /cts/tests/tests/net/src/android/net/cts/
SSLCertificateSocketFactoryTest.java 76 method = "createSocket",
81 method = "createSocket",
86 method = "createSocket",
91 method = "createSocket",
96 method = "createSocket",
112 mFactory.createSocket(inetAddress, port);
121 mFactory.createSocket(inetAddress1, port, inetAddress2, port);
129 mFactory.createSocket(socket, host, port, true);
135 socket = mFactory.createSocket(host, port);
140 // it throw exception when calling createSocket(String, int, InetAddress, int
    [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...]
TestSSLSessions.java 68 SSLSocket ssl = (SSLSocket) sf.createSocket();
  /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();
  /frameworks/base/core/tests/coretests/src/android/net/
SSLTest.java 32 Socket ssl = SSLCertificateSocketFactory.getDefault().createSocket("www.fortify.net",443);
  /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/
AdbUtils.java 45 public static Socket createSocket() throws IOException{
51 * The given streams must belong to a socket created by createSocket().

Completed in 1458 milliseconds

1 2 3