/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipEntryTest.java | 463 java.io.FileOutputStream fos = new java.io.FileOutputStream(f); local 465 fos.write(rbuf, 0, rbuf.length); 467 fos.close();
|
ZipFileTest.java | 382 FileOutputStream fos = new FileOutputStream(f); local 384 fos.write(rbuf, 0, rbuf.length); 386 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;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadUtils.java | 35 FileOutputStream fos = null; local 37 fos = new FileOutputStream(file); 38 return download(jc, url, fos); 42 Utils.closeSilently(fos);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarOutputStreamTest.java | 108 FileOutputStream fos = new FileOutputStream(fooJar); local 116 fos.close(); 118 new JarOutputStream(fos, man); 125 new JarOutputStream(fos, null); 135 FileOutputStream fos = new FileOutputStream(fooJar); local 139 JarOutputStream joutFoo = new JarOutputStream(fos); 146 fos.close(); 149 JarOutputStream joutFoo = new JarOutputStream(fos);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FileWriterTest.java | 41 FileOutputStream fos; field in class:FileWriterTest 49 fos = new FileOutputStream(f.getPath()); 50 fos.write("Test String".getBytes()); 51 fos.close(); 105 fos = new FileOutputStream(f.getPath()); 106 fos.write("Test String".getBytes()); 107 fos.close(); 122 fos = new FileOutputStream(f.getPath()); 123 fos.write("Test String".getBytes()); 124 fos.close() [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
AbstractHeightMap.java | 257 FileOutputStream fos = new FileOutputStream(filename);
local 258 DataOutputStream dos = new DataOutputStream(fos);
265 fos.close();
|
/external/junit/src/junit/runner/ |
BaseTestRunner.java | 57 FileOutputStream fos= new FileOutputStream(getPreferencesFile()); local 59 getPreferences().store(fos, ""); 61 fos.close();
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
BandwidthTestUtil.java | 108 FileOutputStream fos = new FileOutputStream(file); local 109 fos.write(baf.toByteArray()); 110 fos.close();
|
/frameworks/base/services/java/com/android/server/am/ |
ProcessList.java | 206 FileOutputStream fos = null; local 208 fos = new FileOutputStream(path); 209 fos.write(data.getBytes()); 213 if (fos != null) { 215 fos.close();
|
TransferPipe.java | 185 final FileOutputStream fos = new FileOutputStream(mOutFd); local 199 fos.write(buffer, 0, size); 205 fos.write(buffer, start, i-start); 209 fos.write(bufferPrefix); 221 fos.write(buffer, start, size-start);
|
/frameworks/base/test-runner/src/junit/runner/ |
BaseTestRunner.java | 57 FileOutputStream fos= new FileOutputStream(getPreferencesFile()); local 59 getPreferences().store(fos, ""); 61 fos.close();
|
/libcore/luni/src/test/java/libcore/java/io/ |
FileInputStreamTest.java | 44 FileOutputStream fos = new FileOutputStream(mOutFd); local 50 fos.write(buffer); 52 IoUtils.closeQuietly(fos); 95 FileOutputStream fos = new FileOutputStream(tmp); local 96 fos.write(1); 97 fos.write(1); 98 fos.close();
|
OldBufferedInputStreamTest.java | 209 OutputStream fos = new FileOutputStream(fileName); local 210 fos.write(fileString.getBytes()); 211 fos.close();
|
OldFileInputStreamTest.java | 198 java.io.OutputStream fos = new FileOutputStream(fileName); local 199 fos.write(fileString.getBytes()); 200 fos.close();
|
OldFilterInputStreamTest.java | 305 java.io.OutputStream fos = new java.io.FileOutputStream(fileName); local 306 fos.write(testString.getBytes()); 307 fos.close();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoStore.java | 196 FileOutputStream fos = new FileOutputStream(file); local 197 fos.write(photoBytes); 198 fos.close();
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/ |
SdkSourceProperties.java | 219 FileOutputStream fos = null;
local 224 fos = new FileOutputStream(f);
226 sSourcesProperties.store(fos,"## Sites Settings for Android SDK Manager");//$NON-NLS-1$
233 if (fos != null) {
235 fos.close();
|
SdkSources.java | 326 FileOutputStream fos = null;
local 331 fos = new FileOutputStream(f);
343 props.store( fos, "## User Sources for Android SDK Manager"); //$NON-NLS-1$
352 if (fos != null) {
354 fos.close();
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
SettingsController.java | 198 FileOutputStream fos = null;
local 205 fos = new FileOutputStream(f);
207 mProperties.store( fos, "## Settings for Android Tool"); //$NON-NLS-1$
236 if (fos != null) {
238 fos.close();
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/ |
ShellSizeAndPos.java | 146 FileOutputStream fos = null;
local 151 fos = new FileOutputStream(f);
153 props.store(fos, "## Size and Pos for SDK Manager Windows"); //$NON-NLS-1$
158 if (fos != null) {
160 fos.close();
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipFileTest.java | 466 FileOutputStream fos = new FileOutputStream(f); local 468 fos.write(rbuf, 0, rbuf.length); 470 fos.close();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
TestActivity.java | 500 FileOutputStream fos = null; local 508 fos = new FileOutputStream(f); 513 fos.write(b, 0, len); 516 fos.close(); 520 if (fos != null) { 522 fos.close();
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
SyncService.java | 523 FileOutputStream fos = null; local 525 fos = new FileOutputStream(f); 565 fos.write(data, 0, length); 570 fos.flush();
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSerializerFoo.java | 60 FileOutputStream fos = new FileOutputStream(filename); local 61 BufferedOutputStream bos = new BufferedOutputStream(fos);
|