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.java537 CaptureCallback mockCaptureCallback = in previewTestByCamera() local
540 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
541 verifyCaptureResults(mSession, mockCaptureCallback, NUM_FRAMES_VERIFIED, in previewTestByCamera()
552 CaptureCallback mockCaptureCallback; in previewTestPatternTestByCamera() local
564 mockCaptureCallback = mock(CaptureCallback.class); in previewTestPatternTestByCamera()
565 startPreview(requestBuilder, maxPreviewSize, mockCaptureCallback); in previewTestPatternTestByCamera()
566 verifyCaptureResults(mSession, mockCaptureCallback, NUM_TEST_PATTERN_FRAMES_VERIFIED, in previewTestPatternTestByCamera()
637 CaptureCallback mockCaptureCallback = in surfaceSetTestByCamera() local
639 mSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in surfaceSetTestByCamera()
640 verifyCaptureResults(mSession, mockCaptureCallback, NUM_FRAMES_VERIFIED, in surfaceSetTestByCamera()
DCaptureResultTest.java313 CaptureCallback mockCaptureCallback = getMockCaptureListener(); in testResultTimestamps() local
316 Pair<TotalCaptureResult, Long> result = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
326 Pair<TotalCaptureResult, Long> result2 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
345 Pair<TotalCaptureResult, Long> result3 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
347 Pair<TotalCaptureResult, Long> result4 = captureAndVerifyResult(mockCaptureCallback, in testResultTimestamps()
DCameraDeviceTest.java1090 CameraCaptureSession.CaptureCallback mockCaptureCallback = in captureSingleShot() local
1098 startCapture(requestBuilder.build(), repeating, mockCaptureCallback, mHandler); in captureSingleShot() local
1102 verifyCaptureResults(mockCaptureCallback, expectedCaptureResultCount); in captureSingleShot()
1159 CameraCaptureSession.CaptureCallback mockCaptureCallback = in captureBurstShot() local
1167 mSession.captureBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1170 mSession.setRepeatingBurst(requests, mockCaptureCallback, mHandler); in captureBurstShot()
1179 verifyCaptureResults(mockCaptureCallback, expectedResultCount); in captureBurstShot()
DRobustnessTest.java1503 CameraCaptureSession.CaptureCallback mockCaptureCallback = in testOutputCombination() local
1509 mCameraSession.setRepeatingRequest(request, mockCaptureCallback, mHandler); in testOutputCombination()
1511 verify(mockCaptureCallback, in testOutputCombination()
1517 verify(mockCaptureCallback, never()). in testOutputCombination()