Searched refs:connect (Results 1 - 25 of 71) sorted by relevance

123

/dalvik/libcore/sql/src/main/java/java/sql/
H A DDriver.java44 * the URL to connect to.
59 * the URL to connect.
70 public Connection connect(String url, Properties info) throws SQLException; method in interface:Driver
101 * prompted to provide in order to connect to the database.
105 * connect to the database.
/dalvik/libcore/luni/src/main/java/java/net/
H A DSocketImpl.java131 protected abstract void connect(String host, int port) throws IOException; method in class:SocketImpl
144 protected abstract void connect(InetAddress address, int port) method in class:SocketImpl
323 * the remote host address and port number to connect to.
329 protected abstract void connect(SocketAddress remoteAddr, int timeout) method in class:SocketImpl
357 * the importance of connect time.
H A DDatagramSocketImpl.java260 protected void connect(InetAddress inetAddr, int port) method in class:DatagramSocketImpl
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/
H A DFileURLConnection.java77 public void connect() throws IOException { method in class:FileURLConnection
103 connect();
121 connect();
184 connect();
/dalvik/libcore/luni/src/main/java/java/io/
H A DPipedOutputStream.java57 * the piped input stream to connect to.
63 connect(dest);
92 public void connect(PipedInputStream stream) throws IOException { method in class:PipedOutputStream
H A DPipedWriter.java60 * the {@code PipedReader} to connect to.
66 connect(dest);
91 * the reader to connect to.
96 public void connect(PipedReader reader) throws IOException { method in class:PipedWriter
H A DPipedInputStream.java97 * the piped output stream to connect to.
102 connect(out);
145 public void connect(PipedOutputStream src) throws IOException { method in class:PipedInputStream
146 src.connect(this);
/dalvik/libcore/nio/src/main/java/java/nio/channels/
H A DSocketChannel.java35 * After connecting it by calling {@code connect(SocketAddress)}, it will remain
37 * {@code connect(SocketAddress)} is used to initiate the connection, followed
55 * any given time. The {@code connect(SocketAddress)} and {@code
96 * {@code connect(SocketAdress)}.
121 socketChannel.connect(address);
128 * connect, read and write operation, so this method returns
156 * Indicates whether this channel's socket is still trying to connect.
174 * as the connect method of the {@code Socket} class.
177 * the address to connect with.
204 public abstract boolean connect(SocketAddres method in class:SocketChannel
[all...]
H A DDatagramChannel.java117 * This method executes the same security checks as the connect method of
138 public abstract DatagramChannel connect(SocketAddress address) method in class:DatagramChannel
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DDatagramChannelTest.java57 method = "connect",
105 method = "connect",
346 this.channel1.connect(ipAddr);
371 this.channel1.connect(ipAddr);
435 this.channel1.connect(ipAddr);
443 // bind and connect
445 this.channel1.connect(localAddr1);
447 this.channel2.connect(localAddr2);
471 // bind and connect
473 this.channel1.connect(localAddr
[all...]
H A DSocketChannelTest.java246 assertFalse(this.channel1.connect(localAddr1));
274 // connect
275 assertFalse(this.channel1.connect(localAddr1));
498 this.channel1.connect(localAddr1);
540 assertTrue(this.channel1.connect(localAddr1));
561 assertFalse(this.channel1.connect(localAddr1));
602 assertTrue(this.channel1.connect(localAddr1));
619 assertFalse(this.channel1.connect(localAddr1));
640 assertFalse(this.channel1.connect(localAddr1));
727 s.connect(localAddr
4329 public boolean connect(SocketAddress address) throws IOException { method in class:SocketChannelTest.MockSocketChannel
[all...]
H A DMockSocketChannel.java45 public boolean connect(SocketAddress arg0) throws IOException { method in class:MockSocketChannel
H A DMockDatagramChannel.java41 public DatagramChannel connect(SocketAddress arg0) throws IOException { method in class:MockDatagramChannel
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/
H A DJarURLConnectionImpl.java82 * @see java.net.URLConnection#connect()
85 public void connect() throws IOException { method in class:JarURLConnectionImpl
104 connect();
194 connect();
227 connect();
261 connect();
284 connect();
313 connect();
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DPipedInputStreamTest.java143 pis.connect(pos);
176 pis.connect(pos);
191 * @tests java.io.PipedInputStream#connect(java.io.PipedOutputStream)
196 method = "connect",
201 // java.io.PipedInputStream.connect(java.io.PipedOutputStream)
207 pis.connect(pos);
218 pis.connect(pos);
248 pis.connect(pos);
329 pis.connect(pos);
423 pis.connect(po
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DUnixSocketTest.java46 pingClient.connect(new InetSocketAddress(
91 // Now validate that we get a interrupted exception if we try to connect
96 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
107 // Port 0 is not allowed to be used in connect() on some platforms,
H A DSocketImplFactoryTest.java164 protected void connect(String arg0, int arg1) throws IOException { method in class:SocketImplFactoryTest.MockSocketImpl
169 protected void connect(InetAddress arg0, int arg1) throws IOException { method in class:SocketImplFactoryTest.MockSocketImpl
174 protected void connect(SocketAddress arg0, int arg1) throws IOException { method in class:SocketImplFactoryTest.MockSocketImpl
H A DSocketImplTest.java66 method = "connect",
72 method = "connect",
78 method = "connect",
209 protected void connect(String host, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl
212 protected void connect(InetAddress address, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl
236 protected void connect(SocketAddress remoteAddr, int timeout) throws IOException { method in class:SocketImplTest.MockSocketImpl
H A DSocketTest.java1242 // set up server connect and then validate that we get the right
1338 // set up server connect and then validate that we get the right
1351 // now create one that is not connect and validate that we get the
1361 // now connect and validate we get the right answer
1362 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
1403 theSocket.connect(theAddress);
1452 theSocket.connect(theAddress);
1546 // make sure we can now connect and that connections appear to come
1552 theSocket.connect(theAddress);
1629 * @tests java.net.Socket#connect(jav
3287 protected void connect(String arg0, int arg1) throws IOException { method in class:SocketTest.MockSocketImpl
3293 protected void connect(InetAddress arg0, int arg1) throws IOException { method in class:SocketTest.MockSocketImpl
3299 protected void connect(SocketAddress arg0, int arg1) throws IOException { method in class:SocketTest.MockSocketImpl
[all...]
H A DDatagramSocketImplTest.java174 method = "connect",
181 ds.connect(localHost, 0);
202 ds.connect(localHost, 0);
338 public void connect(InetAddress address, int port) throws SocketException { method in class:MockDatagramSocketImpl
339 super.connect(address, port);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
H A DPlainSocketImpl.java211 protected void connect(String aHost, int aPort) throws IOException { method in class:PlainSocketImpl
213 connect(netImpl.getHostByName(aHost), aPort);
218 protected void connect(InetAddress anAddr, int aPort) throws IOException { method in class:PlainSocketImpl
219 connect(anAddr, aPort, 0);
226 * the remote host address to connect to
228 * the remote port to connect to
234 private void connect(InetAddress anAddr, int aPort, int timeout) method in class:PlainSocketImpl
244 netImpl.connect(fd, trafficClass, normalAddr, aPort);
392 netImpl.connect(fd, trafficClass, socksGetServerAddress(),
458 netImpl.connect(f
530 protected void connect(SocketAddress remoteAddr, int timeout) method in class:PlainSocketImpl
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java137 u.connect();
176 u.connect();
202 u.connect();
226 u.connect();
242 public void connect() { method in class:URLConnectionTest.MockURLConnection
251 public void connect() throws IOException {
511 uc.connect();
523 // connect to server
553 uc2.connect();
562 * @tests {@link java.net.URLConnection#connect()}
[all...]
H A DHttpURLConnectionTest.java79 uc.connect();
105 uc.connect();
115 conn.connect();
261 uc.connect();
310 uc.connect();
359 uc.connect();
459 uc.connect();
482 uc.connect();
510 uc.connect();
743 uc.connect();
903 public void connect() throws IOException { method in class:HttpURLConnectionTest.MyHttpURLConnection
1106 public void connect() throws IOException { method in class:HttpURLConnectionTest.MockHttpConnection
[all...]
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSocketImplWrapper.java43 public void connect(SocketAddress sockaddr, int timeout) method in class:OpenSSLSocketImplWrapper
49 public void connect(SocketAddress sockaddr) throws IOException { method in class:OpenSSLSocketImplWrapper
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DTestHelper_Driver1.java76 public Connection connect(String url, Properties info) throws SQLException { method in class:TestHelper_Driver1
95 } // end method connect(String, Properties)

Completed in 1063 milliseconds

123