Searched refs:captureListener (Results 1 – 6 of 6) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RobustnessTest.java | 136 CameraCaptureSession.CaptureCallback captureListener = in testBadSurfaceDimensions() local 138 session.capture(request.build(), captureListener, mHandler); in testBadSurfaceDimensions() local 140 verify(captureListener, timeout(CAPTURE_TIMEOUT).atLeastOnce()). in testBadSurfaceDimensions() 143 verify(captureListener, never()).onCaptureFailed(any(CameraCaptureSession.class), in testBadSurfaceDimensions() 764 SimpleCaptureCallback captureListener = in testBasicTriggerSequence() local 767 mCameraSession.setRepeatingRequest(previewRequest.build(), captureListener, in testBasicTriggerSequence() local 772 cancelTriggersAndWait(previewRequest, captureListener, afMode); in testBasicTriggerSequence() 787 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence() 789 CaptureResult triggerResult = captureListener.getCaptureResultForRequest( in testBasicTriggerSequence() 800 CaptureResult focusResult = captureListener.getCaptureResult( in testBasicTriggerSequence() [all …]
|
D | ImageWriterTest.java | 225 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in readerWriterFormatTestByCamera() local 227 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera() local 229 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera() local 255 validateOpaqueImages(maxSize, listenerForCamera, listenerForWriter, captureListener, in readerWriterFormatTestByCamera() 343 SimpleImageReaderListener listenerForWriter, SimpleCaptureCallback captureListener, in validateOpaqueImages() argument 349 CaptureResult result = captureListener.getCaptureResult(CAPTURE_IMAGE_TIMEOUT_MS); in validateOpaqueImages()
|
D | DngCreatorTest.java | 152 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageBasic() local 155 captureListener); in testSingleImageBasic() 157 /*waitForAe*/false, captureReader, captureListener); in testSingleImageBasic() 234 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageThumbnail() local 237 captureListener)); in testSingleImageThumbnail() 238 captureListeners.add(captureListener); in testSingleImageThumbnail() 641 CameraTestUtils.SimpleImageReaderListener captureListener) throws Exception { in captureSingleRawShot() argument 646 listeners.add(captureListener); in captureSingleRawShot() 776 for (CameraTestUtils.SimpleImageReaderListener captureListener : captureListeners) { in captureRawShots() 777 Image captureImage = captureListener.getImage(CAPTURE_WAIT_TIMEOUT_MS); in captureRawShots()
|
D | CameraDeviceTest.java | 770 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateCustomSessionByCamera() local 779 mSession.capture(request, captureListener, mHandler); in testCreateCustomSessionByCamera() 780 captureListener.getCaptureResultForRequest(request, CAPTURE_TIMEOUT_MS); in testCreateCustomSessionByCamera() 997 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testSessionParametersStateLeakByCamera() local 1044 mSession.setRepeatingRequest(request, captureListener, mHandler); in testSessionParametersStateLeakByCamera() 1180 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionWithParametersByCamera() local 1184 mSession.capture(request, captureListener, mHandler); in testCreateSessionWithParametersByCamera() 1185 captureListener.getCaptureResultForRequest(request, CAPTURE_TIMEOUT_MS); in testCreateSessionWithParametersByCamera() 1245 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionsByCamera() local 1255 session.capture(request, captureListener, mHandler); in testCreateSessionsByCamera() [all …]
|
D | CaptureResultTest.java | 124 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCameraCaptureResultAllKeys() local 125 startCapture(requestBuilder.build(), /*repeating*/true, captureListener, mHandler); in testCameraCaptureResultAllKeys() local 128 validateCaptureResult(mCollector, captureListener, mStaticInfo, mAllStaticInfo, in testCameraCaptureResultAllKeys() 386 SimpleCaptureCallback captureListener, StaticMetadata staticInfo, in validateCaptureResult() argument 405 result = captureListener.getTotalCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); in validateCaptureResult()
|
D | ImageReaderTest.java | 874 SimpleImageReaderListener captureListener = new SimpleImageReaderListener(); in bufferFormatWithYuvTestByCamera() local 877 HardwareBuffer.USAGE_CPU_READ_OFTEN, captureListener); in bufferFormatWithYuvTestByCamera() 880 captureListener); in bufferFormatWithYuvTestByCamera() 908 Image captureImage = captureListener.getImage(CAPTURE_WAIT_TIMEOUT_MS); in bufferFormatWithYuvTestByCamera()
|