Home
last modified time | relevance | path

Searched refs:jpegData (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DCameraPermissionTest.java49 public void onPictureTaken(byte [] jpegData, Camera camera) { in onPictureTaken() argument
50 if (jpegData == null) { in onPictureTaken()
57 s.write(jpegData); in onPictureTaken()
67 fail("Successfully captured an image of " + jpegData.length + in onPictureTaken()
/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java119 byte[] jpegData = new byte[jpegBuffer.remaining()]; in camera2TestByCamera()
120 jpegBuffer.get(jpegData); in camera2TestByCamera()
122 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in camera2TestByCamera()
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java287 byte[] jpegData = stream.toByteArray(); in compressDecompress()
288 result = BitmapFactory.decodeByteArray(jpegData, 0, in compressDecompress()
289 jpegData.length); in compressDecompress()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1513 private static void validateJpegData(byte[] jpegData, int width, int height, String filePath) { in validateJpegData() argument
1518 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in validateJpegData()
1525 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length)); in validateJpegData()
1529 dumpFile(fileName, jpegData); in validateJpegData()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1066 private void assertBitmapAndJpegSizeEqual(byte[] jpegData, ExifInterface exif) { in assertBitmapAndJpegSizeEqual() argument
1072 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in assertBitmapAndJpegSizeEqual()