HomeSort by relevance Sort by last modified time
    Searched refs:fis (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /libcore/luni/src/test/java/libcore/io/
OsTest.java 29 FileInputStream fis = new FileInputStream(f); local
30 assertFalse(S_ISSOCK(Libcore.os.fstat(fis.getFD()).st_mode));
31 fis.close();
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileInputStreamTest.java 57 FileInputStream fis = new FileInputStream(fos.getFD()); local
59 fis.close();
152 FileInputStream fis = new FileInputStream(fileName); local
153 assertTrue("Returned invalid fd", fis.getFD().valid());
154 fis.close();
155 assertTrue("Returned invalid fd", !fis.getFD().valid());
343 FileInputStream fis = new FileInputStream(fileName); local
346 fis.read(new byte[1], -1, 1);
353 fis.read(new byte[1], 0, -1);
360 fis.read(new byte[1], 0, 5)
386 FileInputStream fis = new FileInputStream(fileName); local
398 FileInputStream fis = new FileInputStream(fileName); local
    [all...]
FileDescriptorTest.java 39 FileInputStream fis; field in class:FileDescriptorTest
60 fis = new FileInputStream(f.getPath());
64 assertEquals("Bytes were not written after sync", length, fis
68 fd = fis.getFD();
70 assertEquals("Bytes were not written after sync", length, fis
103 fis.close();
FileReaderTest.java 35 FileInputStream fis; field in class:FileReaderTest
61 FileInputStream fis = new FileInputStream(f.getPath()); local
62 br = new FileReader(fis.getFD());
66 fis.close();
115 if (fis != null) {
116 fis.close();
FileOutputStreamTest.java 35 FileInputStream fis; field in class:FileOutputStreamTest
62 fis = new FileInputStream(fileName);
63 fos = new FileOutputStream(fis.getFD());
65 fis.close();
93 fis = new FileInputStream(f.getPath());
94 fis.read(buf, 0, buf.length);
160 fis = new FileInputStream(f.getPath());
162 fis.read(rbytes, 0, fileString.length());
174 fis = new FileInputStream(f.getPath());
176 fis.read(rbytes, 0, fileString.length())
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
FileInputStreamTest.java 74 FileInputStream fis = new FileInputStream(pipe[0]); local
75 fis.skip(SKIP_SIZE);
76 verifyData(fis, SKIP_SIZE, TOTAL_SIZE - SKIP_SIZE);
77 assertEquals(-1, fis.read());
159 FileInputStream fis = new FileInputStream(tmp); local
162 fis.close();
163 fis.close();
167 fis.available();
172 fis.read();
177 fis.read(new byte[1], 0, 1)
    [all...]
OldFileInputStreamTest.java 60 FileInputStream fis = new FileInputStream((FileDescriptor) null); local
61 fis.close();
112 FileInputStream fis = new FileInputStream(fileName); local
113 channel = fis.getChannel();
119 fis.read(buffer, 0, 10);
126 fis.close();
OldFileWriterTest.java 33 FileInputStream fis; field in class:OldFileWriterTest
100 FileInputStream fis = new FileInputStream(f); local
101 in = new InputStreamReader(fis);
159 fis.close();
  /external/antlr/src/org/antlr/runtime/
ANTLRFileStream.java 59 FileInputStream fis = new FileInputStream(fileName); local
61 isr = new InputStreamReader(fis, encoding);
64 isr = new InputStreamReader(fis);
  /frameworks/base/core/java/android/provider/
DrmStore.java 103 FileInputStream fis = null; local
107 fis = new FileInputStream(file);
115 result = addDrmFile(cr, fis, title);
120 if (fis != null)
121 fis.close();
134 * @param fis The FileInputStream to insert
138 public static final Intent addDrmFile(ContentResolver cr, FileInputStream fis, String title) {
143 DrmRawContent content = new DrmRawContent(fis, (int) fis.available(),
146 long size = fis.getChannel().size()
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldZipInputStreamTest.java 63 FileInputStream fis = new FileInputStream(new File(resources, local
66 ZipInputStream zis1 = new ZipInputStream(fis);
92 FileInputStream fis = new FileInputStream(new File(resources, local
95 ZipInputStream zis1 = new ZipInputStream(fis);
131 FileInputStream fis = new FileInputStream(new File(resources, local
134 ZipInputStream zis1 = new ZipInputStream(fis);
169 FileInputStream fis = new FileInputStream(fl); local
171 Mock_ZipInputStream zis1 = new Mock_ZipInputStream(fis);
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
RandomBitsSupplier.java 55 private static FileInputStream fis = null; field in class:RandomBitsSupplier
77 fis = new FileInputStream(file);
111 bytesRead = fis.read(bytes, offset, numBytes-total);
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 33 FileInputStream fis = null; local
35 fis = new FileInputStream(fileName);
37 BufferedInputStream bis = new BufferedInputStream(fis);
47 if (fis != null) {
48 fis.close();
  /dalvik/hit/src/com/android/hit/
Main.java 28 FileInputStream fis; local
33 fis = new FileInputStream(argv[0]);
34 bis = new BufferedInputStream(fis);
  /packages/apps/CertInstaller/src/com/android/certinstaller/
Util.java 81 FileInputStream fis = new FileInputStream(file); local
82 fis.read(data);
83 fis.close();
  /packages/apps/Email/emailcommon/src/org/apache/commons/io/output/
DeferredFileOutputStream.java 261 FileInputStream fis = new FileInputStream(outputFile); local
263 IOUtils.copy(fis, out);
265 IOUtils.closeQuietly(fis);
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/
MakeIdentity.java 72 FileInputStream fis = new FileInputStream(mKeystorePath); local
73 keyStore.load(fis, mKeystorePass.toCharArray());
74 fis.close();
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/
FileOp.java 181 FileInputStream fis = null; local
184 fis = new FileInputStream(source);
188 while ((read = fis.read(buffer)) != -1) {
193 if (fis != null) {
195 fis.close();
  /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/
ShellSizeAndPos.java 121 FileInputStream fis = null; local
127 fis = new FileInputStream(f);
129 props.load(fis);
134 if (fis != null) {
136 fis.close();
  /external/apache-xml/src/main/java/org/apache/xalan/xslt/
ObjectFactory.java 296 FileInputStream fis = null; local
321 fis = ss.getFileInputStream(propertiesFile);
322 fXalanProperties.load(fis);
333 if (fis != null) {
335 fis.close();
346 FileInputStream fis = null; local
348 fis = ss.getFileInputStream(new File(propertiesFilename));
350 props.load(fis);
359 if (fis != null) {
361 fis.close()
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/
ObjectFactory.java 296 FileInputStream fis = null; local
321 fis = ss.getFileInputStream(propertiesFile);
322 fXalanProperties.load(fis);
333 if (fis != null) {
335 fis.close();
346 FileInputStream fis = null; local
348 fis = ss.getFileInputStream(new File(propertiesFilename));
350 props.load(fis);
359 if (fis != null) {
361 fis.close()
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
ObjectFactory.java 295 FileInputStream fis = null; local
320 fis = ss.getFileInputStream(propertiesFile);
321 fXalanProperties.load(fis);
332 if (fis != null) {
334 fis.close();
345 FileInputStream fis = null; local
347 fis = ss.getFileInputStream(new File(propertiesFilename));
349 props.load(fis);
358 if (fis != null) {
360 fis.close()
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
ObjectFactory.java 296 FileInputStream fis = null; local
321 fis = ss.getFileInputStream(propertiesFile);
322 fXalanProperties.load(fis);
333 if (fis != null) {
335 fis.close();
346 FileInputStream fis = null; local
348 fis = ss.getFileInputStream(new File(propertiesFilename));
350 props.load(fis);
359 if (fis != null) {
361 fis.close()
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
ObjectFactory.java 296 FileInputStream fis = null; local
321 fis = ss.getFileInputStream(propertiesFile);
322 fXalanProperties.load(fis);
333 if (fis != null) {
335 fis.close();
346 FileInputStream fis = null; local
348 fis = ss.getFileInputStream(new File(propertiesFilename));
350 props.load(fis);
359 if (fis != null) {
361 fis.close()
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactory3Test.java 153 InputStream fis = Support_Resources local
155 certPath = certFs[i].generateCertPath(fis, "PkiPath");
156 fis.close();
181 InputStream fis = Support_Resources local
183 certPath = certFs[i].generateCertPath(fis);
184 fis.close();

Completed in 1254 milliseconds

1 2 3 4