Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DImageWriterTest.java52 private static final int MAX_NUM_IMAGES = 3; field in ImageWriterTest
150 MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
151 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
169 MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
170 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
195 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, listenerForCamera); in readerWriterFormatTestByCamera()
202 mReaderForWriter = createImageReader(maxSize, format, MAX_NUM_IMAGES, listenerForWriter); in readerWriterFormatTestByCamera()
210 mWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in readerWriterFormatTestByCamera()
234 assertTrue("ImageWriter max images should be " + MAX_NUM_IMAGES, in readerWriterFormatTestByCamera()
235 mWriter.getMaxImages() == MAX_NUM_IMAGES); in readerWriterFormatTestByCamera()
DImageReaderTest.java80 private static final int MAX_NUM_IMAGES = 5; field in ImageReaderTest
338 MAX_NUM_IMAGES - 1 : 0; in testAllOutputYUVResolutions()
378 yuvReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in testAllOutputYUVResolutions()
386 ImageFormat.JPEG, MAX_NUM_IMAGES, jpegListener); in testAllOutputYUVResolutions()
665 final int NUM_SINGLE_CAPTURE_TESTED = MAX_NUM_IMAGES - 1; in bufferFormatWithYuvTestByCamera()
681 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
687 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
749 createDefaultImageReader(availableSizes[0], FORMAT, MAX_NUM_IMAGES, mListener); in invalidAccessTestAfterClose()
780 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatTestByCamera()
825 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatLongProcessingTimeTestByCamera()
DCaptureResultTest.java53 private static final int MAX_NUM_IMAGES = MAX_READER_IMAGES; field in CaptureResultTest
104 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testCameraCaptureResultAllKeys()
108 createDefaultImageReader(size, ImageFormat.DEPTH16, MAX_NUM_IMAGES, in testCameraCaptureResultAllKeys()
170 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testPartialResult()
174 createDefaultImageReader(size, ImageFormat.DEPTH16, MAX_NUM_IMAGES, in testPartialResult()
295 MAX_NUM_IMAGES, prevListener, mHandler); in testResultTimestamps()
297 MAX_NUM_IMAGES, jpegListener, mHandler); in testResultTimestamps()
DCameraDeviceTest.java75 private static final int MAX_NUM_IMAGES = 5; field in CameraDeviceTest
145 createDefaultImageReader(DEFAULT_CAPTURE_SIZE, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in setUp()
1232 ImageFormat.DEPTH16, MAX_NUM_IMAGES, new ImageDropperListener()); in prepareCapture() local
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java77 private static final int MAX_NUM_IMAGES = 1; field in ImageReaderDecoderTest
474 createImageReader(width, height, imageFormat, MAX_NUM_IMAGES, mImageListener); in decodeFramesToImage()