Searched refs:fileStream (Results 1 – 8 of 8) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 130 FileOutputStream fileStream; field in DngCreatorTest.DngDebugParams 168 FileOutputStream fileStream = null; in testSingleImageBasic() local 200 fileStream = new FileOutputStream(dngFilePath); in testSingleImageBasic() 201 fileStream.write(outputStream.toByteArray()); in testSingleImageBasic() 202 fileStream.flush(); in testSingleImageBasic() 203 fileStream.close(); in testSingleImageBasic() 216 if (fileStream != null) { in testSingleImageBasic() 217 fileStream.close(); in testSingleImageBasic() 244 FileOutputStream fileStream = null; in testSingleImageBasicMaximumResolution() local 292 fileStream = new FileOutputStream(dngFilePath); in testSingleImageBasicMaximumResolution() [all …]
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 79 FileOutputStream fileStream = null; in dumpBitmap() local 81 fileStream = new FileOutputStream(filePath.toFile()); in dumpBitmap() 82 bitmap.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in dumpBitmap() 83 fileStream.flush(); in dumpBitmap() 87 if (fileStream != null) { in dumpBitmap() 89 fileStream.close(); in dumpBitmap()
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | BitmapDumper.java | 136 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/tests/uirendering/src/android/uirendering/cts/util/ |
D | BitmapDumper.java | 184 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveBitmap() argument 185 bitmap.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in saveBitmap() 186 fileStream.flush(); in saveBitmap()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTest.java | 273 try (FileOutputStream fileStream = new FileOutputStream(failed)) { in validateResult() argument 274 result.compress(Bitmap.CompressFormat.PNG, 0 /* ignored for PNG */, fileStream); in validateResult() 275 fileStream.flush(); in validateResult()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 183 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/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | CapturedActivity.java | 342 try (FileOutputStream fileStream = new FileOutputStream(file)) { in saveFailureCaptures() argument 343 bitmap.compress(Bitmap.CompressFormat.PNG, 85, fileStream); in saveFailureCaptures() 344 fileStream.flush(); in saveFailureCaptures()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 749 FileInputStream fileStream = new FileInputStream(file); in testEmptyFileDescriptor() local 750 FileDescriptor fd = fileStream.getFD(); in testEmptyFileDescriptor()
|