/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileWriterTest.java | 32 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();
|
RandomAccessFileTest.java | 503 FileInputStream fis = new java.io.FileInputStream(fileName); local 504 fis.read(rbuf, 0, fileString.length()); 507 fis.close(); 520 FileInputStream fis = new java.io.FileInputStream(fileName); local 521 fis.read(rbuf, 0, fileString.length()); 524 fis.close(); 676 FileInputStream fis = new java.io.FileInputStream(fileName); local 677 fis.read(rbuf, 0, 1); 679 fis.close(); [all...] |
InputStreamReaderTest.java | 91 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/io/ |
OsTest.java | 38 FileInputStream fis = new FileInputStream(f); local 39 assertFalse(S_ISSOCK(Libcore.os.fstat(fis.getFD()).st_mode)); 40 fis.close(); 172 FileInputStream fis = new FileInputStream(new File("/dev/zero")); local 173 FileDescriptor fd = fis.getFD(); 196 fis.close();
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileWriterTest.java | 33 FileInputStream fis; field in class:OldFileWriterTest 100 FileInputStream fis = new FileInputStream(f); local 101 in = new InputStreamReader(fis); 159 fis.close();
|
OldInputStreamReaderTest.java | 41 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");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
ProjectClassLoader.java | 140 FileInputStream fis = new FileInputStream(classFile); local 144 read = fis.read(data); 148 fis.close();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeySelectionPage.java | 157 FileInputStream fis = new FileInputStream(mWizard.getKeystore()); local 158 keyStore.load(fis, mWizard.getKeystorePassword().toCharArray()); 159 fis.close();
|
KeyCheckPage.java | 192 FileInputStream fis = new FileInputStream(mWizard.getKeystore()); local 193 keyStore.load(fis, mWizard.getKeystorePassword().toCharArray()); 194 fis.close();
|
/system/core/fastbootd/other/sign/src/ |
SignImg.java | 53 FileInputStream fis = new FileInputStream(file); local 55 fis.read(data); 56 fis.close(); 69 FileInputStream fis = new FileInputStream(file); local 71 fis.read(data); 72 fis.close(); 81 FileInputStream fis = new FileInputStream(file); local 83 fis.read(data); 84 fis.close();
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
SecureWebServer.java | 68 FileInputStream fis = ctx.getAssets() local 71 ks.load(fis, KeyChainDemoActivity.PKCS12_PASSWORD.toCharArray());
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
FileDeferredOutputStream.java | 36 InputStream fis = new FileInputStream(backingFile); local 37 ByteStreams.copy(fis, dest);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DecodeUtils.java | 102 FileInputStream fis = null; local 104 fis = new FileInputStream(filePath); 105 FileDescriptor fd = fis.getFD(); 111 Utils.closeSilently(fis);
|
/cts/tests/tests/content/src/android/content/cts/ |
SharedPreferencesTest.java | 303 FileInputStream fis = new FileInputStream(prefsFile); local 306 while ((n = fis.read(buf)) > 0) { 309 fis.close();
|
/system/extras/verity/ |
Utils.java | 205 try (FileInputStream fis = new FileInputStream(fname)) { 207 return (X509Certificate) cf.generateCertificate(fis); 256 FileInputStream fis = new FileInputStream(f); local 258 offset += fis.read(image, (int)offset, (int)(length - offset)); 260 fis.close();
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 185 FileInputStream fis = new FileInputStream(pFile); local 186 fis.read(buffer, 0, count); 187 fis.close();
|
/frameworks/base/services/core/java/com/android/server/am/ |
CompatModePackages.java | 83 FileInputStream fis = null; local 85 fis = mFile.openRead(); 87 parser.setInput(fis, null); 126 if (fis != null) Slog.w(TAG, "Error reading compat-packages", e); 128 if (fis != null) { 130 fis.close();
|
/frameworks/volley/src/com/android/volley/toolbox/ |
DiskBasedCache.java | 152 FileInputStream fis = null; local 154 fis = new FileInputStream(file); 155 CacheHeader entry = CacheHeader.readHeader(fis); 164 if (fis != null) { 165 fis.close();
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
SerializedGrammar.java | 91 FileInputStream fis = new FileInputStream(filename); local 92 BufferedInputStream bos = new BufferedInputStream(fis);
|
/frameworks/base/core/java/com/android/internal/os/ |
TransferPipe.java | 186 final FileInputStream fis; local 195 fis = new FileInputStream(readFd.getFileDescriptor()); 208 while ((size=fis.read(buffer)) > 0) {
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPInputStreamTest.java | 153 FileInputStream fis = new FileInputStream(f); local 156 gzip = new GZIPInputStream(fis, memberSizes[0]);
|
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);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
LocalSource.java | 244 FileInputStream fis = null; local 247 fis = new FileInputStream(data.url); 250 fis = null; 253 return (InputStream) fis;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
AndroidJarLoader.java | 159 FileInputStream fis = new FileInputStream(mOsFrameworkLocation); local 160 ZipInputStream zis = new ZipInputStream(fis); 226 FileInputStream fis = new FileInputStream(mOsFrameworkLocation); local 227 ZipInputStream zis = new ZipInputStream(fis); 370 FileInputStream fis = new FileInputStream(mOsFrameworkLocation); local 371 ZipInputStream zis = new ZipInputStream(fis);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
FileSystemPermissionTest.java | 642 FileInputStream fis = new FileInputStream(f); local 643 while((fis.available() != 0) && (fis.read(b) != -1)) { 647 fis.close(); [all...] |