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.java789 CaptureCallback mockCaptureCallback = in previewTestByCamera() local
792 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
793 verifyCaptureResults(mSession, mockCaptureCallback, NUM_FRAMES_VERIFIED, in previewTestByCamera()
804 CaptureCallback mockCaptureCallback; in previewTestPatternTestByCamera() local
816 mockCaptureCallback = mock(CaptureCallback.class); in previewTestPatternTestByCamera()
817 startPreview(requestBuilder, maxPreviewSize, mockCaptureCallback); in previewTestPatternTestByCamera()
818 verifyCaptureResults(mSession, mockCaptureCallback, NUM_TEST_PATTERN_FRAMES_VERIFIED, in previewTestPatternTestByCamera()
889 CaptureCallback mockCaptureCallback = in surfaceSetTestByCamera() local
891 mSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in surfaceSetTestByCamera()
892 verifyCaptureResults(mSession, mockCaptureCallback, NUM_FRAMES_VERIFIED, in surfaceSetTestByCamera()
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()
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()
DRobustnessTest.java407 CameraCaptureSession.CaptureCallback mockCaptureCallback = in testMandatoryStreamCombination() local
434 mCameraSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in testMandatoryStreamCombination()
436 verify(mockCaptureCallback, in testMandatoryStreamCombination()
442 verify(mockCaptureCallback, never()). in testMandatoryStreamCombination()