Home
last modified time | relevance | path

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

12345678910>>...18

/libcore/luni/src/test/java/libcore/java/net/
DOldServerSocketTest.java83 theSocket.close(); in performancePreferenceTest()
84 servSock.close(); in performancePreferenceTest()
85 clientSocket.close(); in performancePreferenceTest()
94 sconn.close(); in test_ConstructorII()
95 s.close(); in test_ConstructorII()
122 cs.close(); in run()
132 ss.close(); in test_Constructor()
148 sconn.close(); in test_ConstructorI()
150 s.close(); in test_ConstructorI()
158 sconn.close(); in test_ConstructorI()
[all …]
DOldUnixSocketTest.java43 pingServer.close(); in test_getInputStream()
53 worker.close(); in test_getInputStream()
63 clientIn.close(); in test_getInputStream()
78 pingClient.close(); in test_getInputStream()
79 pingServer.close(); in test_getInputStream()
95 theSocket.close(); in test_connectLjava_net_SocketAddressI()
104 ss.close(); in test_getOutputStream()
113 socket.close(); in test_getOutputStream()
DOldSocketTest.java86 ss.close(); in test_ConstructorLjava_lang_StringI()
91 s.close(); in test_ConstructorLjava_lang_StringI()
116 socket.close(); in test_ConstructorLjava_lang_StringI()
175 s1.close(); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI()
177 s2.close(); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI()
220 s1.close(); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI()
222 s2.close(); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI()
275 s.close(); in test_close()
300 is.close(); in test_getInputStream()
301 client.close(); in test_getInputStream()
[all …]
DOldDatagramSocketTest.java84 ms.close(); in run()
243 ds.close(); in test_close()
303 ds.close(); in test_connectLjava_net_InetAddressI()
337 ms.close(); in test_connectLjava_net_InetAddressI()
367 ds.close(); in test_connectLjava_net_InetAddressI()
406 ds.close(); in test_connectLjava_net_InetAddressI()
433 ds.close(); in test_connectLjava_net_InetAddressI()
448 ds.close(); in test_connectLjava_net_InetAddressI()
489 ds.close(); in test_connectLjava_net_InetAddressI()
541 ds.close(); in test_connectLjava_net_InetAddressI()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DRandomAccessFileTest.java58 raf.close(); in test_ConstructorLjava_io_FileLjava_lang_String()
64 raf.close(); in test_ConstructorLjava_io_FileLjava_lang_String()
70 raf.close(); in test_ConstructorLjava_io_FileLjava_lang_String()
76 raf.close(); in test_ConstructorLjava_io_FileLjava_lang_String()
81 raf.close(); in test_ConstructorLjava_io_FileLjava_lang_String()
94 raf.close(); in test_ConstructorLjava_lang_StringLjava_lang_String()
98 raf.close(); in test_ConstructorLjava_lang_StringLjava_lang_String()
102 raf.close(); in test_ConstructorLjava_lang_StringLjava_lang_String()
112 raf.close(); in test_close()
128 raf.close(); in test_getFD()
[all …]
DObjectInputStreamTest.java147 oos.close(); in test_ConstructorLjava_io_InputStream()
149 ois.close(); in test_ConstructorLjava_io_InputStream()
150 oos.close(); in test_ConstructorLjava_io_InputStream()
166 oos.close(); in test_resolveProxyClass()
193 mockIn.close(); in test_resolveProxyClass()
215 oos.close(); in test_available()
218 ois.close(); in test_available()
226 oos.close(); in test_close()
228 ois.close(); in test_close()
239 oos.close(); in test_defaultReadObject()
[all …]
DOutputStreamWriterTest.java77 writer.close(); in tearDown()
80 isr.close(); in tearDown()
82 osw.close(); in tearDown()
92 writer.close(); in testClose()
167 writer.close(); in testWritecharArrayintint()
201 writer.close(); in testWriteint()
270 writer.close(); in testWriteStringintint()
313 writer2.close(); in testOutputStreamWriterOutputStream()
347 writer2.close(); in testOutputStreamWriterOutputStreamString()
369 writer2.close(); in testOutputStreamWriterOutputStreamCharset()
[all …]
DWriterTest.java34 writer.close(); in test_appendChar()
45 writer.close(); in test_appendCharSequence()
58 writer.close(); in test_appendCharSequenceIntInt()
72 wr.close(); in test_writeLjava_lang_String()
84 public synchronized void close() throws IOException { in close() method in WriterTest.MockLockWriter
113 public synchronized void close() throws IOException { in close() method in WriterTest.MockWriter
/libcore/luni/src/test/java/tests/api/java/io/
DFileInputStreamTest.java68 is.close(); in test_ConstructorLjava_io_File()
75 is.close(); in test_ConstructorLjava_io_File()
98 fos.close(); in test_ConstructorLjava_io_FileDescriptor()
99 fis.close(); in test_ConstructorLjava_io_FileDescriptor()
105 fis.close(); in test_ConstructorLjava_io_FileDescriptor()
126 is.close(); in test_ConstructorLjava_lang_String()
132 is.close(); in test_ConstructorLjava_lang_String()
154 is.close(); in test_available()
175 is.close(); in test_close()
217 fis.close(); in test_getChannel()
[all …]
DObjectInputOutputStreamTest.java66 os.close(); in test_read_writeBoolean()
78 is.close(); in test_read_writeBoolean()
111 os.close(); in test_read_writeByte()
123 is.close(); in test_read_writeByte()
156 os.close(); in test_read_writeChar()
168 is.close(); in test_read_writeChar()
201 os.close(); in test_read_writeDouble()
213 is.close(); in test_read_writeDouble()
246 os.close(); in test_read_writeFloat()
258 is.close(); in test_read_writeFloat()
[all …]
DFileWriterTest.java62 fos.close(); in test_ConstructorLjava_io_File()
65 bw.close(); in test_ConstructorLjava_io_File()
69 br.close(); in test_ConstructorLjava_io_File()
114 fileWriter.close(); in test_ConstructorLjava_io_FileZ()
119 fileWriter.close(); in test_ConstructorLjava_io_FileZ()
124 fileReader.close(); in test_ConstructorLjava_io_FileZ()
132 fileWriter.close(); in test_ConstructorLjava_io_FileZ()
137 fileWriter.close(); in test_ConstructorLjava_io_FileZ()
142 fileReader.close(); in test_ConstructorLjava_io_FileZ()
181 fos.close(); in test_ConstructorLjava_io_FileDescriptor()
[all …]
DFileReaderTest.java55 bw.close(); in test_ConstructorLjava_io_File()
59 br.close(); in test_ConstructorLjava_io_File()
89 bw.close(); in test_ConstructorLjava_io_FileDescriptor()
94 br.close(); in test_ConstructorLjava_io_FileDescriptor()
95 fis.close(); in test_ConstructorLjava_io_FileDescriptor()
116 bw.close(); in test_ConstructorLjava_lang_String()
120 br.close(); in test_ConstructorLjava_lang_String()
157 bw.close(); in tearDown()
158 br.close(); in tearDown()
164 fis.close(); in tearDown()
DDataInputOutputStreamTest.java72 os.close(); in test_read_writeBoolean()
84 dis.close(); in test_read_writeBoolean()
123 os.close(); in test_read_writeByte()
135 dis.close(); in test_read_writeByte()
174 os.close(); in test_read_writeChar()
186 dis.close(); in test_read_writeChar()
225 os.close(); in test_read_writeDouble()
237 dis.close(); in test_read_writeDouble()
276 os.close(); in test_read_writeFloat()
288 dis.close(); in test_read_writeFloat()
[all …]
DDataInputStreamTest.java59 os.close(); in test_ConstructorLjava_io_InputStream()
65 dis.close(); in test_ConstructorLjava_io_InputStream()
86 os.close(); in test_read$B()
100 dis.close(); in test_read$B()
125 os.close(); in test_read$BII()
140 dis.close(); in test_read$BII()
163 os.close(); in test_read$BII_Exception()
200 os.close(); in test_readFully$B()
207 dis.close(); in test_readFully$B()
238 os.close(); in test_readFully$BII()
[all …]
DDataOutputStreamTest.java79 os.close(); in test_flush()
84 dis.close(); in test_flush()
109 os.close(); in test_size()
114 dis.close(); in test_size()
132 os.close(); in test_write$BII()
138 dis.close(); in test_write$BII()
196 os.close(); in test_writeI()
201 dis.close(); in test_writeI()
222 os.close(); in test_writeBytesLjava_lang_String()
227 dis.close(); in test_writeBytesLjava_lang_String()
[all …]
DObjectInputStreamTest.java80 oos.close(); in test_ConstructorLjava_io_InputStream()
82 ois.close(); in test_ConstructorLjava_io_InputStream()
83 oos.close(); in test_ConstructorLjava_io_InputStream()
102 oos.close(); in test_ConstructorLjava_io_InputStream_IOException()
136 oos.close(); in test_ClassDescriptor()
142 ois.close(); in test_ClassDescriptor()
157 oos.close(); in test_available()
162 ois.close(); in test_available()
176 oos.close(); in test_available_IOException()
188 ois.close(); in test_available_IOException()
[all …]
DFileOutputStreamTest.java102 fos.close(); in test_ConstructorLjava_io_FileZ()
106 fos.close(); in test_ConstructorLjava_io_FileZ()
112 fis.close(); in test_ConstructorLjava_io_FileZ()
117 fos.close(); in test_ConstructorLjava_io_FileZ()
138 fos.close(); in test_ConstructorLjava_io_FileDescriptor()
141 fos.close(); in test_ConstructorLjava_io_FileDescriptor()
142 fis.close(); in test_ConstructorLjava_io_FileDescriptor()
186 fos.close(); in test_ConstructorLjava_lang_StringZ()
190 fos.close(); in test_ConstructorLjava_lang_StringZ()
196 fis.close(); in test_ConstructorLjava_lang_StringZ()
[all …]
DObjectOutputStreamTest.java624 oos.close(); in test_ConstructorLjava_io_OutputStream()
626 oos.close(); in test_ConstructorLjava_io_OutputStream()
659 oos.close(); in test_close()
664 oos_ioe.close(); in test_close()
804 oos.close(); in test_reset()
824 ois.close(); in test_reset()
873 oos.close(); in test_useProtocolVersionI()
876 ois.close(); in test_useProtocolVersionI()
897 oos.close(); in test_write$B()
900 ois.close(); in test_write$B()
[all …]
/libcore/luni/src/test/java/tests/sql/
DConnectionTest.java69 conn.close(); in testCreateStatement()
109 rs.close(); in testCreateStatement_int_int()
110 st.close(); in testCreateStatement_int_int()
133 rs.close(); in testCreateStatement_int_int()
134 st.close(); in testCreateStatement_int_int()
157 rs.close(); in testCreateStatement_int_int()
158 st.close(); in testCreateStatement_int_int()
185 rs.close(); in testCreateStatement_int_int()
186 st.close(); in testCreateStatement_int_int()
211 rs.close(); in testCreateStatement_int_int()
[all …]
DPreparedStatementTest.java104 st.close(); in setUp()
119 st.close(); in tearDown()
159 st.close(); in testAddBatch()
167 ps.close(); in testAddBatch()
180 ps.close(); in testAddBatch()
193 ps.close(); in testAddBatch()
230 ps.close(); in testExecute()
251 ps.close(); in testExecute()
252 st.close(); in testExecute()
267 ps.close(); in testExecute()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DCheckedInputStreamTest.java52 checkInput.close(); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Checksum()
62 outEmp.close(); in test_getChecksum()
69 inEmp.close(); in test_getChecksum()
80 checkInput.close(); in test_getChecksum()
89 checkInput.close(); in test_getChecksum()
107 checkInput.close(); in test_skipJ()
117 checkIn.close(); in test_read()
124 checkInput.close(); in test_read()
135 checkIn.close(); in test_read$byteII()
142 checkInput.close(); in test_read$byteII()
DDeflaterOutputStreamTest.java106 dos.close(); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater()
123 dos.close(); in test_ConstructorLjava_io_OutputStream()
170 dos.close(); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI()
191 dos.close(); in test_close()
202 iis.close(); in test_close()
207 fos2.close(); in test_close()
209 dos2.close(); in test_close()
270 fos3.close(); in test_finish()
279 fos1.close(); in test_finish()
280 dos.close(); in test_finish()
[all …]
DZipFileTest.java83 zfile.close(); // about to reopen the same temp file in test_ConstructorLjava_io_FileI()
86 zip.close(); in test_ConstructorLjava_io_FileI()
112 zfile.close(); // about to reopen the same temp file in test_ConstructorLjava_lang_String()
114 zip.close(); in test_ConstructorLjava_lang_String()
145 in.close(); in test_finalize()
146 out.close(); in test_finalize()
176 zf.close(); in test_close()
207 zfile.close(); in test_entries()
245 in.close(); in test_getEntryLjava_lang_String()
253 in.close(); in test_getEntryLjava_lang_String()
[all …]
/libcore/support/src/test/java/tests/util/
DFieldTestFileGenerator.java60 oos.close(); in main()
67 if (fos != null) fos.close(); in main()
75 oos.close(); in main()
82 if (fos != null) fos.close(); in main()
90 oos.close(); in main()
97 if (fos != null) fos.close(); in main()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFileHandlerTest.java82 handler.close(); in tearDown()
103 handler.close(); in testFileHandler()
109 handler.close(); in testFileHandler()
127 handler.close(); in testFileHandler_1params()
134 handler.close(); in testFileHandler_1params()
149 h.close(); in testFileHandler_1params()
150 h2.close(); in testFileHandler_1params()
151 h3.close(); in testFileHandler_1params()
152 h4.close(); in testFileHandler_1params()
161 h6.close(); in testFileHandler_1params()
[all …]

12345678910>>...18