Home
last modified time | relevance | path

Searched refs:fileStream (Results 1 – 14 of 14) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java130 FileOutputStream fileStream; field in DngCreatorTest.DngDebugParams
157 FileOutputStream fileStream = null; in testSingleImageBasic() local
189 fileStream = new FileOutputStream(dngFilePath); in testSingleImageBasic()
190 fileStream.write(outputStream.toByteArray()); in testSingleImageBasic()
191 fileStream.flush(); in testSingleImageBasic()
192 fileStream.close(); in testSingleImageBasic()
205 if (fileStream != null) { in testSingleImageBasic()
206 fileStream.close(); in testSingleImageBasic()
234 FileOutputStream fileStream = null; in testSingleImageBasicMaximumResolution() local
282 fileStream = new FileOutputStream(dngFilePath); in testSingleImageBasicMaximumResolution()
[all …]
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSaveBitmapHelper.java53 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveBitmap() argument
54 failFrame.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in saveBitmap()
55 fileStream.flush(); in saveBitmap()
DBitmapPixelChecker.java185 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveFailureCaptures() argument
186 failFrame.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in saveFailureCaptures()
187 fileStream.flush(); in saveFailureCaptures()
DASurfaceControlTestActivity.java362 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveFailureCapture() argument
363 failFrame.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in saveFailureCapture()
364 fileStream.flush(); in saveFailureCapture()
DCapturedActivity.java306 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveFailureCaptures() argument
307 bitmap.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in saveFailureCaptures()
308 fileStream.flush(); in saveFailureCaptures()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java74 FileOutputStream fileStream = null; in dumpBitmap() local
76 fileStream = new FileOutputStream(filePath.toFile()); in dumpBitmap()
77 bitmap.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in dumpBitmap()
78 fileStream.flush(); in dumpBitmap()
82 if (fileStream != null) { in dumpBitmap()
84 fileStream.close(); in dumpBitmap()
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapDumper.java110 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveBitmap() argument
111 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
112 fileStream.flush(); in saveBitmap()
/cts/tests/tests/view/src/android/view/cts/util/
DBitmapDumper.java136 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveBitmap() argument
137 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
138 fileStream.flush(); in saveBitmap()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDumpOnFailure.java238 try (var fileStream = new FileOutputStream(file)) {
239 fileStream.write(mData.getBytes());
240 fileStream.flush();
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBitmapUtils.java159 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveBitmap() argument
160 bitmap.compress(CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
161 fileStream.flush(); in saveBitmap()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTest.java327 try (FileOutputStream fileStream = new FileOutputStream(failed)) { in validateResult() argument
328 result.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in validateResult()
329 fileStream.flush(); in validateResult()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java183 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveBitmap() argument
184 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap()
185 fileStream.flush(); in saveBitmap()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomator.java137 InputStream fileStream = new FileInputStream(remoteFile.getFileDescriptor()); in copyAutomationFileToInternalStorage() argument
141 copy(fileStream, outputStream); in copyAutomationFileToInternalStorage()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java776 FileInputStream fileStream = new FileInputStream(file); in testEmptyFileDescriptor() local
777 FileDescriptor fd = fileStream.getFD(); in testEmptyFileDescriptor()