Home
last modified time | relevance | path

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

12

/cts/tests/tests/security/src/android/security/cts/
DFileIntegrityManagerTest.java147 var fos = new FileOutputStream(file); in testFailToEnableWithOpenedWritableFd() local
171 try (var fos = new FileOutputStream(file)) { in createTestFile()
/cts/tests/tests/content/src/android/content/cts/
DSyncStorageEngineTest.java47 FileOutputStream fos = accountInfoFile.startWrite(); in ignore_testMalformedAuthority() 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.java54 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.java192 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/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/
DAudioStreamHelper.java43 try (OutputStream fos = in createFakeAudioStreamPipe()
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java387 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()
837 try (OutputStream fos = getContentResolver().openOutputStream(uri, "rw")) { in assertFileInsertWithMimeType()
870 try (FileOutputStream fos = new FileOutputStream(otherAppVideoFile)) { in testLegacySystemGalleryCanRenameImagesAndVideosWithoutDbUpdates()
954 try (FileOutputStream fos = new FileOutputStream(otherAppVideoFile)) { in testLegacyWESCanRenameImagesAndVideosWithDbUpdates_hasW()
/cts/hostsidetests/packagemanager/deletekeepdata/app/src/com/android/tests/deletekeepdata/app/
DDeleteKeepDataDeviceTest.java67 try (FileOutputStream fos = new FileOutputStream(externalFile)) { in testWriteData()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerTraceMonitor.java120 try (FileOutputStream fos = new ParcelFileDescriptor.AutoCloseOutputStream(fdStdin)) { in executeShellCommand()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApkNdkApiReport.java153 FileOutputStream fos = new FileOutputStream(tempFile); in parseTestcasesFolder() local
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/
DHelper.java193 try (OutputStream fos = in createFakeAudioStream()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaTextureRender.java289 FileOutputStream fos = null; in saveFrame() local
/cts/tests/mediapc/src/android/mediapc/cts/
DTextureRender.java285 FileOutputStream fos = null; in saveFrame() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/
DSharesheetTestImageProvider.java97 try (FileOutputStream fos = new FileOutputStream(fd.getFileDescriptor())) { in sendBitmap()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java375 try (FileOutputStream fos = new FileOutputStream(new File(cur, name))) { in testExternalStorageRename()
/cts/tests/tests/media/common/src/android/media/cts/
DTextureRender.java296 FileOutputStream fos = null; in saveFrame() local
/cts/tests/media/common/src/android/mediav2/common/cts/
DTextureRender.java319 FileOutputStream fos = null; in saveFrame() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DReportExporter.java217 FileOutputStream fos = new FileOutputStream(verifierReport); in saveReportOnInternalStorage() local
/cts/hostsidetests/car/app/src/android/car/cts/app/watchdog/
DCarWatchdogDeviceAppTest.java315 try (FileOutputStream fos = new FileOutputStream(mTestFile)) { in writeConfigsToDisk()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DMetricsRecorder.java185 try (var fos = new AutoCloseOutputStream(fdIn)) { in runShellCommandWithStdIn()
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java437 try (FileOutputStream fos = new FileOutputStream(file)) { in testCreateFileInAppExternalDir()
520 try (FileOutputStream fos = new FileOutputStream(imageFile)) { in testContributeMediaFile()
1148 try (FileOutputStream fos = new FileOutputStream(file, append)) { in writeAndCheckMtime()
1549 try (FileOutputStream fos = new FileOutputStream(otherAppImageFile)) { in testSystemGalleryAppHasFullAccessToImages()
1629 try (FileOutputStream fos = new FileOutputStream(otherAppVideoFile)) { in testSystemGalleryCanRenameImagesAndVideos()
1995 try (FileOutputStream fos = new FileOutputStream(hiddenImageFile)) { in testCanCreateHiddenFile()
3240 try (FileOutputStream fos = new FileOutputStream(file)) { in assertCanWriteAndRead()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DShellCommandUtils.java314 try (FileOutputStream fos = new ParcelFileDescriptor.AutoCloseOutputStream(fdIn)) { in writeStdInAndClose()

12