Home
last modified time | relevance | path

Searched refs:mockCaptureCallback (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java749 CaptureCallback mockCaptureCallback = in previewTestByCamera() local
752 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
753 verifyCaptureResults(mSession, mockCaptureCallback, NUM_FRAMES_VERIFIED, in previewTestByCamera()
764 CaptureCallback mockCaptureCallback; in previewTestPatternTestByCamera() local
776 mockCaptureCallback = mock(CaptureCallback.class); in previewTestPatternTestByCamera()
777 startPreview(requestBuilder, maxPreviewSize, mockCaptureCallback); in previewTestPatternTestByCamera()
778 verifyCaptureResults(mSession, mockCaptureCallback, NUM_TEST_PATTERN_FRAMES_VERIFIED, in previewTestPatternTestByCamera()
849 CaptureCallback mockCaptureCallback = in surfaceSetTestByCamera() local
851 mSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in surfaceSetTestByCamera()
852 verifyCaptureResults(mSession, mockCaptureCallback, NUM_FRAMES_VERIFIED, in surfaceSetTestByCamera()
DConcurrentCameraTest.java289 CameraCaptureSession.CaptureCallback mockCaptureCallback = in testMandatoryConcurrentStreamCombination() local
291 info.mCameraSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in testMandatoryConcurrentStreamCombination()
293 verify(mockCaptureCallback, in testMandatoryConcurrentStreamCombination()
299 verify(mockCaptureCallback, never()). in testMandatoryConcurrentStreamCombination()
DMultiResolutionImageReaderTest.java308 CameraCaptureSession.CaptureCallback mockCaptureCallback = in testMultiResolutionMandatoryStreamCombination() local
320 mCameraSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in testMultiResolutionMandatoryStreamCombination()
322 verify(mockCaptureCallback, in testMultiResolutionMandatoryStreamCombination()
328 verify(mockCaptureCallback, never()). in testMultiResolutionMandatoryStreamCombination()
DCaptureResultTest.java324 CaptureCallback mockCaptureCallback = getMockCaptureListener(); in testResultTimestamps() local
327 Pair<TotalCaptureResult, Long> result = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
337 Pair<TotalCaptureResult, Long> result2 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
356 Pair<TotalCaptureResult, Long> result3 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
358 Pair<TotalCaptureResult, Long> result4 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
DCameraDeviceTest.java1712 CameraCaptureSession.CaptureCallback mockCaptureCallback = in captureSingleShot() local
1721 startCapture(requestBuilder.build(), repeating, mockCaptureCallback, executor); in captureSingleShot() local
1723 startCapture(requestBuilder.build(), repeating, mockCaptureCallback, mHandler); in captureSingleShot() local
1728 verifyCaptureResults(mockCaptureCallback, expectedCaptureResultCount); in captureSingleShot()
1795 CameraCaptureSession.CaptureCallback mockCaptureCallback = in captureBurstShot() local
1804 mSession.captureBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot()
1806 mSession.captureBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1811 mSession.setRepeatingBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot()
1813 mSession.setRepeatingBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1823 verifyCaptureResults(mockCaptureCallback, expectedResultCount); in captureBurstShot()
DRobustnessTest.java597 CameraCaptureSession.CaptureCallback mockCaptureCallback = in testMandatoryStreamCombination() local
626 mCameraSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in testMandatoryStreamCombination()
628 mCameraSession.capture(uhRequest, mockCaptureCallback, mHandler); in testMandatoryStreamCombination()
630 verify(mockCaptureCallback, in testMandatoryStreamCombination()
637 verify(mockCaptureCallback, in testMandatoryStreamCombination()
645 verify(mockCaptureCallback, never()). in testMandatoryStreamCombination()
788 CameraCaptureSession.CaptureCallback mockCaptureCallback = in testMandatory10BitStreamCombination() local
790 mCameraSession.capture(request, mockCaptureCallback, mHandler); in testMandatory10BitStreamCombination()
791 verify(mockCaptureCallback, in testMandatory10BitStreamCombination()
798 verify(mockCaptureCallback, never()). in testMandatory10BitStreamCombination()
[all …]
DMultiResolutionReprocessCaptureTest.java375 CameraCaptureSession.CaptureCallback mockCaptureCallback = in testMultiResolutionMandatoryStreamCombination() local
DCameraExtensionSessionTest.java2817 CameraExtensionSession.ExtensionCaptureCallback mockCaptureCallback = in testFlash() local
2821 new SimpleCaptureCallback(extension, mockCaptureCallback, in testFlash()
2838 verify(mockCaptureCallback, in testFlash()
2841 verify(mockCaptureCallback, in testFlash()