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.java124 byte[] jpegData = new byte[jpegBuffer.remaining()]; in camera2TestByCamera()
125 jpegBuffer.get(jpegData); in camera2TestByCamera()
127 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.java1567 private static void validateJpegData(byte[] jpegData, int width, int height, String filePath) { in validateJpegData() argument
1572 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in validateJpegData()
1579 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length)); in validateJpegData()
1583 dumpFile(fileName, jpegData); in validateJpegData()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1127 private void assertBitmapAndJpegSizeEqual(byte[] jpegData, ExifInterface exif) { in assertBitmapAndJpegSizeEqual() argument
1133 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in assertBitmapAndJpegSizeEqual()