Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java132 CameraCaptureSession.CaptureCallback captureListener = in testBadSurfaceDimensions() local
134 session.capture(request.build(), captureListener, mHandler); in testBadSurfaceDimensions() local
136 verify(captureListener, timeout(CAPTURE_TIMEOUT).atLeastOnce()). in testBadSurfaceDimensions()
139 verify(captureListener, never()).onCaptureFailed(any(CameraCaptureSession.class), in testBadSurfaceDimensions()
471 SimpleCaptureCallback captureListener = in testBasicTriggerSequence() local
474 mCameraSession.setRepeatingRequest(previewRequest.build(), captureListener, in testBasicTriggerSequence() local
479 cancelTriggersAndWait(previewRequest, captureListener, afMode); in testBasicTriggerSequence()
494 mCameraSession.capture(triggerRequest, captureListener, mHandler); in testBasicTriggerSequence()
496 CaptureResult triggerResult = captureListener.getCaptureResultForRequest( in testBasicTriggerSequence()
507 CaptureResult focusResult = captureListener.getCaptureResult( in testBasicTriggerSequence()
[all …]
DImageWriterTest.java219 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in readerWriterFormatTestByCamera() local
221 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera() local
223 startCapture(requestBuilder.build(), /*repeating*/false, captureListener, mHandler); in readerWriterFormatTestByCamera() local
249 validateOpaqueImages(maxSize, listenerForCamera, listenerForWriter, captureListener, in readerWriterFormatTestByCamera()
337 SimpleImageReaderListener listenerForWriter, SimpleCaptureCallback captureListener, in validateOpaqueImages() argument
343 CaptureResult result = captureListener.getCaptureResult(CAPTURE_IMAGE_TIMEOUT_MS); in validateOpaqueImages()
DDngCreatorTest.java150 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageBasic() local
153 captureListener); in testSingleImageBasic()
155 /*waitForAe*/false, captureReader, captureListener); in testSingleImageBasic()
233 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageThumbnail() local
236 captureListener)); in testSingleImageThumbnail()
237 captureListeners.add(captureListener); in testSingleImageThumbnail()
607 CameraTestUtils.SimpleImageReaderListener captureListener) throws Exception { in captureSingleRawShot() argument
612 listeners.add(captureListener); in captureSingleRawShot()
741 for (CameraTestUtils.SimpleImageReaderListener captureListener : captureListeners) { in captureRawShots()
742 Image captureImage = captureListener.getImage(CAPTURE_WAIT_TIMEOUT_MS); in captureRawShots()
DCaptureResultTest.java123 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCameraCaptureResultAllKeys() local
124 startCapture(requestBuilder.build(), /*repeating*/true, captureListener, mHandler); in testCameraCaptureResultAllKeys() local
130 validateCaptureResult(captureListener, waiverkeys, requestBuilder, in testCameraCaptureResultAllKeys()
382 private void validateCaptureResult(SimpleCaptureCallback captureListener, in validateCaptureResult() argument
388 result = captureListener.getCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS); in validateCaptureResult()
DImageReaderTest.java686 SimpleImageReaderListener captureListener = new SimpleImageReaderListener(); in bufferFormatWithYuvTestByCamera() local
688 captureListener); in bufferFormatWithYuvTestByCamera()
715 Image captureImage = captureListener.getImage(CAPTURE_WAIT_TIMEOUT_MS); in bufferFormatWithYuvTestByCamera()
DCameraDeviceTest.java721 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionsByCamera() local
731 session.capture(request, captureListener, mHandler); in testCreateSessionsByCamera()
732 captureListener.getCaptureResultForRequest(request, CAPTURE_TIMEOUT_MS); in testCreateSessionsByCamera()