/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 68 private static final int MAX_NUM_IMAGES = 3; field in ImageWriterTest 157 MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 158 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 176 MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 177 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 214 ImageWriter defaultWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in testWriterFormatOverride() 220 ImageWriter writer = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in testWriterFormatOverride() 299 .setMaxImages(MAX_NUM_IMAGES) in testWriterBuilderSetImageFormatAndSize() 308 assertEquals(MAX_NUM_IMAGES, writer.getMaxImages()); in testWriterBuilderSetImageFormatAndSize() 436 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, in readerWriterFormatTestByCamera() [all …]
|
D | ImageReaderTest.java | 112 private static final int MAX_NUM_IMAGES = 5; field in ImageReaderTest 1065 MAX_NUM_IMAGES - 1 : 0; in testAllOutputYUVResolutions() 1106 yuvReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in testAllOutputYUVResolutions() 1114 ImageFormat.JPEG, MAX_NUM_IMAGES, jpegListener); in testAllOutputYUVResolutions() 1539 final int NUM_SINGLE_CAPTURE_TESTED = MAX_NUM_IMAGES - 1; in bufferFormatWithYuvTestByCamera() 1557 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 1560 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 1572 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 1575 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 1638 createDefaultImageReader(availableSizes[0], FORMAT, MAX_NUM_IMAGES, mListener); in invalidAccessTestAfterClose() [all …]
|
D | CaptureResultTest.java | 65 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() 168 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testPartialResult() 172 createDefaultImageReader(size, ImageFormat.DEPTH16, MAX_NUM_IMAGES, in testPartialResult() 300 MAX_NUM_IMAGES, prevListener, mHandler); in testResultTimestamps() 302 MAX_NUM_IMAGES, jpegListener, mHandler); in testResultTimestamps()
|
D | MultiResolutionImageReaderTest.java | 87 private static final int MAX_NUM_IMAGES = 5; field in MultiResolutionImageReaderTest 404 multiResolutionStreams, format, MAX_NUM_IMAGES); in multiResolutionImageReaderFormatTestByCamera() 406 mMultiResolutionImageReader, MAX_NUM_IMAGES, repeating); in multiResolutionImageReaderFormatTestByCamera()
|
D | CameraDeviceTest.java | 90 private static final int MAX_NUM_IMAGES = 5; field in CameraDeviceTest 623 MAX_NUM_IMAGES, new ImageDropperListener()); in testChainedOperation() 1884 ImageFormat.DEPTH16, MAX_NUM_IMAGES, new ImageDropperListener()); in prepareCapture() local 1886 createDefaultImageReader(DEFAULT_CAPTURE_SIZE, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in prepareCapture()
|
D | ExtendedCameraCharacteristicsTest.java | 161 private static final int MAX_NUM_IMAGES = 5; field in ExtendedCameraCharacteristicsTest 942 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mockListener); in checkFormatLatency() 945 MAX_NUM_IMAGES, new CameraTestUtils.ImageDropperListener()); in checkFormatLatency() 965 for (int i = 0; i < MAX_NUM_IMAGES; i++) { in checkFormatLatency()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | ImageReaderDecoderTest.java | 97 private static final int MAX_NUM_IMAGES = 1; field in ImageReaderDecoderTest 440 createImageReader(width, height, imageFormat, MAX_NUM_IMAGES, mImageListener); in decodeFramesToImage()
|