Home
last modified time | relevance | path

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

/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.java41 boolean connected = false; field in PipedReader
171 if (!connected) { in receive()
238 if (!connected) { in read()
297 if (!connected) { in read()
343 if (!connected) { in ready()
DPipedWriter.java94 } else if (sink != null || snk.connected) { in connect()
103 snk.connected = true; in connect()
DPipedOutputStream.java99 } else if (sink != null || snk.connected) { in connect()
105 snk.connected = true; in connect()
DPipedInputStream.java56 boolean connected = false; field in PipedInputStream
260 if (!connected) { in checkStateForReceive()
309 if (!connected) { in read()
/libcore/ojluni/src/main/java/sun/net/www/
DURLConnection.java69 if(connected) in setRequestProperty()
82 if (connected) in addRequestProperty()
89 if (connected) in getRequestProperty()
95 if (connected) in getRequestProperties()
/libcore/ojluni/src/main/java/java/net/
DHttpURLConnection.java360 if (connected) { in setFixedLengthStreamingMode()
405 if (connected) { in setFixedLengthStreamingMode()
450 if (connected) { in setChunkedStreamingMode()
626 if (connected) { in setRequestMethod()
DURLConnection.java273 protected boolean connected = false; field in URLConnection
875 if (connected) in setDoInput()
905 if (connected) in setDoOutput()
931 if (connected) in setAllowUserInteraction()
994 if (connected) in setUseCaches()
1020 if (connected) in setIfModifiedSince()
1079 if (connected) in setRequestProperty()
1104 if (connected) in addRequestProperty()
1127 if (connected) in getRequestProperty()
1149 if (connected) in getRequestProperties()
DAbstractPlainSocketImpl.java150 boolean connected = false; in connect()
157 connected = true; in connect()
159 if (!connected) { in connect()
202 boolean connected = false; in connect()
213 connected = true; in connect()
215 if (!connected) { in connect()
DPlainDatagramSocketImpl.java93 if (!connected) in socketSetOption()
123 int port = connected ? 0 : p.getPort(); in send()
124 InetAddress address = connected ? null : p.getAddress(); in send()
154 connected); in doRecv()
DAbstractPlainDatagramSocketImpl.java53 boolean connected = false; field in AbstractPlainDatagramSocketImpl
138 connected = true; in connect()
147 connected = false; in disconnect()
DSocket.java62 private boolean connected = false; field in Socket
629 connected = true; in connect()
693 connected = true; in postAccept()
707 connected = true; in setConnected()
1634 return connected || oldImpl; in isConnected()
/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.java127 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/ftp/
DFtpURLConnection.java226 if (connected) { in connect()
341 connected = true; in connect()
423 if (!connected) { in getInputStream()
541 if (!connected) { in getOutputStream()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java120 if (!connected) { in connect()
151 connected = true; in connect()
/libcore/ojluni/src/main/native/
DDatagramChannelImpl.c154 jint len, jboolean connected) in Java_sun_nio_ch_DatagramChannelImpl_receive0() argument
181 if (connected == JNI_FALSE) { in Java_sun_nio_ch_DatagramChannelImpl_receive0()
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DDdmServer.java125 handler.connected(); in broadcast()
DChunkHandler.java49 public abstract void connected(); in connected() method in ChunkHandler
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocket.java305 private boolean connected = false; field in Socket
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java176 connected = true; in connect()
185 connected = true; in openConnection()
/libcore/ojluni/src/main/java/sun/nio/ch/
DDatagramChannelImpl.java1190 boolean connected) in receive0() argument
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt1400 method public abstract void connected();