Searched defs:fis (Results 1 - 9 of 9) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DFileReaderTest.java35 FileInputStream fis; field in class:FileReaderTest
61 FileInputStream fis = new FileInputStream(f.getPath());
62 br = new FileReader(fis.getFD());
66 fis.close();
110 if (fis != null) {
111 fis.close();
H A DFileWriterTest.java32 private FileInputStream fis; field in class:FileWriterTest
101 fis = new FileInputStream(f.getPath());
102 br = new BufferedReader(new FileReader(fis.getFD()));
106 fis.close();
180 fis.close();
H A DFileOutputStreamTest.java38 private FileInputStream fis; field in class:FileOutputStreamTest
61 if (fis != null) {
62 fis.close();
86 fis = new FileInputStream(fileName);
87 fos = new FileOutputStream(fis.getFD());
89 fis.close();
119 fis = new FileInputStream(f.getPath());
120 fis.read(buf, 0, buf.length);
186 fis = new FileInputStream(f.getPath());
188 fis
[all...]
H A DInputStreamReaderTest.java91 private InputStream fis; field in class:InputStreamReaderTest
117 fis = new ByteArrayInputStream(bos.toByteArray());
118 is = new InputStreamReader(fis);
129 fis.close();
207 is = new InputStreamReader(fis, "8859_1");
210 is = new InputStreamReader(fis, "Bogus");
303 InputStreamReader isr = new InputStreamReader(fis, "8859_1");
306 isr = new InputStreamReader(fis, "ISO-8859-1");
/libcore/luni/src/test/java/libcore/java/io/
H A DOldFileWriterTest.java33 FileInputStream fis; field in class:OldFileWriterTest
100 FileInputStream fis = new FileInputStream(f);
101 in = new InputStreamReader(fis);
159 fis.close();
H A DOldInputStreamReaderTest.java41 private InputStream fis; field in class:OldInputStreamReaderTest
57 fis = new ByteArrayInputStream(bos.toByteArray());
58 is = new InputStreamReader(fis);
65 fis.close();
170 is = new InputStreamReader(fis, "8859_1");
176 is = new InputStreamReader(fis, "Bogus");
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DFileIOInterruptTest.java101 FileInputStream fis = new FileInputStream(fifoFile);
102 fis.close();
106 fis.read(buffer);
120 FileInputStream fis = new FileInputStream(fifoFile);
121 StreamReader streamReader = new StreamReader(fis);
128 fis.close();
193 FileInputStream fis = new FileInputStream(fifoFile);
194 FileChannel fileInputChannel = fis.getChannel();
225 FileInputStream fis = new FileInputStream(fifoFile);
226 FileChannel fileInputChannel = fis
666 private FileInputStream fis; field in class:FileIOInterruptTest.FifoReader
[all...]
H A DOldFileChannelTest.java74 private FileInputStream fis; field in class:OldFileChannelTest
88 fis = null;
120 if (null != fis) {
122 fis.close();
153 fis = new FileInputStream(fileOfWriteOnlyFileChannel);
154 fis.read(readBuffer);
159 fis.close();
162 fis = new FileInputStream(fileOfWriteOnlyFileChannel);
163 fis.read(readBuffer);
165 fis
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DFileChannelTest.java112 private FileInputStream fis; field in class:FileChannelTest
126 fis = null;
146 IoUtils.closeQuietly(fis);
186 fis = new FileInputStream(fileOfWriteOnlyFileChannel);
187 fis.read(readBuffer);
427 fis = new FileInputStream(fileOfWriteOnlyFileChannel);
428 fis.read(result);
2105 fis = new FileInputStream(fileOfWriteOnlyFileChannel);
2107 fis.read(inputBuffer);
2126 fis
[all...]

Completed in 438 milliseconds