Home
last modified time | relevance | path

Searched refs:captureListener (Results 1 – 7 of 7) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java183 CameraCaptureSession.CaptureCallback captureListener = in testBadSurfaceDimensions() local
185 session.capture(request.build(), captureListener, mHandler); in testBadSurfaceDimensions() local
187 verify(captureListener, timeout(CAPTURE_TIMEOUT).atLeastOnce()). in testBadSurfaceDimensions()
190 verify(captureListener, never()).onCaptureFailed(any(CameraCaptureSession.class), in testBadSurfaceDimensions()
1142 SimpleCaptureCallback captureListener = in testBasicTriggerSequence() local
1145 mCameraSession.setRepeatingRequest(previewRequest.build(), captureListener, in testBasicTriggerSequence() local
1150 cancelTriggersAndWait(previewRequest, captureListener, afMode); in testBasicTriggerSequence()
1165 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence()
1167 CaptureResult triggerResult = captureListener.getCaptureResultForRequest( in testBasicTriggerSequence()
1178 CaptureResult focusResult = captureListener.getCaptureResult( in testBasicTriggerSequence()
[all …]
DDngCreatorTest.java171 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageBasic() local
174 captureListener); in testSingleImageBasic()
176 /*waitForAe*/false, captureReader, captureListener); in testSingleImageBasic()
349 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageThumbnail() local
352 captureListener)); in testSingleImageThumbnail()
353 captureListeners.add(captureListener); in testSingleImageThumbnail()
939 CameraTestUtils.SimpleImageReaderListener captureListener) throws Exception { in captureSingleRawShot() argument
944 listeners.add(captureListener); in captureSingleRawShot()
959 CameraTestUtils.SimpleImageReaderListener captureListener) in captureSingleShotMaximumResolution() argument
965 listeners.add(captureListener); in captureSingleShotMaximumResolution()
[all …]
DImageWriterTest.java477 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in readerWriterFormatTestByCamera() local
479 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera() local
481 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera() local
507 validateOpaqueImages(maxSize, listenerForCamera, listenerForWriter, captureListener, in readerWriterFormatTestByCamera()
600 SimpleImageReaderListener listenerForWriter, SimpleCaptureCallback captureListener, in validateOpaqueImages() argument
606 CaptureResult result = captureListener.getCaptureResult(CAPTURE_IMAGE_TIMEOUT_MS); in validateOpaqueImages()
DCaptureResultTest.java124 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()
424 SimpleCaptureCallback captureListener, StaticMetadata staticInfo, in validateCaptureResult() argument
445 result = captureListener.getTotalCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); in validateCaptureResult()
467 while (captureListener.hasMoreFailures()) { in validateCaptureResult()
469 captureListener.getCaptureFailures(/*maxNumFailures*/ 1); in validateCaptureResult()
DCameraDeviceTest.java801 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateCustomSessionByCamera() local
810 mSession.capture(request, captureListener, mHandler); in testCreateCustomSessionByCamera()
811 captureListener.getCaptureResultForRequest(request, CAPTURE_TIMEOUT_MS); in testCreateCustomSessionByCamera()
1032 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testSessionParametersStateLeakByCamera() local
1079 mSession.setRepeatingRequest(request, captureListener, mHandler); in testSessionParametersStateLeakByCamera()
1209 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionWithParametersByCamera() local
1213 mSession.capture(request, captureListener, mHandler); in testCreateSessionWithParametersByCamera()
1214 captureListener.getCaptureResultForRequest(request, CAPTURE_TIMEOUT_MS); in testCreateSessionWithParametersByCamera()
1277 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionsByCamera() local
1287 session.capture(request, captureListener, mHandler); in testCreateSessionsByCamera()
[all …]
DImageReaderTest.java1567 SimpleImageReaderListener captureListener = new SimpleImageReaderListener(); in bufferFormatWithYuvTestByCamera() local
1573 usage, captureListener); in bufferFormatWithYuvTestByCamera()
1576 captureListener); in bufferFormatWithYuvTestByCamera()
1604 Image captureImage = captureListener.getImage(CAPTURE_WAIT_TIMEOUT_MS); in bufferFormatWithYuvTestByCamera()
DExtendedCameraCharacteristicsTest.java583 CameraCaptureSession.CaptureCallback captureListener = in testSPerfClassJpegSizesByCamera() local
585 session.capture(request.build(), captureListener, mHandler); in testSPerfClassJpegSizesByCamera() local
587 verify(captureListener, timeout(CAPTURE_TIMEOUT).atLeastOnce()) in testSPerfClassJpegSizesByCamera()
590 verify(captureListener, never()).onCaptureFailed(any(CameraCaptureSession.class), in testSPerfClassJpegSizesByCamera()