Searched refs:connected (Results 1 - 13 of 13) sorted by relevance

/libcore/luni/src/main/java/libcore/net/url/
H A DFileURLConnection.java55 * @param url The URL this connection is connected to
86 connected = true;
99 if (!connected) {
117 if (!connected) {
180 if (!connected) {
H A DFtpURLConnection.java162 * @see #connected
221 connected = true;
299 if (!connected) {
338 if (!connected) {
450 * when this method attempts to change the flag after connected
459 if (connected) {
474 * when this method attempts to change the flag after connected
482 if (connected) {
H A DJarURLConnectionImpl.java81 if (!connected) {
84 connected = true;
/libcore/luni/src/main/java/java/net/
H A DHttpURLConnection.java131 * the socket to a pool of connected sockets. This behavior can be disabled by
667 * if this is called after connected, or the method is not
673 if (connected) {
755 * if already connected or another mode already set.
761 if (super.connected) {
762 throw new IllegalStateException("Already connected");
796 * @throws IllegalStateException if already connected or another mode
800 if (super.connected) {
801 throw new IllegalStateException("Already connected");
H A DJarURLConnection.java137 if (!connected) {
H A DURLConnection.java46 * <p>{@code URLConnection} must be configured before it has connected to the
109 * Specifies whether this {@code URLConnection} is already connected to the
113 protected boolean connected; field in class:URLConnection
178 * URLConnection} is connected to. First, it attempts to get the content
189 if (!connected) {
206 * URLConnection} is connected to. First, it attempts to get the content
223 if (!connected) {
463 if (connected) {
464 throw new IllegalStateException("Already connected");
904 * if this {@code URLConnection} has already been connected
[all...]
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java55 // The address to be connected.
62 boolean connected = false; field in class:DatagramChannelImpl
105 return connected;
115 // status must be un-connected.
116 if (connected) {
131 // set the connected address.
133 connected = true;
146 connected = false;
301 // status must be open and connected
367 // status must be open and connected
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DSocketChannelTest.java278 assertFalse(this.channel1.isConnected());// not connected
287 assertFalse(this.channel1.isConnected());// not connected
300 assertFalse(this.channel1.isConnected());// not connected
302 boolean connected = channel1.connect(localAddr1);
305 if (!connected) {
309 // status of not connected
327 assertFalse(this.channel1.isConnected());// not connected
333 assertFalse(this.channel1.isConnected());// not connected
343 assertFalse(this.channel1.isConnected());// not connected
345 boolean connected
[all...]
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
H A DChunkHandler.java41 public abstract void connected(); method in class:ChunkHandler
H A DDdmServer.java116 handler.connected();
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java138 assertFalse(this.channel1.isConnected());// not connected
228 boolean connected = false;
231 connected = this.channel1.finishConnect();
235 if (connected) {
238 return connected;
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLEngineTest.java44 assertTrue(connected(a, b));
48 assertFalse(connected(a, b));
51 public boolean connected(SSLEngine a, SSLEngine b) { method in class:SSLEngineTest
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java181 connected = true;
190 connected = true;

Completed in 352 milliseconds