Searched refs:connect (Results 76 - 100 of 108) sorted by relevance

12345

/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DDatagramChannelTest.java43 dc.connect(ds.getLocalSocketAddress());
223 clientChannel.connect(serverChannel.getLocalAddress());
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DSSLSocketImpl.java395 * @param host name of the host with which to connect
407 connect(socketAddress, 0);
426 connect(socketAddress, 0);
435 * @param host name of the host with which to connect
451 connect(socketAddress, 0);
474 connect(socketAddress, 0);
506 * socket. The java.net package will connect it, either when the
507 * connect() call is made by the application. This instance is
606 public void connect(SocketAddress endpoint, int timeout) method in class:SSLSocketImpl
618 super.connect(endpoin
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLTest.java340 conn.connect();
610 con.connect();
641 con.connect();
H A DOldJarURLConnectionTest.java164 connection.connect();
165 fail("Did not throw exception on connect");
172 fail("Did not throw exception after connect");
350 public void connect() throws IOException { method in class:OldJarURLConnectionTest.TestJarURLConnection
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSinkChannelTest.java476 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(), localPort));
494 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(), localPort));
H A DSelectionKeyTest.java298 sc.connect(new InetSocketAddress(LOCAL_ADDR, ss.getLocalPort()));
H A DFileChannelTest.java2598 datagramChannelReceiver.connect(datagramChannelSender.socket()
2637 socketChannelReceiver.connect(serverSocketChannel.socket()
2945 socketChannelReceiver.connect(serverSocketChannel.socket()
3003 datagramChannelSender.connect(datagramChannelReceiver.socket()
3006 datagramChannelReceiver.connect(datagramChannelSender.socket()
/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java110 @Override public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { method in class:BlockGuardOs
112 os.connect(fd, address, port);
H A DOs.java52 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; method in interface:Os
53 public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; method in interface:Os
H A DForwardingOs.java61 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.connect(fd, address, port); } method in class:ForwardingOs
62 public void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException { os.connect(fd, address); } method in class:ForwardingOs
H A DPosix.java55 public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; method in class:Posix
56 public native void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException; method in class:Posix
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java293 MockResponse connect = responseQueue.peek();
297 if (connect.getSocketPolicy() == SocketPolicy.UPGRADE_TO_SSL_AT_END) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DHttpsURLConnectionTest.java304 public void connect() { method in class:MyHttpsURLConnection
H A DHandshakeCompletedEventTest.java495 socket.connect(serverSocket.getLocalSocketAddress());
/libcore/luni/src/main/java/android/system/
H A DOs.java81 * See <a href="http://man7.org/linux/man-pages/man2/connect.2.html">connect(2)</a>.
83 public static void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { Libcore.os.connect(fd, address, port); } method in class:Os
85 /** @hide */ public static void connect(FileDescriptor fd, SocketAddress address) throws ErrnoException, SocketException { Libcore.os.connect(fd, address); } method in class:Os
/libcore/luni/src/test/java/libcore/io/
H A DOsTest.java130 Libcore.os.connect(clientFd, address);
266 Libcore.os.connect(clientFd, address.getAddress(), address.getPort());
297 Libcore.os.connect(nlSocket, nlKernel);
393 Libcore.os.connect(fd, to, 0);
/libcore/ojluni/src/main/java/java/net/
H A DAbstractPlainDatagramSocketImpl.java68 * flag set if the native connect() call not to be used
113 * @param address the remote InetAddress to connect to
116 protected void connect(InetAddress address, int port) throws SocketException { method in class:AbstractPlainDatagramSocketImpl
/libcore/ojluni/src/main/java/java/sql/
H A DDriverManager.java42 * JDBC 2.0 API, provides another way to connect to a data source.
248 * that can connect to the given URL
372 * while attempting to connect to a database.
569 Connection con = aDriver.driver.connect(url, info);
587 // if we got here nobody could connect.
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java174 SSLSocket[] pair = TestSSLSocketPair.connect(c,
211 String message = ("Problem trying to connect cipher suite " + cipherSuite);
1224 client.connect(new InetSocketAddress(c.host, c.port));
1266 client.connect(c.getLoopbackAsHostname("unmatched.example.com", c.port));
1325 // setSoTimeout applies to read, not connect, so connect first
1359 // needs to be set before connect(2).
1371 client.connect(new InetSocketAddress(c.host, c.port));
1432 client.connect(new InetSocketAddress(c.host, c.port));
1461 client.connect(ne
[all...]
H A DSSLEngineTest.java268 String message = ("Problem trying to connect cipher suite " + cipherSuite);
468 p = TestSSLEnginePair.connect(c, null);
481 SSLEngine[] engines = TestSSLEnginePair.connect(c, null);
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DSocketChannelImpl.java637 public boolean connect(SocketAddress sa) throws IOException { method in class:SocketChannelImpl
669 n = Net.connect(fd,
H A DDatagramChannelImpl.java732 public DatagramChannel connect(SocketAddress sa) throws IOException { method in class:DatagramChannelImpl
744 int n = Net.connect(family,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DJarURLConnectionTest.java104 connection.connect();
105 fail("Did not throw exception on connect");
112 fail("Did not throw exception after connect");
/libcore/ojluni/src/main/java/sun/net/www/protocol/gopher/
H A DGopherClient.java172 ret.connect(os);
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
H A DDocumentBuilderImpl.java117 urlConnection.connect();

Completed in 2564 milliseconds

12345