Home
last modified time | relevance | path

Searched refs:connected (Results 1 – 23 of 23) 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()
298 if (!connected) { in read()
344 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; 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
897 if (connected) in setDoInput()
927 if (connected) in setDoOutput()
953 if (connected) in setAllowUserInteraction()
1016 if (connected) in setUseCaches()
1042 if (connected) in setIfModifiedSince()
1101 if (connected) in setRequestProperty()
1126 if (connected) in addRequestProperty()
1149 if (connected) in getRequestProperty()
1171 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.java94 if (!connected) in socketSetOption()
124 int port = connected ? 0 : p.getPort(); in send()
125 InetAddress address = connected ? null : p.getAddress(); in send()
155 connected); in doRecv()
DAbstractPlainDatagramSocketImpl.java53 boolean connected = false; field in AbstractPlainDatagramSocketImpl
138 connected = true; in connect()
147 connected = false; in disconnect()
DSocket.java67 private boolean connected = false; field in Socket
654 connected = true; in connect()
718 connected = true; in postAccept()
732 connected = true; in setConnected()
1657 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.java133 if (!connected) { in connect()
141 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/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.java1202 boolean connected) in receive0() argument
/libcore/api/
Dcurrent.txt6131 field protected boolean connected;