/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/ |
FileWrapper.java | 96 FileOutputStream fos = null; local 98 fos = new FileOutputStream(this); 103 fos.write(buffer, 0, count); 108 if (fos != null) { 110 fos.close();
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
OpenRandomFileTest.java | 53 FileOutputStream fos = new FileOutputStream(file); local 54 fos.write(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }); 55 fos.close();
|
FileOutputStreamTest.java | 48 FileOutputStream fos; field in class:FileOutputStreamTest 72 fos = new FileOutputStream(tmpDir); 78 f = new File(fileName = System.getProperty("java.io.tmpdir"), "fos.tst"); 79 fos = new FileOutputStream(f); 93 fos = new FileOutputStream(tmpDir, false); 99 f = new File(tmpDirName, "fos.tst"); 100 fos = new FileOutputStream(f, false); 101 fos.write("FZ1".getBytes(), 0, 3); 102 fos.close(); 104 fos = new FileOutputStream(f, true) 424 FileOutputStream fos = new FileOutputStream(tmpfile); local [all...] |
FileDescriptorTest.java | 37 FileOutputStream fos; field in class:FileDescriptorTest 74 fos = new FileOutputStream(f.getPath()); 75 fos.write("Test String".getBytes()); 77 FileDescriptor fd = fos.getFD(); 108 os = new BufferedOutputStream(fos = new FileOutputStream(f 110 FileDescriptor fd = fos.getFD(); 141 fos.close();
|
FileInputStreamTest.java | 96 FileOutputStream fos = new FileOutputStream(fileName); local 97 FileInputStream fis = new FileInputStream(fos.getFD()); 98 fos.close(); 488 java.io.OutputStream fos = new FileOutputStream(fileName); local 489 fos.write(fileString.getBytes()); 490 fos.close();
|
FilterInputStreamTest.java | 432 java.io.OutputStream fos = new java.io.FileOutputStream(fileName); local 433 fos.write(testString.getBytes()); 434 fos.close();
|
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
GenericSignatureFormatErrorTest.java | 85 OutputStream fos = new FileOutputStream(tf); local 86 copy(is, fos); 87 fos.flush(); 88 fos.close();
|
/dalvik/libcore/support/src/test/java/tests/util/ |
FieldTestFileGenerator.java | 42 FileOutputStream fos = null; local 57 fos = new FileOutputStream("testFields.ser"); 58 oos = new ObjectOutputStream(fos); 67 if (fos != null) fos.close(); 72 fos = new FileOutputStream("testFieldsDeprecated.ser"); 73 oos = new ObjectOutputStream(fos); 82 if (fos != null) fos.close(); 87 fos = new FileOutputStream("testFieldsDefaulted.ser") [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
RecoverySystemTest.java | 47 FileOutputStream fos = mContext.openFileOutput(name, 0); local 52 fos.write(b, 0, read); 55 fos.close();
|
/frameworks/base/keystore/java/android/security/ |
SystemKeyStore.java | 92 FileOutputStream fos = new FileOutputStream(keyFile); local 93 fos.write(retKey); 94 fos.flush(); 95 fos.close();
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/handler/ |
BaseFileHandler.java | 189 FileOutputStream fos = null; local 191 fos = new FileOutputStream(output); 192 fos.write(data); 194 if (fos != null) { 195 fos.close();
|
/frameworks/base/core/java/com/android/internal/os/ |
AtomicFile.java | 111 FileOutputStream fos = new FileOutputStream(mBaseName); local 112 fos.close();
|
/frameworks/base/services/java/com/android/server/ |
DiskStatsService.java | 52 FileOutputStream fos = null; local 57 fos = new FileOutputStream(tmp); 58 fos.write(junk); 62 try { if (fos != null) fos.close(); } catch (IOException e) {}
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
RepoSources.java | 144 FileOutputStream fos = null;
local 149 fos = new FileOutputStream(f);
162 props.store( fos, "## User Sources for Android tool"); //$NON-NLS-1$
171 if (fos != null) {
173 fos.close();
|
SamplePackage.java | 371 FileOutputStream fos = null;
local 374 fos = new FileOutputStream(f);
375 props.store( fos, "## Android - hash of this archive."); //$NON-NLS-1$
379 if (fos != null) {
381 fos.close();
|
/dalvik/libcore/luni/src/test/java/com/google/coretests/ |
CoreTestIsolator.java | 97 FileOutputStream fos = new FileOutputStream(fileName); local 98 ObjectOutputStream oos = new ObjectOutputStream(fos);
|
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipEntryTest.java | 609 java.io.FileOutputStream fos = new java.io.FileOutputStream(f); local 612 fos.write(rbuf, 0, rbuf.length); 614 fos.close();
|
/development/tools/makedict/src/com/android/tools/dict/ |
MakeBinaryDictionary.java | 290 FileOutputStream fos = new FileOutputStream(dictFilename); local 291 fos.write(dict, 0, dictSize); 292 fos.close();
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
DeferredFileOutputStream.java | 165 FileOutputStream fos = new FileOutputStream(outputFile);
local 166 memoryOutputStream.writeTo(fos);
167 currentOutputStream = fos;
|
/dalvik/dx/src/junit/runner/ |
BaseTestRunner.java | 43 FileOutputStream fos= new FileOutputStream(getPreferencesFile()); local 45 getPreferences().store(fos, ""); 47 fos.close();
|
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarOutputStreamTest.java | 147 FileOutputStream fos = new FileOutputStream(fooJar); local 155 fos.close(); 157 JarOutputStream joutFoo = new JarOutputStream(fos, man); 173 FileOutputStream fos = new FileOutputStream(fooJar); local 177 JarOutputStream joutFoo = new JarOutputStream(fos); 184 fos.close(); 187 JarOutputStream joutFoo = new JarOutputStream(fos);
|
/dalvik/libcore/luni/src/test/java/junit/runner/ |
BaseTestRunner.java | 43 FileOutputStream fos= new FileOutputStream(getPreferencesFile()); local 45 getPreferences().store(fos, ""); 47 fos.close();
|
/external/junit/src/junit/runner/ |
BaseTestRunner.java | 57 FileOutputStream fos= new FileOutputStream(getPreferencesFile()); local 60 getPreferences().save(fos, ""); 62 fos.close();
|
/frameworks/base/test-runner/src/junit/runner/ |
BaseTestRunner.java | 43 FileOutputStream fos= new FileOutputStream(getPreferencesFile()); local 45 getPreferences().store(fos, ""); 47 fos.close();
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
SettingsController.java | 189 FileOutputStream fos = null;
local 196 fos = new FileOutputStream(f);
198 mProperties.store( fos, "## Settings for Android Tool"); //$NON-NLS-1$
227 if (fos != null) {
229 fos.close();
|