/cts/tests/tests/os/src/android/os/cts/ |
D | FileUtilsTest.java | 32 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()
|
D | ParcelFileDescriptor_AutoCloseOutputStreamTest.java | 19 import java.io.FileOutputStream; 50 try (FileOutputStream out = new AutoCloseOutputStream(pfd)) { in testCloseOrdering()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | Main.java | 22 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/ |
D | FileUtils.java | 21 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/ |
D | FileUtils.java | 21 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/ |
D | FullBackupOnlyBackupAgent.java | 32 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/ |
D | NoSdCardWritePermissionTest.java | 29 import java.io.FileOutputStream; 46 FileOutputStream strm = new FileOutputStream(fl); in testWriteExternalStorage()
|
D | CameraPermissionTest.java | 24 import java.io.FileOutputStream; 56 FileOutputStream s = new FileOutputStream(CAMERA_IMAGE_PATH); in onPictureTaken()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | DumpOnFailureRule.java | 35 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/ |
D | MediaStoreSaver.java | 28 import java.io.FileOutputStream; 52 FileOutputStream fOut = new FileOutputStream(file); in savePNG()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 51 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/ |
D | BitmapFactorySecurityTests.java | 26 import java.io.FileOutputStream; 41 FileOutputStream output = new FileOutputStream(file); in getResource()
|
D | ServicePermissionsTest.java | 29 import java.io.FileOutputStream; 104 final FileOutputStream out = new FileOutputStream(mTempFile); in testDumpProtected()
|
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/ |
D | AppComponentFactoryTest.java | 29 import java.io.FileOutputStream; 47 FileOutputStream os = new FileOutputStream(outFile); in writeSecondaryApkToDisk()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateBitmapTask.java | 28 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/ |
D | MockContentProvider.java | 29 import java.io.FileOutputStream; 83 FileOutputStream outputStream = new FileOutputStream(output.getFileDescriptor()); in writeDataToPipe()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
D | SampleTestActivity.java | 33 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/ |
D | ByodIconSamplerActivity.java | 32 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/ |
D | CANotifyOnBootActivity.java | 17 import java.io.FileOutputStream; 63 FileOutputStream os = null; in onClick() 67 os = new FileOutputStream(certStagingFile); in onClick()
|
D | CAInstallNotificationVerifierActivity.java | 31 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/ |
D | PdfDocumentTest.java | 39 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/ |
D | MediaScannerNotificationTest.java | 26 import java.io.FileOutputStream; 94 FileOutputStream out = new FileOutputStream(foo); in createTempFiles()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ThemeHostTest.java | 33 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/ |
D | IsolatedServiceTest.java | 25 import java.io.FileOutputStream; 48 FileOutputStream fos = mActivity.openFileOutput(PermissionTestService.FILE_NAME, 0); in setUp()
|
/cts/tests/backup/app/src/android/backup/app/ |
D | MainActivity.java | 25 import java.io.FileOutputStream; 71 try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(f))) { in createFile()
|