Searched refs:fout (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 182 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()
|
D | ParcelFileDescriptorTest.java | 451 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()
|
D | BinderTest.java | 409 public void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in dump() argument 410 super.dump(fd, fout, args); in dump()
|
/cts/apps/CameraITS/tools/ |
D | run_all_tests.py | 106 def run_subprocess_with_timeout(cmd, fout, ferr, outdir): argument 120 cmd, stdout=fout, stderr=ferr, cwd=outdir) 325 with open(dump_path, 'w') as fout: 326 fout.write('ITS minimum supported SDK version is %d\n--\n' % (MIN_SUPPORTED_SDK_VERSION)) 327 fout.flush() 328 ret_code = subprocess.call(cmd.split(), stdout=fout) 516 with open(outpath, 'w') as fout, open(errpath, 'w') as ferr: 518 cmd, fout, ferr, outdir)
|
D | run_sensor_fusion_box.py | 131 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/ |
D | MockContentProvider.java | 394 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()
|