/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 60 AssetFileDescriptor.AutoCloseOutputStream outputStream = in testAutoCloseOutputStream() local 62 outputStream.write(FILE_DATA[0]); in testAutoCloseOutputStream() 63 outputStream.write(FILE_DATA, 1, 5); in testAutoCloseOutputStream() 64 outputStream.write(FILE_DATA); in testAutoCloseOutputStream() 65 outputStream.flush(); in testAutoCloseOutputStream()
|
D | AssetFileDescriptor_AutoCloseInputStreamTest.java | 45 FileOutputStream outputStream = new FileOutputStream(mFile); in setUp() local 46 outputStream.write(FILE_DATA); in setUp() 47 outputStream.close(); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
D | SampleTestActivity.java | 103 FileOutputStream outputStream = null; in createFileAndShare() local 106 outputStream = new FileOutputStream(file); in createFileAndShare() 107 outputStream.write(TEST_STRING.getBytes()); in createFileAndShare() 117 if (outputStream != null) { in createFileAndShare() 118 outputStream.close(); in createFileAndShare()
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | CreatePrivateDataTest.java | 76 FileOutputStream outputStream = getContext().openFileOutput(PRIVATE_FILE_NAME, in testCreatePrivateData() local 78 outputStream.write("file contents".getBytes()); in testCreatePrivateData() 79 outputStream.close(); in testCreatePrivateData() 82 outputStream = getContext().openFileOutput(PUBLIC_FILE_NAME, 0 /*mode*/); in testCreatePrivateData() 83 DataOutputStream dataOut = new DataOutputStream(outputStream); in testCreatePrivateData() 86 outputStream.close(); in testCreatePrivateData()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | MockContentProvider.java | 83 FileOutputStream outputStream = new FileOutputStream(output.getFileDescriptor()); in writeDataToPipe() local 86 printWriter = new PrintWriter(new OutputStreamWriter(outputStream, "UTF-8")); in writeDataToPipe() 94 outputStream.close(); in writeDataToPipe()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 139 ByteArrayOutputStream outputStream = null; in testSingleImageBasic() local 163 outputStream = new ByteArrayOutputStream(); in testSingleImageBasic() 164 dngCreator.writeImage(outputStream, resultPair.first); in testSingleImageBasic() 172 fileStream.write(outputStream.toByteArray()); in testSingleImageBasic() 178 validateDngNative(outputStream.toByteArray())); in testSingleImageBasic() 183 if (outputStream != null) { in testSingleImageBasic() 184 outputStream.close(); in testSingleImageBasic() 216 ByteArrayOutputStream outputStream = null; in testSingleImageThumbnail() local 274 outputStream = new ByteArrayOutputStream(); in testSingleImageThumbnail() 275 dngCreator.writeImage(outputStream, resultPair.first.get(0)); in testSingleImageThumbnail() [all …]
|
D | StillCaptureTest.java | 942 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in fullRawCaptureTestByCamera() local 944 dngCreator.writeImage(outputStream, rawImage); in fullRawCaptureTestByCamera() 948 byte[] rawBuffer = outputStream.toByteArray(); in fullRawCaptureTestByCamera()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | CodecUtils.java | 174 FileOutputStream outputStream = new FileOutputStream(outputFile); in saveBitmapToFile() local 175 bitmap.compress(Bitmap.CompressFormat.JPEG, 90, outputStream); in saveBitmapToFile() 176 outputStream.flush(); in saveBitmapToFile() 177 outputStream.close(); in saveBitmapToFile()
|
D | EncodeVirtualDisplayTest.java | 288 FileOutputStream outputStream = null; in doTestEncodeVirtual() local 292 outputStream = new FileOutputStream(fileName); in doTestEncodeVirtual() 411 if (outputStream != null) { in doTestEncodeVirtual() 416 outputStream.write(data); in doTestEncodeVirtual() 453 if (outputStream != null) { in doTestEncodeVirtual() 455 outputStream.close(); in doTestEncodeVirtual()
|
D | EncodeDecodeTest.java | 638 FileOutputStream outputStream = null; in doEncodeDecodeVideoFromBuffer() local 642 outputStream = new FileOutputStream(fileName); in doEncodeDecodeVideoFromBuffer() 777 if (outputStream != null) { in doEncodeDecodeVideoFromBuffer() 782 outputStream.write(data); in doEncodeDecodeVideoFromBuffer() 881 if (outputStream != null) { in doEncodeDecodeVideoFromBuffer() 883 outputStream.close(); in doEncodeDecodeVideoFromBuffer() 918 FileOutputStream outputStream = null; in doEncodeDecodeVideoFromSurfaceToSurface() local 922 outputStream = new FileOutputStream(fileName); in doEncodeDecodeVideoFromSurfaceToSurface() 1038 if (outputStream != null) { in doEncodeDecodeVideoFromSurfaceToSurface() 1043 outputStream.write(data); in doEncodeDecodeVideoFromSurfaceToSurface() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | TestReport.java | 75 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in getContents() local 79 xml.setOutput(outputStream, "utf-8"); in getContents() 132 return outputStream.toString("utf-8"); in getContents()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SeccompTest.java | 417 final ParcelFileDescriptor.AutoCloseOutputStream outputStream = in installTestFilter() local 446 outputStream.write(myPidBytes); in installTestFilter() 448 outputStream.write(buffer[i]); in installTestFilter() 454 outputStream.close(); in installTestFilter()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TextReport.java | 31 PackageFilter packageFilter, OutputStream outputStream) { in printTextReport() argument 32 PrintStream out = new PrintStream(outputStream); in printTextReport()
|
D | XmlReport.java | 37 OutputStream outputStream) { in printXmlReport() argument 38 PrintStream out = new PrintStream(outputStream); in printXmlReport()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | ChecksumReporter.java | 107 InputStream outputStream = new BufferedInputStream(fileStream); in ChecksumReporter() 108 ObjectInput objectInput = new ObjectInputStream(outputStream)) { in ChecksumReporter() 257 OutputStream outputStream = new BufferedOutputStream(fileStream); in saveToFile() argument 258 ObjectOutput objectOutput = new ObjectOutputStream(outputStream)) { in saveToFile()
|
D | ResultHandler.java | 450 OutputStream outputStream = new FileOutputStream(failureReport)) { in createFailureReport() argument 454 transformer.transform(new StreamSource(inputXml), new StreamResult(outputStream)); in createFailureReport()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | LocalSocketTest.java | 345 private void testFlushWorks(OutputStream outputStream, InputStream inputStream) in testFlushWorks() argument 351 outputStream.write(buffer); in testFlushWorks() 359 outputStream.flush(); in testFlushWorks()
|
/cts/hostsidetests/compilation/src/android/cts/compilation/ |
D | AdbRootDependentCompilationTest.java | 93 try (OutputStream outputStream = new FileOutputStream(apkFile)) { in setUp() argument 95 ByteStreams.copy(inputStream, outputStream); in setUp()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 1304 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in getByteFromStream() local 1308 outputStream.write(buf, 0, i); in getByteFromStream() 1310 return outputStream.toByteArray(); in getByteFromStream()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 17184 final java.io.OutputStream outputStream 29623 private java.io.OutputStream outputStream 29766 private java.io.OutputStream outputStream 65833 private java.io.OutputStream outputStream
|