Home
last modified time | relevance | path

Searched refs:fout (Results 1 – 6 of 6) 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.java451 FileOutputStream fout = null; in makeParcelFileDescriptor() local
453 fout = con.openFileOutput(fileName, Context.MODE_PRIVATE); in makeParcelFileDescriptor()
456 fout.write(new byte[] { 0x0, 0x1, 0x2, 0x3 }); in makeParcelFileDescriptor()
458 fout.close(); in makeParcelFileDescriptor()
DBinderTest.java409 public void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in dump() argument
410 super.dump(fd, fout, args); in dump()
/cts/apps/CameraITS/tools/
Drun_all_tests.py106 def run_subprocess_with_timeout(cmd, fout, ferr, outdir): argument
120 cmd, stdout=fout, stderr=ferr, cwd=outdir)
319 with open(dump_path, 'w') as fout:
320 fout.write('ITS minimum supported SDK version is %d\n--\n' % (MIN_SUPPORTED_SDK_VERSION))
321 fout.flush()
322 ret_code = subprocess.call(cmd.split(), stdout=fout)
518 with open(outpath, 'w') as fout, open(errpath, 'w') as ferr:
520 cmd, fout, ferr, outdir)
Drun_sensor_fusion_box.py131 with open(outpath, 'w') as fout, open(errpath, 'w') as ferr:
133 cmd, stderr=ferr, stdout=fout, cwd=outdir)
/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java394 FileOutputStream fout = new FileOutputStream(output.getFileDescriptor()); in writeDataToPipe() local
397 pw = new PrintWriter(new OutputStreamWriter(fout, "UTF-8")); in writeDataToPipe()
406 fout.close(); in writeDataToPipe()