/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 53 private static final int MAX_NUM_IMAGES = 3; field in ImageWriterTest 137 MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 138 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 156 MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 157 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 184 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, in readerWriterFormatTestByCamera() 187 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, listenerForCamera); in readerWriterFormatTestByCamera() 198 maxSize, format, MAX_NUM_IMAGES, in readerWriterFormatTestByCamera() 202 maxSize, format, MAX_NUM_IMAGES, listenerForWriter); in readerWriterFormatTestByCamera() 213 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in readerWriterFormatTestByCamera() [all …]
|
D | ImageReaderTest.java | 83 private static final int MAX_NUM_IMAGES = 5; field in ImageReaderTest 459 MAX_NUM_IMAGES - 1 : 0; in testAllOutputYUVResolutions() 500 yuvReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in testAllOutputYUVResolutions() 508 ImageFormat.JPEG, MAX_NUM_IMAGES, jpegListener); in testAllOutputYUVResolutions() 847 final int NUM_SINGLE_CAPTURE_TESTED = MAX_NUM_IMAGES - 1; in bufferFormatWithYuvTestByCamera() 864 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 867 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 876 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 879 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 942 createDefaultImageReader(availableSizes[0], FORMAT, MAX_NUM_IMAGES, mListener); in invalidAccessTestAfterClose() [all …]
|
D | CaptureResultTest.java | 57 private static final int MAX_NUM_IMAGES = MAX_READER_IMAGES; field in CaptureResultTest 105 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testCameraCaptureResultAllKeys() 109 createDefaultImageReader(size, ImageFormat.DEPTH16, MAX_NUM_IMAGES, in testCameraCaptureResultAllKeys() 167 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testPartialResult() 171 createDefaultImageReader(size, ImageFormat.DEPTH16, MAX_NUM_IMAGES, in testPartialResult() 292 MAX_NUM_IMAGES, prevListener, mHandler); in testResultTimestamps() 294 MAX_NUM_IMAGES, jpegListener, mHandler); in testResultTimestamps()
|
D | CameraDeviceTest.java | 84 private static final int MAX_NUM_IMAGES = 5; field in CameraDeviceTest 600 MAX_NUM_IMAGES, new ImageDropperListener()); in testChainedOperation() 1851 ImageFormat.DEPTH16, MAX_NUM_IMAGES, new ImageDropperListener()); in prepareCapture() local 1853 createDefaultImageReader(DEFAULT_CAPTURE_SIZE, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in prepareCapture()
|
D | ExtendedCameraCharacteristicsTest.java | 94 private static final int MAX_NUM_IMAGES = 5; field in ExtendedCameraCharacteristicsTest 705 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mockListener); in checkFormatLatency() 708 MAX_NUM_IMAGES, new CameraTestUtils.ImageDropperListener()); in checkFormatLatency() 728 for (int i = 0; i < MAX_NUM_IMAGES; i++) { in checkFormatLatency()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 81 private static final int MAX_NUM_IMAGES = 1; field in ImageReaderDecoderTest 477 createImageReader(width, height, imageFormat, MAX_NUM_IMAGES, mImageListener); in decodeFramesToImage()
|