Home
last modified time | relevance | path

Searched refs:FileOutputStream (Results 1 – 25 of 164) sorted by relevance

1234567

/cts/tests/tests/os/src/android/os/cts/
DFileUtilsTest.java32 import java.io.FileOutputStream;
74 FileOutputStream out = new FileOutputStream(mActual)) { in testCopyFileStream()
84 FileOutputStream out = new FileOutputStream(mActual)) { in testCopyFileStreamListener()
95 FileOutputStream out = new FileOutputStream(mActual)) { in testCopyFileDescriptor()
105 FileOutputStream out = new FileOutputStream(mActual)) { in testCopyFileDescriptorListener()
DParcelFileDescriptor_AutoCloseOutputStreamTest.java19 import java.io.FileOutputStream;
50 try (FileOutputStream out = new AutoCloseOutputStream(pfd)) { in testCloseOrdering()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DMain.java22 import java.io.FileOutputStream;
59 FileOutputStream output = in main()
60 new FileOutputStream( in main()
66 FileOutputStream txtOutput = in main()
67 new FileOutputStream( in main()
91 FileOutputStream tsOutput = in main()
92 new FileOutputStream(getPathString(outputPath, "%s-TestSuite.pb", relNameVer)); in main()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DFileUtils.java21 import java.io.FileOutputStream;
114 FileOutputStream out = new FileOutputStream(destFile); in copyToFile()
141 FileOutputStream output = new FileOutputStream(file); in createFile()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFileUtils.java21 import java.io.FileOutputStream;
114 FileOutputStream out = new FileOutputStream(destFile); in copyToFile()
141 FileOutputStream output = new FileOutputStream(file); in createFile()
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyBackupAgent.java32 import java.io.FileOutputStream;
86 new FileOutputStream(fileToRestore))) { in onRestore()
96 FileOutputStream outstream = new FileOutputStream(newState.getFileDescriptor()); in onRestore()
/cts/tests/tests/permission/src/android/permission/cts/
DNoSdCardWritePermissionTest.java29 import java.io.FileOutputStream;
46 FileOutputStream strm = new FileOutputStream(fl); in testWriteExternalStorage()
DCameraPermissionTest.java24 import java.io.FileOutputStream;
56 FileOutputStream s = new FileOutputStream(CAMERA_IMAGE_PATH); in onPictureTaken()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DDumpOnFailureRule.java35 import java.io.FileOutputStream;
57 try (FileOutputStream out = new FileOutputStream(dumpFile)) { in onTestFailure()
73 void dumpCommandOutput(FileOutputStream out, String cmd) { in dumpCommandOutput()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DMediaStoreSaver.java28 import java.io.FileOutputStream;
52 FileOutputStream fOut = new FileOutputStream(file); in savePNG()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java51 import java.io.FileOutputStream;
138 FileOutputStream fileStream = null; in testSingleImageBasic()
170 fileStream = new FileOutputStream(dngFilePath); in testSingleImageBasic()
214 FileOutputStream fileStream = null; in testSingleImageThumbnail()
278 fileStream = new FileOutputStream(filePath); in testSingleImageThumbnail()
375 FileOutputStream fileStream = null; in testRaw16JpegConsistency()
412 fileStream = new FileOutputStream(dngFilePath); in testRaw16JpegConsistency()
421 fileChannel = new FileOutputStream(jpegFilePath).getChannel(); in testRaw16JpegConsistency()
432 fileStream = new FileOutputStream(rawFilePath); in testRaw16JpegConsistency()
483 try (FileOutputStream fileStream = new FileOutputStream(dngFilePath)) { in testDngRenderingByBitmapFactor()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DBitmapFactorySecurityTests.java26 import java.io.FileOutputStream;
41 FileOutputStream output = new FileOutputStream(file); in getResource()
DServicePermissionsTest.java29 import java.io.FileOutputStream;
104 final FileOutputStream out = new FileOutputStream(mTempFile); in testDumpProtected()
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DAppComponentFactoryTest.java29 import java.io.FileOutputStream;
47 FileOutputStream os = new FileOutputStream(outFile); in writeSecondaryApkToDisk()
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateBitmapTask.java28 import java.io.FileOutputStream;
79 FileOutputStream stream = null; in doInBackground()
81 stream = new FileOutputStream(file); in doInBackground()
/cts/tests/tests/webkit/src/android/webkit/cts/
DMockContentProvider.java29 import java.io.FileOutputStream;
83 FileOutputStream outputStream = new FileOutputStream(output.getFileDescriptor()); in writeDataToPipe()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java33 import java.io.FileOutputStream;
103 FileOutputStream outputStream = null; in createFileAndShare()
106 outputStream = new FileOutputStream(file); in createFileAndShare()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java32 import java.io.FileOutputStream;
66 FileOutputStream file = null; in sampleImage()
68 file = new FileOutputStream(fileName); in sampleImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCANotifyOnBootActivity.java17 import java.io.FileOutputStream;
63 FileOutputStream os = null; in onClick()
67 os = new FileOutputStream(certStagingFile); in onClick()
DCAInstallNotificationVerifierActivity.java31 import java.io.FileOutputStream;
98 FileOutputStream os = null; in performTest()
102 os = new FileOutputStream(certStagingFile); in performTest()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfDocumentTest.java39 import java.io.FileOutputStream;
76 OutputStream os = new FileOutputStream(File.createTempFile("tmp", "pdf", mCacheDir)); in writeClosedDoc()
119 try (OutputStream os = new FileOutputStream(pdfFile)) { in writeEmptyDoc()
133 try (OutputStream os = new FileOutputStream(pdfFile)) { in writeWithOpenPage()
186 try (OutputStream os = new FileOutputStream(pdfFile)) { in writeTwoPageDocWithSameIndex()
239 try (OutputStream os = new FileOutputStream(page1File)) { in writeTwoPageDoc()
263 try (OutputStream os = new FileOutputStream(page2File)) { in writeTwoPageDoc()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerNotificationTest.java26 import java.io.FileOutputStream;
94 FileOutputStream out = new FileOutputStream(foo); in createTempFiles()
/cts/hostsidetests/theme/src/android/theme/cts/
DThemeHostTest.java33 import java.io.FileOutputStream;
116 try (FileOutputStream out = new FileOutputStream(tmp)) { in extractReferenceImages()
204 try (FileOutputStream pngOutput = new FileOutputStream(actual)) { in extractGeneratedImages()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DIsolatedServiceTest.java25 import java.io.FileOutputStream;
48 FileOutputStream fos = mActivity.openFileOutput(PermissionTestService.FILE_NAME, 0); in setUp()
/cts/tests/backup/app/src/android/backup/app/
DMainActivity.java25 import java.io.FileOutputStream;
71 try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(f))) { in createFile()

1234567