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

1 2 3 4 5 6 7 8 9

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileOutputStreamTest.java 33 FileOutputStream fos; field in class:FileOutputStreamTest
49 f = new File(fileName = System.getProperty("user.home"), "fos.tst");
50 fos = new FileOutputStream(f);
57 f = new File(fileName = System.getProperty("user.home"), "fos.tst");
59 fos = new FileOutputStream(fileName);
60 fos.write('l');
61 fos.close();
63 fos = new FileOutputStream(fis.getFD());
64 fos.close();
72 f = new File(fileName = System.getProperty("user.home"), "fos.tst")
268 FileOutputStream fos = new FileOutputStream(tmpfile); local
280 FileOutputStream fos = new FileOutputStream(tmpfile, true); local
301 FileOutputStream fos = new FileOutputStream(tmpfile, false); local
322 FileOutputStream fos = new FileOutputStream(tmpfile, false); local
336 FileOutputStream fos = new FileOutputStream(tmpfile, false); local
351 FileOutputStream fos = new FileOutputStream(tmpfile, true); local
365 FileOutputStream fos = new FileOutputStream(tmpfile, true); local
    [all...]
SyncFailedExceptionTest.java 35 FileOutputStream fos = new FileOutputStream(f.getPath()); local
36 FileDescriptor fd = fos.getFD();
37 fos.close();
FileDescriptorTest.java 35 FileOutputStream fos; field in class:FileDescriptorTest
58 fos = new FileOutputStream(f.getPath());
59 fos.write("Test String".getBytes());
61 FileDescriptor fd = fos.getFD();
85 os = new BufferedOutputStream(fos = new FileOutputStream(f.getPath()),
87 FileDescriptor fd = fos.getFD();
107 fos.close();
OpenRandomFileTest.java 40 FileOutputStream fos = new FileOutputStream(file); local
41 fos.write(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 });
42 fos.close();
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...]
  /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...]
  /libcore/luni/src/test/java/libcore/java/io/
FileOutputStreamTest.java 63 FileOutputStream fos = new FileOutputStream(File.createTempFile("FileOutputStreamTest", "tmp")); local
66 fos.close();
67 fos.close();
69 fos.flush();
74 fos.write(bytes);
79 fos.write(bytes, 0, 2);
84 fos.write(42);
90 fos.write(new byte[0], 0, 0);
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();
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
GenericSignatureFormatErrorTest.java 63 OutputStream fos = new FileOutputStream(tf); local
64 copy(is, fos);
65 fos.flush();
66 fos.close();
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ContextTest.java 108 FileOutputStream fos = null; local
110 fos = new FileOutputStream(cacheTest);
111 fos.write("test".getBytes());
113 if (fos != null)
114 fos.close();
126 FileOutputStream fos = null; local
128 fos = new FileOutputStream(cacheTest);
129 fos.write("test".getBytes());
131 if (fos != null)
132 fos.close()
214 FileOutputStream fos = null; local
    [all...]
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DeflaterOutputStreamTest.java 89 FileOutputStream fos = new FileOutputStream(f1); local
94 dos = new MyDeflaterOutputStream(fos, defl);
99 dos = new MyDeflaterOutputStream(fos, defl);
115 FileOutputStream fos = new FileOutputStream(f1); local
116 MyDeflaterOutputStream dos = new MyDeflaterOutputStream(fos);
138 FileOutputStream fos = new FileOutputStream(f1); local
144 dos = new MyDeflaterOutputStream(fos, defl, buf);
152 dos = new MyDeflaterOutputStream(fos, defl, negBuf);
159 dos = new MyDeflaterOutputStream(fos, defl, zeroBuf);
166 dos = new MyDeflaterOutputStream(fos, defl, buf)
187 FileOutputStream fos = new FileOutputStream(f1); local
289 FileOutputStream fos = new FileOutputStream(f1); local
393 FileOutputStream fos = new FileOutputStream(f1); local
    [all...]
  /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);
  /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);
  /cts/tests/tests/uidisolation/src/android/uidisolation/cts/
IsolatedServiceTest.java 47 FileOutputStream fos = mActivity.openFileOutput(PermissionTestService.FILE_NAME, 0); local
49 fos.write(content, 0, content.length);
50 fos.close();
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
FileUtils.java 104 FileOutputStream fos = null; local
113 fos = context.openFileOutput(filename, Context.MODE_WORLD_READABLE);
114 if (!bitmap.compress(CompressFormat.JPEG, 100, fos)) {
126 if (fos != null) {
127 fos.flush();
128 fos.close();
195 FileOutputStream fos = null; local
199 fos = context.openFileOutput(filename, Context.MODE_WORLD_READABLE);
203 fos.write(buffer, 0, bytesRead);
210 if (fos != null)
    [all...]
  /frameworks/base/keystore/java/android/security/
SystemKeyStore.java 94 FileOutputStream fos = new FileOutputStream(keyFile); local
95 fos.write(retKey);
96 fos.flush();
97 FileUtils.sync(fos);
98 fos.close();
  /frameworks/base/services/java/com/android/server/
DiskStatsService.java 54 FileOutputStream fos = null; local
59 fos = new FileOutputStream(tmp);
60 fos.write(junk);
64 try { if (fos != null) fos.close(); } catch (IOException e) {}
  /frameworks/base/services/java/com/android/server/am/
ProcessList.java 224 FileOutputStream fos = null; local
226 fos = new FileOutputStream(path);
227 fos.write(data.getBytes());
231 if (fos != null) {
233 fos.close();
  /frameworks/base/core/java/android/app/
WallpaperManager.java 492 FileOutputStream fos = null; local
494 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd);
495 setWallpaper(resources.openRawResource(resid), fos); local
497 if (fos != null) {
498 fos.close();
530 FileOutputStream fos = null; local
532 fos = new ParcelFileDescriptor.AutoCloseOutputStream(fd);
533 bitmap.compress(Bitmap.CompressFormat.PNG, 90, fos);
535 if (fos != null) {
536 fos.close()
569 FileOutputStream fos = null; local
    [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();
  /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/Mms/tests/SmsAutoReply/src/com/android/smsautoreply/
AutoReplyActivity.java 84 FileOutputStream fos = new FileOutputStream(logFile, true); local
85 fos.write(logMsg.getBytes());
86 fos.flush();
87 fos.close();
  /bionic/libc/kernel/arch-x86/asm/
user32.h 30 u32 fos; member in struct:user_i387_ia32_struct
44 int fos; member in struct:user32_fxsr_struct
user_32.h 31 long fos; member in struct:user_i387_struct
45 long fos; member in struct:user_fxsr_struct
  /development/ndk/platforms/android-9/arch-x86/include/asm/
user32.h 30 u32 fos; member in struct:user_i387_ia32_struct
44 int fos; member in struct:user32_fxsr_struct

Completed in 711 milliseconds

1 2 3 4 5 6 7 8 9