Home
last modified time | relevance | path

Searched refs:connected (Results 1 – 25 of 26) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/net/
DProgressSource.java53 private boolean connected = false; field in ProgressSource
81 public boolean connected() { in connected() method in ProgressSource
82 if (!connected) { in connected()
83 connected = true; in connected()
166 if (connected() == false) in updateProgress()
/libcore/ojluni/src/main/java/java/io/
DPipedReader.java44 boolean connected = false; field in PipedReader
175 if (!connected) { in receive()
245 if (!connected) { in read()
307 if (!connected) { in read()
353 if (!connected) { in ready()
DPipedOutputStream.java99 } else if (sink != null || snk.connected) { in connect()
105 snk.connected = true; in connect()
DPipedWriter.java94 } else if (sink != null || snk.connected) { in connect()
103 snk.connected = true; in connect()
DPipedInputStream.java59 boolean connected = false; field in PipedInputStream
264 if (!connected) { in checkStateForReceive()
316 if (!connected) { in read()
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/
DAbstractDelegateHttpsURLConnection.java147 if (connected) in proxiedConnect()
153 connected = true; in proxiedConnect()
160 return connected; in isConnected()
167 connected = conn; in setConnected()
175 if (connected) in connect()
/libcore/ojluni/src/main/java/sun/net/www/
DURLConnection.java74 if(connected) in setRequestProperty()
87 if (connected) in addRequestProperty()
94 if (connected) in getRequestProperty()
100 if (connected) in getRequestProperties()
/libcore/ojluni/src/main/java/java/net/
DHttpURLConnection.java361 if (connected) { in setFixedLengthStreamingMode()
406 if (connected) { in setFixedLengthStreamingMode()
451 if (connected) { in setChunkedStreamingMode()
627 if (connected) { in setRequestMethod()
DURLConnection.java282 protected boolean connected = false; field in URLConnection
867 if (connected) in setDoInput()
897 if (connected) in setDoOutput()
923 if (connected) in setAllowUserInteraction()
986 if (connected) in setUseCaches()
1012 if (connected) in setIfModifiedSince()
1071 if (connected) in setRequestProperty()
1096 if (connected) in addRequestProperty()
1119 if (connected) in getRequestProperty()
1141 if (connected) in getRequestProperties()
DAbstractPlainSocketImpl.java116 boolean connected = false; in connect()
123 connected = true; in connect()
125 if (!connected) { in connect()
168 boolean connected = false; in connect()
179 connected = true; in connect()
181 if (!connected) { in connect()
DAbstractPlainDatagramSocketImpl.java51 boolean connected = false; field in AbstractPlainDatagramSocketImpl
121 connected = true; in connect()
130 connected = false; in disconnect()
DSocket.java63 private boolean connected = false; field in Socket
594 connected = true; in connect()
651 connected = true; in postAccept()
665 connected = true; in setConnected()
1538 return connected || oldImpl; in isConnected()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java218 if (connected) { in connect()
260 connected = true; in connect()
281 connected = true; in connect()
319 connected = true; in connect()
401 if (!connected) { in getInputStream()
515 if (!connected) { in getOutputStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java366 boolean connected = channel1.connect(localAddr1); in testSocket_NonBlock_BasicStatusAfterConnect()
369 if (!connected) { in testSocket_NonBlock_BasicStatusAfterConnect()
412 boolean connected = channel1.connect(localAddr1); in testSocket_NonBlock_ActionsAfterConnectBeforeFinish()
413 if (!connected) { in testSocket_NonBlock_ActionsAfterConnectBeforeFinish()
789 boolean connected = channel1.connect(localAddr1); in testCFII_ServerClosed_NonBlock()
790 if (!connected) { in testCFII_ServerClosed_NonBlock()
1200 boolean connected = channel1.connect(localAddr1); in testCFII_ConnectTwice_Server_NonBlock()
1201 if (!connected) { in testCFII_ConnectTwice_Server_NonBlock()
1346 boolean connected = channel1.connect(localAddr1); in testCFII_FinishFirst_Server_NonBlock()
1347 if (!connected) { in testCFII_FinishFirst_Server_NonBlock()
[all …]
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java126 if (!connected) { in connect()
135 connected = true; in connect()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java226 boolean connected = false; in tryFinish()
229 connected = this.channel1.finishConnect(); in tryFinish()
233 if (connected) { in tryFinish()
236 return connected; in tryFinish()
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DFileURLConnection.java79 if (!connected) { in connect()
102 connected = true; in connect()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java120 if (!connected) { in connect()
145 connected = true; in connect()
/libcore/ojluni/src/main/native/
DDatagramChannelImpl.c134 jint len, jboolean connected) in Java_sun_nio_ch_DatagramChannelImpl_receive0() argument
161 if (connected == JNI_FALSE) { in Java_sun_nio_ch_DatagramChannelImpl_receive0()
DPlainDatagramSocketImpl.c377 jboolean connected; in PlainDatagramSocketImpl_send() local
397 connected = (*env)->GetBooleanField(env, this, pdsi_connected); in PlainDatagramSocketImpl_send()
409 if (connected) { in PlainDatagramSocketImpl_send()
781 jboolean connected = JNI_FALSE; in PlainDatagramSocketImpl_receive0() local
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DDdmServer.java116 handler.connected(); in broadcast()
DChunkHandler.java41 public abstract void connected(); in connected() method in ChunkHandler
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DHttpURLConnection.java635 connected=true;
855 if (connected) {
863 connected = true;
870 if (connected) {
896 connected = true;
991 connected = true;
1587 connected = false;
1691 if (connected && responseCode >= 400) {
2286 connected = false;
2367 connected = true;
[all …]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java54 assertTrue(connected(a, b)); in assertConnected()
58 assertFalse(connected(a, b)); in assertNotConnected()
61 public boolean connected(SSLEngine a, SSLEngine b) { in connected() method in SSLEngineTest
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java180 connected = true; in connect()
189 connected = true; in openConnection()

12