Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java783 CaptureCallback mockCaptureCallback = in previewTestByCamera() local
786 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
787 verifyCaptureResults(mSession, mockCaptureCallback, NUM_FRAMES_VERIFIED, in previewTestByCamera()
798 CaptureCallback mockCaptureCallback; in previewTestPatternTestByCamera() local
810 mockCaptureCallback = mock(CaptureCallback.class); in previewTestPatternTestByCamera()
811 startPreview(requestBuilder, maxPreviewSize, mockCaptureCallback); in previewTestPatternTestByCamera()
812 verifyCaptureResults(mSession, mockCaptureCallback, NUM_TEST_PATTERN_FRAMES_VERIFIED, in previewTestPatternTestByCamera()
883 CaptureCallback mockCaptureCallback = in surfaceSetTestByCamera() local
885 mSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in surfaceSetTestByCamera()
886 verifyCaptureResults(mSession, mockCaptureCallback, NUM_FRAMES_VERIFIED, in surfaceSetTestByCamera()
DCaptureResultTest.java316 CaptureCallback mockCaptureCallback = getMockCaptureListener(); in testResultTimestamps() local
319 Pair<TotalCaptureResult, Long> result = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
329 Pair<TotalCaptureResult, Long> result2 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
348 Pair<TotalCaptureResult, Long> result3 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
350 Pair<TotalCaptureResult, Long> result4 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
DCameraDeviceTest.java1679 CameraCaptureSession.CaptureCallback mockCaptureCallback = in captureSingleShot() local
1688 startCapture(requestBuilder.build(), repeating, mockCaptureCallback, executor); in captureSingleShot() local
1690 startCapture(requestBuilder.build(), repeating, mockCaptureCallback, mHandler); in captureSingleShot() local
1695 verifyCaptureResults(mockCaptureCallback, expectedCaptureResultCount); in captureSingleShot()
1762 CameraCaptureSession.CaptureCallback mockCaptureCallback = in captureBurstShot() local
1771 mSession.captureBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot()
1773 mSession.captureBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1778 mSession.setRepeatingBurstRequests(requests, executor, mockCaptureCallback); in captureBurstShot()
1780 mSession.setRepeatingBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1790 verifyCaptureResults(mockCaptureCallback, expectedResultCount); in captureBurstShot()
DRobustnessTest.java402 CameraCaptureSession.CaptureCallback mockCaptureCallback = in testMandatoryStreamCombination() local
429 mCameraSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in testMandatoryStreamCombination()
431 verify(mockCaptureCallback, in testMandatoryStreamCombination()
437 verify(mockCaptureCallback, never()). in testMandatoryStreamCombination()