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.java127 byte[] jpegData = new byte[jpegBuffer.remaining()]; in camera2TestByCamera()
128 jpegBuffer.get(jpegData); in camera2TestByCamera()
130 Bitmap b = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in camera2TestByCamera()
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java288 byte[] jpegData = stream.toByteArray(); in compressDecompress()
289 result = BitmapFactory.decodeByteArray(jpegData, 0, in compressDecompress()
290 jpegData.length); in compressDecompress()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1653 private static void validateJpegData(byte[] jpegData, int width, int height, String filePath) { in validateJpegData() argument
1658 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in validateJpegData()
1665 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length)); in validateJpegData()
1669 dumpFile(fileName, jpegData); in validateJpegData()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1165 private void assertBitmapAndJpegSizeEqual(byte[] jpegData, ExifInterface exif) { in assertBitmapAndJpegSizeEqual() argument
1171 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in assertBitmapAndJpegSizeEqual()