/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldAndroidDatagramTest.java | 81 socket.close(); 162 socket.close(); 186 sock.close(); 196 s.close(); 206 s.close();
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | DatagramChannelTest.java | 65 dc.close(); 87 dc.close(); 102 dc.close(); 124 dc.close(); 153 dc.close();
|
H A D | OldSocketChannelTest.java | 65 this.channel1.close(); 72 this.channel2.close(); 79 this.server1.close(); 131 this.channel1.close(); 143 this.channel1.close(); 163 this.channel1.close(); 209 this.server1.close(); 309 sc.close(); 325 sc.close();
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
H A D | OldJarFileTest.java | 108 jarFile.close(); 109 jarFile.close(); 123 is.close(); 130 jf.close(); 153 jf.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | OldAndroidZipFileTest.java | 96 out.close(); 113 zipFile.close(); 156 * Read the rest of file #1, and close the stream. 164 stream1.close(); 167 * Read the rest of file #2, and close the stream. 173 stream2.close(); 184 zipFile.close();
|
H A D | OldZipInputStreamTest.java | 50 zos.close(); 56 zis.close(); 79 zis1.close(); // Android throws exception here, already! 110 zis1.close(); // Android throws exception here, already! 122 zis.close();
|
H A D | DeflaterInputStreamTest.java | 44 in.close(); 78 in.close(); 105 in.close();
|
H A D | OldAndroidZipStreamTest.java | 41 outFile.close(); 50 inFile.close(); 108 out.close(); 134 out.close(); 164 in.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
H A D | DeflaterInputStreamTest.java | 50 is.close(); 67 dis.close(); 77 * DeflaterInputStream#close() 83 dis.close(); 96 // can close after close 97 dis.close(); 109 dis.close(); 119 dis.close(); 135 dis.close(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | SourceChannelTest.java | 92 sink.close(); 109 source.close(); 169 // invoke close to ensure all data will be sent out 170 sink.close(); 194 // close pipe everytime 195 sink.close(); 196 source.close(); 239 sink.close(); 258 source.close(); 312 // invoke close t [all...] |
H A D | SinkChannelTest.java | 161 source.close(); 170 sink.close(); 237 source.close(); 250 sink.close(); 375 source.close(); 386 sink.close(); 460 sink.close(); 477 ssc.close(); 478 sc.close(); 485 sock.close(); [all...] |
H A D | SocketChannelTest.java | 83 this.channel1.close(); 90 this.channel2.close(); 97 this.server1.close(); 104 this.server2.close(); 178 channel1.close(); 193 portPickingChannel.close(); 196 // close() and bind(). 216 sc.close(); 252 testServer.close(); 600 s.close(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | BufferedWriterTest.java | 63 public void close() throws IOException { method in class:BufferedWriterTest.MockWriter 81 * java.io.BufferedWriter#close() 85 bw.close(); 91 assertTrue("Write after close", !sw.toString().equals(testString)); 97 bw.close(); 105 assertEquals("BufferdWriter do not flush itself before close", "a", mw 111 * java.io.BufferedWriter#close() 115 bw.close(); 201 bWriter.close(); 259 bWriter.close(); [all...] |
H A D | PipedInputStreamTest.java | 93 pis.close(); 94 pos.close(); 129 * java.io.PipedInputStream#close() 132 // Test for method void java.io.PipedInputStream.close() 136 pis.close(); 323 pos.close(); 341 out.close(); 361 in.close(); 362 out.close(); 366 * Tears down the fixture, for example, close [all...] |
H A D | FilterInputStreamTest.java | 103 fos.close(); 108 * Tears down the fixture, for example, close a network connection. This 114 is.close(); 130 * java.io.FilterInputStream#close() 133 is.close();
|
H A D | StringReaderTest.java | 38 * java.io.StringReader#close() 41 // Test for method void java.io.StringReader.close() 44 sr.close(); 111 sr.close(); 158 sr.close();
|
H A D | ObjectInputStream2Test.java | 45 oos.close(); 51 ois.close(); 69 oos.close(); 74 ois.close();
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | JarURLConnectionImpl.java | 120 jar.close(); 151 fos.close(); 158 fos.close(); 166 is.close(); 352 public void close() throws IOException { method in class:JarURLConnectionImpl.JarURLConnectionInputStream 353 super.close(); 356 jarFile.close();
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldInputStreamReaderTest.java | 56 osw.close(); 63 in.close(); 64 is.close(); 65 fis.close(); 184 // Test for method void java.io.InputStreamReader.close() 186 is.close(); 188 fail("Failed to close reader : " + e.getMessage()); 194 // Exception means read failed due to close 208 reader.close(); 214 reader.close(); [all...] |
H A D | FilterInputStreamNullSourceTest.java | 59 in.close(); 118 in.close(); 135 in.close();
|
H A D | OldAndroidPushbackInputStreamTest.java | 39 a.close(); 47 b.close(); 54 c.close();
|
/libcore/luni/src/test/java/tests/java/sql/ |
H A D | StressTest.java | 53 statement.close(); 54 conn.close(); 132 // close the pool and wait for all tasks to finish. 139 c.close(); 181 rs.close(); 205 // close the pool and wait for all tasks to finish. 218 rs.close(); 264 vc.elementAt(i).close(); 267 assertEquals("Unable to close a connection", vc.size(), i); 333 ps.close(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
H A D | JarInputStreamTest.java | 84 jis.close(); 105 jis.close(); 169 jin.close(); 196 jin.close(); 216 jin.close(); 243 jin.close(); 270 jin.close(); 299 jin.close(); 320 jin.close(); 351 jin.close(); [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | CloseGuard.java | 21 * resources that should have been cleaned up by explicit close 37 * guard.close(); 73 * guard.close(); 127 * failure to close. If CloseGuard is disabled, a non-null no-op 193 public void close() { method in class:CloseGuard 199 * properly cleanup by calling an explicit close method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | ThrowableTest.java | 91 ps.close(); 136 ps.close(); 152 ps.close(); 169 pw.close();
|