Home
last modified time | relevance | path

Searched refs:fout (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DFileAccessPermissionTest.java182 FileOutputStream fout = null; in writeFileCheck() local
186 fout = new FileOutputStream(file); in writeFileCheck()
187 fout.write(data); in writeFileCheck()
188 fout.flush(); in writeFileCheck()
189 fout.close(); in writeFileCheck()
190 fout = null; in writeFileCheck()
202 if (fout != null) { in writeFileCheck()
204 fout.close(); in writeFileCheck()
DParcelFileDescriptorTest.java469 FileOutputStream fout = null; in makeParcelFileDescriptor() local
471 fout = con.openFileOutput(fileName, Context.MODE_PRIVATE); in makeParcelFileDescriptor()
474 fout.write(new byte[] { 0x0, 0x1, 0x2, 0x3 }); in makeParcelFileDescriptor()
476 fout.close(); in makeParcelFileDescriptor()
DBinderTest.java427 public void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in dump() argument
428 super.dump(fd, fout, args); in dump()
/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java424 FileOutputStream fout = new FileOutputStream(output.getFileDescriptor()); in writeDataToPipe() local
427 pw = new PrintWriter(new OutputStreamWriter(fout, "UTF-8")); in writeDataToPipe()
436 fout.close(); in writeDataToPipe()