Searched refs:fos (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | IsolatedServiceTest.java | 47 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()
|
D | PermissionTestService.java | 189 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/ |
D | RecoverySystemTest.java | 47 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/ |
D | TextureRender.java | 285 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()
|
D | DecodeEditEncodeTest.java | 889 FileOutputStream fos = null; in saveToFile() local 893 fos = new FileOutputStream(file); in saveToFile() 894 bos = new BufferedOutputStream(fos); in saveToFile() 895 fos = null; // closing bos will also close fos in saveToFile() 909 if (fos != null) { in saveToFile() 910 fos.close(); in saveToFile()
|
D | MediaRecorderTest.java | 299 FileOutputStream fos = new FileOutputStream(OUTPUT_PATH2); in testRecorderVideo() local 300 FileDescriptor fd = fos.getFD(); in testRecorderVideo() 305 fos.close(); in testRecorderVideo()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_FilesTest.java | 215 FileOutputStream fos = mContext.openFileOutput("dummy.dat", Context.MODE_PRIVATE); in testAccess() local 216 fos.write(0); in testAccess() 217 fos.close(); in testAccess() 231 fos = mContext.openFileOutput("dummy.dat", Context.MODE_WORLD_READABLE); in testAccess() 232 fos.write(0); in testAccess() 233 fos.close(); in testAccess()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SharedPreferencesTest.java | 294 FileOutputStream fos = new FileOutputStream(prefsFileClone); in testTorture2() local 299 fos.write(buf, 0, n); in testTorture2() 302 fos.close(); in testTorture2()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | PhotoCaptureActivity.java | 277 FileOutputStream fos = new FileOutputStream(pictureFile); in onPictureTaken() local 278 fos.write(data); in onPictureTaken() 279 fos.close(); in onPictureTaken()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebSettingsTest.java | 798 FileOutputStream fos = mContext.openFileOutput(filename, Context.MODE_PRIVATE); 799 fos.write(content.getBytes()); 800 fos.close();
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 43369 private android.net.LocalSocketImpl$SocketOutputStream fos
|