Home
last modified time | relevance | path

Searched refs:fos (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DIsolatedServiceTest.java47 FileOutputStream fos = mActivity.openFileOutput(PermissionTestService.FILE_NAME, 0); in setUp() local
49 fos.write(content, 0, content.length); in setUp()
50 fos.close(); in setUp()
DPermissionTestService.java189 FileOutputStream fos = null; in testFileWriteAccess() local
191 fos = getApplication().openFileOutput("writeable_file", 0); in testFileWriteAccess()
193 fos.write(content, 0, content.length); in testFileWriteAccess()
201 if (fos != null) { in testFileWriteAccess()
203 fos.close(); in testFileWriteAccess()
/cts/tests/tests/os/src/android/os/cts/
DRecoverySystemTest.java47 FileOutputStream fos = mContext.openFileOutput(name, 0); in getAsset() local
52 fos.write(b, 0, read); in getAsset()
55 fos.close(); in getAsset()
/cts/tests/tests/media/src/android/media/cts/
DTextureRender.java285 FileOutputStream fos = null; in saveFrame() local
287 fos = new FileOutputStream(filename); in saveFrame()
289 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); in saveFrame()
295 if (fos != null) fos.close(); in saveFrame()
DDecodeEditEncodeTest.java880 FileOutputStream fos = null; in saveToFile() local
884 fos = new FileOutputStream(file); in saveToFile()
885 bos = new BufferedOutputStream(fos); in saveToFile()
886 fos = null; // closing bos will also close fos in saveToFile()
900 if (fos != null) { in saveToFile()
901 fos.close(); in saveToFile()
DMediaRecorderTest.java331 FileOutputStream fos = new FileOutputStream(OUTPUT_PATH2); in testRecorderVideo() local
332 FileDescriptor fd = fos.getFD(); in testRecorderVideo()
337 fos.close(); in testRecorderVideo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaTextureRender.java289 FileOutputStream fos = null; in saveFrame() local
291 fos = new FileOutputStream(filename); in saveFrame()
293 bmp.compress(Bitmap.CompressFormat.PNG, 90, fos); in saveFrame()
299 if (fos != null) fos.close(); in saveFrame()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_FilesTest.java266 FileOutputStream fos = mContext.openFileOutput("dummy.dat", Context.MODE_PRIVATE); in testAccess() local
267 fos.write(0); in testAccess()
268 fos.close(); in testAccess()
282 fos = mContext.openFileOutput("dummy.dat", Context.MODE_WORLD_READABLE); in testAccess()
283 fos.write(0); in testAccess()
284 fos.close(); in testAccess()
/cts/tests/tests/content/src/android/content/cts/
DSharedPreferencesTest.java302 FileOutputStream fos = new FileOutputStream(prefsFileClone); in testTorture2() local
307 fos.write(buf, 0, n); in testTorture2()
310 fos.close(); in testTorture2()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java275 FileOutputStream fos = new FileOutputStream(pictureFile); in onPictureTaken() local
276 fos.write(data); in onPictureTaken()
277 fos.close(); in onPictureTaken()
/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java501 FileOutputStream fos = new FileOutputStream(output.getFileDescriptor()); in writeBlankPages() local
502 document.writeTo(fos); in writeBlankPages()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java946 FileOutputStream fos = mContext.openFileOutput(filename, Context.MODE_PRIVATE);
947 fos.write(content.getBytes());
948 fos.close();
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...