/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ImageWriterTest.java | 60 private static final int MAX_NUM_IMAGES = 3; field in ImageWriterTest 147 MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 148 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 166 MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 167 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 204 ImageWriter defaultWriter = ImageWriter.newInstance(surface, MAX_NUM_IMAGES); in testWriterFormatOverride() 210 ImageWriter writer = ImageWriter.newInstance(surface, MAX_NUM_IMAGES, format); in testWriterFormatOverride() 230 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, in readerWriterFormatTestByCamera() 233 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, listenerForCamera); in readerWriterFormatTestByCamera() 244 maxSize, format, MAX_NUM_IMAGES, in readerWriterFormatTestByCamera() [all …]
|
D | ImageReaderTest.java | 93 private static final int MAX_NUM_IMAGES = 5; field in ImageReaderTest 520 MAX_NUM_IMAGES - 1 : 0; in testAllOutputYUVResolutions() 561 yuvReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in testAllOutputYUVResolutions() 569 ImageFormat.JPEG, MAX_NUM_IMAGES, jpegListener); in testAllOutputYUVResolutions() 913 final int NUM_SINGLE_CAPTURE_TESTED = MAX_NUM_IMAGES - 1; in bufferFormatWithYuvTestByCamera() 930 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 933 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 942 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 945 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera() 1008 createDefaultImageReader(availableSizes[0], FORMAT, MAX_NUM_IMAGES, mListener); in invalidAccessTestAfterClose() [all …]
|
D | CaptureResultTest.java | 64 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() 167 createDefaultImageReader(size, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in testPartialResult() 171 createDefaultImageReader(size, ImageFormat.DEPTH16, MAX_NUM_IMAGES, in testPartialResult() 299 MAX_NUM_IMAGES, prevListener, mHandler); in testResultTimestamps() 301 MAX_NUM_IMAGES, jpegListener, mHandler); in testResultTimestamps()
|
D | MultiResolutionImageReaderTest.java | 88 private static final int MAX_NUM_IMAGES = 5; field in MultiResolutionImageReaderTest 399 multiResolutionStreams, format, MAX_NUM_IMAGES); in multiResolutionImageReaderFormatTestByCamera() 401 mMultiResolutionImageReader, MAX_NUM_IMAGES, repeating); in multiResolutionImageReaderFormatTestByCamera()
|
D | CameraDeviceTest.java | 90 private static final int MAX_NUM_IMAGES = 5; field in CameraDeviceTest 615 MAX_NUM_IMAGES, new ImageDropperListener()); in testChainedOperation() 1873 ImageFormat.DEPTH16, MAX_NUM_IMAGES, new ImageDropperListener()); in prepareCapture() local 1875 createDefaultImageReader(DEFAULT_CAPTURE_SIZE, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in prepareCapture()
|
D | ExtendedCameraCharacteristicsTest.java | 103 private static final int MAX_NUM_IMAGES = 5; field in ExtendedCameraCharacteristicsTest 731 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mockListener); in checkFormatLatency() 734 MAX_NUM_IMAGES, new CameraTestUtils.ImageDropperListener()); in checkFormatLatency() 754 for (int i = 0; i < MAX_NUM_IMAGES; i++) { in checkFormatLatency()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 87 private static final int MAX_NUM_IMAGES = 1; field in ImageReaderDecoderTest 496 createImageReader(width, height, imageFormat, MAX_NUM_IMAGES, mImageListener); in decodeFramesToImage()
|