Home
last modified time | relevance | path

Searched defs:fos (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogManagerTest.java160 try (FileOutputStream fos = new FileOutputStream(uniqueFile)) { in writeToDisk()
168 private static void writeToFos(FileOutputStream fos, long maxSize) throws IOException { in writeToFos()
DCarWatchdogDaemonTest.java109 private static void writeToFos(FileOutputStream fos, long maxSize) throws IOException { in writeToFos()
136 FileOutputStream fos = new FileOutputStream(uniqueFile); in writeToDisk() local
/cts/tests/tests/content/src/android/content/cts/
DSyncStorageEngineTest.java47 FileOutputStream fos = accountInfoFile.startWrite(); in testMalformedAuthority() local
DSharedPreferencesTest.java307 FileOutputStream fos = new FileOutputStream(prefsFileClone); in testTorture2() local
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/
DAtomicFileHelperTest.java85 FileOutputStream fos = atomicFile.startWrite(); in testAtomicFileWithNonExistedBaseFile() local
117 FileOutputStream fos = atomicFile.startWrite(); in testAtomicFileWithFailedWrite() local
/cts/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java49 OutputStream fos = new FileOutputStream(tf); in setUp() local
DRecoverySystemTest.java47 FileOutputStream fos = mContext.openFileOutput(name, 0); in getAsset() local
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DIsolatedServiceTest.java48 FileOutputStream fos = mActivity.openFileOutput(PermissionTestService.FILE_NAME, 0); in setUp() local
DPermissionTestService.java191 FileOutputStream fos = null; in testFileWriteAccess() local
/cts/hostsidetests/appsecurity/test-apps/InstantUpgradeApp/src/com/android/cts/instantupgradeapp/
DClientTest.java60 try (FileOutputStream fos = InstrumentationRegistry in testInstantApplicationWriteFile()
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java388 try (OutputStream fos = getContentResolver().openOutputStream(uri, "rw")) { in testInsertHiddenFile()
664 try (final FileOutputStream fos = new FileOutputStream(imageFile)) { in testRenameDoesntInvalidateUri_hasRW()
673 try (final FileOutputStream fos = new FileOutputStream(temporaryImageFile, true)) { in testRenameDoesntInvalidateUri_hasRW()
832 try (final OutputStream fos = getContentResolver().openOutputStream(uri, "rw")) { in testInsertWithUnsupportedMimeType()
866 try (FileOutputStream fos = new FileOutputStream(otherAppVideoFile)) { in testLegacySystemGalleryCanRenameImagesAndVideosWithoutDbUpdates()
950 try (FileOutputStream fos = new FileOutputStream(otherAppVideoFile)) { in testLegacyWESCanRenameImagesAndVideosWithDbUpdates_hasW()
/cts/hostsidetests/car/app/src/android/car/cts/app/
DCarWatchdogTestActivity.java238 try (FileOutputStream fos = new FileOutputStream(uniqueFile)) { in writeToFile()
269 private long writeToFos(FileOutputStream fos, long remainingBytes) { in writeToFos()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApkNdkApiReport.java151 FileOutputStream fos = new FileOutputStream(tempFile); in parseTestcasesFolder() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaTextureRender.java289 FileOutputStream fos = null; in saveFrame() local
/cts/tests/tests/media/common/src/android/media/cts/
DTextureRender.java285 FileOutputStream fos = null; in saveFrame() local
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java374 try (FileOutputStream fos = new FileOutputStream(new File(cur, name))) { in testExternalStorageRename()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DReportExporter.java209 FileOutputStream fos = new FileOutputStream(verifierReport); in saveReportOnInternalStorage() local
/cts/tests/media/src/android/mediav2/cts/
DTextureRender.java319 FileOutputStream fos = null; in saveFrame() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DShellCommandUtils.java265 try (FileOutputStream fos = new ParcelFileDescriptor.AutoCloseOutputStream(fdIn)) { in writeStdInAndClose()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java426 try (FileOutputStream fos = new FileOutputStream(file)) { in testCreateFileInAppExternalDir()
509 try (FileOutputStream fos = new FileOutputStream(imageFile)) { in testContributeMediaFile()
1118 try (FileOutputStream fos = new FileOutputStream(file, append)) { in writeAndCheckMtime()
1511 try (FileOutputStream fos = new FileOutputStream(otherAppImageFile)) { in testSystemGalleryAppHasFullAccessToImages()
1587 try (FileOutputStream fos = new FileOutputStream(otherAppVideoFile)) { in testSystemGalleryCanRenameImagesAndVideos()
1902 try (FileOutputStream fos = new FileOutputStream(hiddenImageFile)) { in testCanCreateHiddenFile()
3078 try (FileOutputStream fos = new FileOutputStream(file)) { in assertCanWriteAndRead()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java306 FileOutputStream fos = new FileOutputStream(pictureFile); in onPictureTaken() local
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java135 FileOutputStream fos = new FileOutputStream(file); in dumpYuvToExternal() local
DMediaTranscodingManagerTest.java604 FileOutputStream fos = new FileOutputStream(file); in transcodeFile() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java1075 FileOutputStream fos = mContext.openFileOutput(filename, Context.MODE_PRIVATE); in writeFile() local
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java824 FileOutputStream fos = new FileOutputStream(output.getFileDescriptor()); in writeBlankPages() local

12