/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | FileOutputStreamTest.java | 50 FileInputStream fis; field in class:FileOutputStreamTest 108 fis = new FileInputStream(f); 109 fis.read(buf, 0, buf.length); 112 fis.close(); 118 fis = new FileInputStream(f); 119 int bytesRead = fis.read(buf, 0, buf.length); 139 fis = new FileInputStream(fileName); 140 fos = new FileOutputStream(fis.getFD()); 142 fis.close(); 192 fis [all...] |
H A D | FileDescriptorTest.java | 41 FileInputStream fis; field in class:FileDescriptorTest 76 fis = new FileInputStream(f.getPath()); 80 assertEquals("Bytes were not written after sync", length, fis 84 fd = fis.getFD(); 86 assertEquals("Bytes were not written after sync", length, fis 137 fis.close();
|
H A D | FileReaderTest.java | 38 FileInputStream fis; field in class:FileReaderTest 90 FileInputStream fis = new FileInputStream(f.getPath()); 91 br = new FileReader(fis.getFD()); 95 fis.close(); 163 if (fis != null) 164 fis.close();
|
H A D | FileInputStreamTest.java | 97 FileInputStream fis = new FileInputStream(fos.getFD()); 99 fis.close(); 104 FileInputStream fis = new FileInputStream((FileDescriptor) null); 105 fis.close(); 203 FileInputStream fis = new FileInputStream(fileName); 204 channel = fis.getChannel(); 210 fis.read(buffer, 0, 10); 217 fis.close(); 242 FileInputStream fis = new FileInputStream(fileName); 243 assertTrue("Returned invalid fd", fis [all...] |
H A D | FileWriterTest.java | 39 FileInputStream fis; field in class:FileWriterTest 182 fis = new FileInputStream(f.getPath()); 183 br = new BufferedReader(new FileReader(fis.getFD())); 187 fis.close(); 329 FileInputStream fis = new FileInputStream(f); 330 in = new InputStreamReader(fis); 404 fis.close();
|
H A D | SerializationStressTest5.java | 331 FileInputStream fis = null; 339 fis = new FileInputStream(files[i].getPath()); 344 zis = new ZipInputStream(fis); 381 fis.close();
|
H A D | InputStreamReaderTest.java | 56 private InputStream fis; field in class:InputStreamReaderTest 122 fis = new ByteArrayInputStream(bos.toByteArray()); 123 is = new InputStreamReader(fis); 136 fis.close(); 529 is = new InputStreamReader(fis, "8859_1"); 535 is = new InputStreamReader(fis, "Bogus"); 602 is = new InputStreamReader(fis, "8859_1");
|
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
H A D | DefaultSSLContext.java | 73 FileInputStream fis = new FileInputStream(keystore); 75 ks.load(fis, pwd); 77 fis.close(); 99 FileInputStream fis = new FileInputStream(keystore); 101 ks.load(fis, pwd); 103 fis.close();
|
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
H A D | ZipInputStreamTest.java | 156 FileInputStream fis = new FileInputStream(new File(resources, 159 ZipInputStream zis1 = new ZipInputStream(fis); 180 FileInputStream fis = new FileInputStream(new File(resources, 183 ZipInputStream zis1 = new ZipInputStream(fis); 216 FileInputStream fis = new FileInputStream(new File(resources, 219 ZipInputStream zis1 = new ZipInputStream(fis); 256 FileInputStream fis = new FileInputStream(new File(resources, 259 ZipInputStream zis1 = new ZipInputStream(fis); 344 FileInputStream fis = new FileInputStream(new File(resources, 347 ZipInputStream zis1 = new ZipInputStream(fis); [all...] |
H A D | DeflaterOutputStreamTest.java | 342 FileInputStream fis = new FileInputStream(f1); 343 InflaterInputStream iis = new InflaterInputStream(fis); 385 FileInputStream fis = new FileInputStream(f1); 386 InflaterInputStream iis = new InflaterInputStream(fis);
|
H A D | InflaterInputStreamTest.java | 318 FileInputStream fis = new FileInputStream(new File(resources, 320 InflaterInputStream iis = new InflaterInputStream(fis); 349 FileInputStream fis = new FileInputStream(new File(resources, 351 InflaterInputStream iis = new InflaterInputStream(fis);
|
/dalvik/hit/src/com/android/hit/ |
H A D | Main.java | 28 FileInputStream fis; 33 fis = new FileInputStream(argv[0]); 34 bis = new BufferedInputStream(fis);
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/xslt/ |
H A D | ObjectFactory.java | 296 FileInputStream fis = null; 321 fis = ss.getFileInputStream(propertiesFile); 322 fXalanProperties.load(fis); 333 if (fis != null) { 335 fis.close(); 346 FileInputStream fis = null; 348 fis = ss.getFileInputStream(new File(propertiesFilename)); 350 props.load(fis); 359 if (fis != null) { 361 fis [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ |
H A D | ObjectFactory.java | 296 FileInputStream fis = null; 321 fis = ss.getFileInputStream(propertiesFile); 322 fXalanProperties.load(fis); 333 if (fis != null) { 335 fis.close(); 346 FileInputStream fis = null; 348 fis = ss.getFileInputStream(new File(propertiesFilename)); 350 props.load(fis); 359 if (fis != null) { 361 fis [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | ObjectFactory.java | 295 FileInputStream fis = null; 320 fis = ss.getFileInputStream(propertiesFile); 321 fXalanProperties.load(fis); 332 if (fis != null) { 334 fis.close(); 345 FileInputStream fis = null; 347 fis = ss.getFileInputStream(new File(propertiesFilename)); 349 props.load(fis); 358 if (fis != null) { 360 fis [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
H A D | ObjectFactory.java | 296 FileInputStream fis = null; 321 fis = ss.getFileInputStream(propertiesFile); 322 fXalanProperties.load(fis); 333 if (fis != null) { 335 fis.close(); 346 FileInputStream fis = null; 348 fis = ss.getFileInputStream(new File(propertiesFilename)); 350 props.load(fis); 359 if (fis != null) { 361 fis [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/ |
H A D | ObjectFactory.java | 296 FileInputStream fis = null; 321 fis = ss.getFileInputStream(propertiesFile); 322 fXalanProperties.load(fis); 333 if (fis != null) { 335 fis.close(); 346 FileInputStream fis = null; 348 fis = ss.getFileInputStream(new File(propertiesFilename)); 350 props.load(fis); 359 if (fis != null) { 361 fis [all...] |
/dalvik/libcore/luni/src/test/java/com/google/coretests/ |
H A D | CoreTestRunnable.java | 156 FileInputStream fis = new FileInputStream(file); 157 ObjectInputStream ois = new ObjectInputStream(fis);
|
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | CertificateFactory3Test.java | 181 InputStream fis = Support_Resources 183 certPath = certFs[i].generateCertPath(fis, "PkiPath"); 184 fis.close(); 215 InputStream fis = Support_Resources 217 certPath = certFs[i].generateCertPath(fis); 218 fis.close();
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/ |
H A D | ZoneInfoDB.java | 199 FileInputStream fis = null; 204 fis = new FileInputStream(ZONE_FILE_NAME); 214 fis.skip(start); 217 if (fis == null) { 218 fis = new FileInputStream(f); 225 int size = fis.read(data, nread, length - nread); 232 fis.close();
|
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
H A D | JarExecTest.java | 302 FileInputStream fis = new FileInputStream(resourceFile); 303 fis.read(resourceBody); 304 fis.close();
|
H A D | ZipExecTest.java | 308 FileInputStream fis = new FileInputStream(resourceFile); 309 fis.read(resourceBody); 310 fis.close();
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | FileChannelTest.java | 122 private FileInputStream fis; field in class:FileChannelTest 136 fis = null; 168 if (null != fis) { 170 fis.close(); 261 fis = new FileInputStream(fileOfWriteOnlyFileChannel); 262 fis.read(readBuffer); 269 fis = new FileInputStream(fileOfWriteOnlyFileChannel); 270 fis.read(readBuffer); 584 fis = new FileInputStream(fileOfWriteOnlyFileChannel); 585 fis [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | ProxySelectorImpl.java | 58 FileInputStream fis = new FileInputStream(f); 60 InputStream is = new BufferedInputStream(fis, 8192);
|
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | KeyStore.java | 1078 FileInputStream fis = null; 1080 fis = new FileInputStream(fileForLoad); 1081 ks.load(fis, passwd); 1084 if( fis != null ) { 1085 fis.close();
|