Home
last modified time | relevance | path

Searched refs:SimpleCaptureCallback (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DBurstCaptureRawTest.java28 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
155 SimpleCaptureCallback previewCaptureCallback, in CaptureSetup()
156 SimpleCaptureCallback rawCaptureCallback, in CaptureSetup()
187 public SimpleCaptureCallback getPreviewCaptureCallback() { in getPreviewCaptureCallback()
191 public SimpleCaptureCallback getRawCaptureCallback() { in getRawCaptureCallback()
205 private SimpleCaptureCallback mPreviewCaptureCallback;
207 private SimpleCaptureCallback mRawCaptureCallback;
218 SimpleCaptureCallback rawCaptureCallback, in execute()
229 SimpleCaptureCallback rawCaptureCallback, in execute()
279 SimpleCaptureCallback rawCaptureCallback, in execute()
[all …]
DCaptureRequestTest.java32 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
273 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testBlackLevelLock()
292 listener = new SimpleCaptureCallback(); in testBlackLevelLock()
365 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testLensShadingMap()
381 listener = new SimpleCaptureCallback(); in testLensShadingMap()
392 listener = new SimpleCaptureCallback(); in testLensShadingMap()
404 listener = new SimpleCaptureCallback(); in testLensShadingMap()
507 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testFlashControl()
556 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testFlashTurnOff()
1068 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in dynamicBlackWhiteLevelTestByCamera()
[all …]
DStillCaptureTest.java31 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
242 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in stillJpegRTestByCamera()
738 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in focalLengthTestByCamera()
786 resultListener = new SimpleCaptureCallback(); in focalLengthTestByCamera()
817 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in previewPersistenceTestByCamera()
818 SimpleCaptureCallback stillResultListener = new SimpleCaptureCallback(); in previewPersistenceTestByCamera()
902 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera()
958 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera()
993 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera()
1041 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera()
[all …]
DOfflineSessionTest.java132 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testInvalidOutput()
495 private void checkForSequenceAbort(SimpleCaptureCallback resultListener, int sequenceId) { in checkForSequenceAbort()
506 private void verifyCaptureResults(SimpleCaptureCallback resultListener, in verifyCaptureResults()
580 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in camera2OfflineSessionTest()
581 SimpleCaptureCallback regularResultListener = new SimpleCaptureCallback(); in camera2OfflineSessionTest()
582 SimpleCaptureCallback offlineResultListener = new SimpleCaptureCallback(); in camera2OfflineSessionTest()
788 private void checkInitialResults(SimpleCaptureCallback resultListener) { in checkInitialResults()
806 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in camera2UnsupportedOfflineOutputTest()
DSurfaceViewPreviewTest.java32 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
222 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in preparePerformanceTestByCamera()
347 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in surfaceEqualityTestByCamera()
443 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testDeferredSurfacesByCamera()
632 Pair<Long, Long> measureMeanFrameInterval(SimpleCaptureCallback resultListener, int frameCount, in measureMeanFrameInterval()
663 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in previewFpsRangeTestByCamera()
690 resultListener = new SimpleCaptureCallback(); in previewFpsRangeTestByCamera()
702 private void verifyPreviewTargetFpsRange(SimpleCaptureCallback resultListener, in verifyPreviewTargetFpsRange()
DLogicalCameraDeviceTest.java23 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
310 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
325 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
341 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination()
452 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicPhysicalRequests()
485 SimpleCaptureCallback simpleResultListener = new SimpleCaptureCallback(); in testBasicPhysicalRequests()
565 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), in testInvalidPhysicalCameraRequests()
590 mSession.capture(request, new SimpleCaptureCallback(), mHandler); in testInvalidPhysicalCameraRequests()
668 SimpleCaptureCallback simpleResultListener = new SimpleCaptureCallback(); in testLogicalCameraZoomSwitch()
687 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testLogicalCameraZoomSwitch()
[all …]
DRecordingTest.java559 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testBasic10BitRecording()
1022 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in doRecordingWithDifferentPreviewSizes()
1034 SimpleCaptureCallback resultListener2 = new SimpleCaptureCallback(); in doRecordingWithDifferentPreviewSizes()
1095 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in videoPreviewSurfaceSharingTestByCamera()
1191 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in slowMotionRecording()
1274 SimpleCaptureCallback previewResultListener = new SimpleCaptureCallback(); in constrainedHighSpeedRecording()
1315 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in constrainedHighSpeedRecording()
1427 SimpleCaptureCallback listener, boolean useHighSpeedSession) in startSlowMotionRecording()
1653 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in completeBasicRecording()
1729 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in recordingSizeTestByCamera()
[all …]
DFastBasicsTest.java41 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
96 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in camera2TestByCamera()
DMultiViewTest.java21 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
454 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testSharedSurfaceImageReaderSwitch()
570 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testSharedSurfaceYUVImageReaderSwitch()
693 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testSharedSurfaceLimitByCamera()
753 updateRepeatingRequest(cameraId, outputConfigurations, new SimpleCaptureCallback()); in testSharedSurfaceLimitByCamera()
809 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testSharedSurfaceSwitchByCamera()
845 updateRepeatingRequest(cameraId, outputConfigurations, new SimpleCaptureCallback()); in testSharedSurfaceSwitchByCamera()
954 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testTextureImageWriterReaderOperation()
1024 SimpleCaptureCallback listener) throws Exception { in checkForLastFrameInSequence()
DBurstCaptureTest.java194 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in burstTestByCamera()
195 SimpleCaptureCallback burstResultListener = new SimpleCaptureCallback(); in burstTestByCamera()
DHeifWriterTest.java21 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
193 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testHeif()
383 int format, Size size, SimpleCaptureCallback listener, int numFrameVerified) { in validateCaptureResult()
DCameraExtensionSessionTest.java485 SimpleCaptureCallback simpleCaptureCallback = in testRepeatingCapture()
486 new SimpleCaptureCallback(extension, captureCallbackMock, in testRepeatingCapture()
644 SimpleCaptureCallback captureCallback = in testPostviewAndCapture()
645 new SimpleCaptureCallback(extension, captureMockCallback, in testPostviewAndCapture()
916 SimpleCaptureCallback repeatingCaptureCallback = in test10bitRepeatingAndCaptureCombined()
917 new SimpleCaptureCallback(extension, repeatingCallbackMock, in test10bitRepeatingAndCaptureCombined()
948 SimpleCaptureCallback captureCallback = in test10bitRepeatingAndCaptureCombined()
949 new SimpleCaptureCallback(extension, captureMockCallback, in test10bitRepeatingAndCaptureCombined()
1123 SimpleCaptureCallback captureCallback = in testMultiFrameCapture()
1124 new SimpleCaptureCallback(extension, captureMockCallback, in testMultiFrameCapture()
[all …]
DZoomCaptureTest.java54 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
216 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in bufferFormatZoomTestByCamera()
DRobustnessTest.java20 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
445 CameraTestUtils.SimpleCaptureCallback captureCallback = in testMandatoryOutputCombinationWithPresetKeys()
446 new CameraTestUtils.SimpleCaptureCallback(); in testMandatoryOutputCombinationWithPresetKeys()
953 SimpleCaptureCallback inputCaptureListener = new SimpleCaptureCallback(); in testMandatoryReprocessableStreamCombination()
954 SimpleCaptureCallback reprocessOutputCaptureListener = new SimpleCaptureCallback(); in testMandatoryReprocessableStreamCombination()
1142 SimpleCaptureCallback captureListener = in testBasicTriggerSequence()
1143 new CameraTestUtils.SimpleCaptureCallback(); in testBasicTriggerSequence()
1282 SimpleCaptureCallback captureListener = in testSimultaneousTriggers()
1283 new CameraTestUtils.SimpleCaptureCallback(); in testSimultaneousTriggers()
1385 SimpleCaptureCallback captureListener = in testAfThenAeTrigger()
[all …]
DReprocessCaptureTest.java933 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessAbort()
1023 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessTimestamps()
1103 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessJpegExif()
1182 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessRequestKeys()
1462 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in submitMixedCaptureBurstRequest()
DMultiResolutionReprocessCaptureTest.java334 SimpleCaptureCallback inputCaptureListener = new SimpleCaptureCallback(); in testMultiResolutionMandatoryStreamCombination()
335 SimpleCaptureCallback reprocessOutputCaptureListener = new SimpleCaptureCallback(); in testMultiResolutionMandatoryStreamCombination()
740 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in submitCaptureRequest()
DImageReaderTest.java22 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
1157 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testAllOutputYUVResolutions()
1586 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in bufferFormatWithYuvTestByCamera()
1642 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in invalidAccessTestAfterClose()
1671 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in discardFreeBuffersTestByCamera()
1810 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in bufferFormatTestByCamera()
1889 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in bufferFormatLongProcessingTimeTestByCamera()
1951 private void validateCaptureResult(int format, Size size, SimpleCaptureCallback listener, in validateCaptureResult()
2075 int captureCount, SimpleCaptureCallback listener, boolean repeating) throws Exception { in validateTimestamps()
DMultiResolutionImageReaderTest.java41 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
447 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in multiResolutionImageReaderFormatTestByCamera()
484 int captureCount, SimpleCaptureCallback listener, boolean repeating) throws Exception { in validateImage()
DPerformanceTest.java38 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
120 private SimpleCaptureCallback mZslResultListener;
229 SimpleCaptureCallback resultListener = in testCameraLaunch()
230 new SimpleCaptureCallback(); in testCameraLaunch()
421 SimpleCaptureCallback previewResultListener = in testSingleCaptureForFormat()
422 new SimpleCaptureCallback(); in testSingleCaptureForFormat()
628 SimpleCaptureCallback previewResultListener = in testMultipleCapture()
629 new SimpleCaptureCallback(); in testMultipleCapture()
1106 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testZoomSettingsOverrideLatency()
1341 SimpleCaptureCallback resultListener = new SimpleCaptureCallback();
[all …]
DImageWriterTest.java34 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
477 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in readerWriterFormatTestByCamera()
600 SimpleImageReaderListener listenerForWriter, SimpleCaptureCallback captureListener, in validateOpaqueImages()
DCameraDeviceTest.java801 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateCustomSessionByCamera()
1032 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testSessionParametersStateLeakByCamera()
1209 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionWithParametersByCamera()
1277 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionsByCamera()
1401 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in prepareTestByCamera()
1737 SimpleCaptureCallback resultCallback = new SimpleCaptureCallback(); in captureSingleShot()
1832 SimpleCaptureCallback resultCallback = new SimpleCaptureCallback(); in captureBurstShot()
DDngCreatorTest.java980 CameraTestUtils.SimpleCaptureCallback inputCaptureListener = in captureReprocessedRawShot()
981 new CameraTestUtils.SimpleCaptureCallback(); in captureReprocessedRawShot()
982 CameraTestUtils.SimpleCaptureCallback reprocessOutputCaptureListener = in captureReprocessedRawShot()
983 new CameraTestUtils.SimpleCaptureCallback(); in captureReprocessedRawShot()
1211 CameraTestUtils.SimpleCaptureCallback resultListener = in captureRawShots()
1212 new CameraTestUtils.SimpleCaptureCallback(); in captureRawShots()
DCameraGPURecordingTest.java145 CameraTestUtils.SimpleCaptureCallback previewListener = in captureGpuEncoderPath()
146 new CameraTestUtils.SimpleCaptureCallback(); in captureGpuEncoderPath()
196 new CameraTestUtils.SimpleCaptureCallback(), mHandler); in captureGpuEncoderPath()
DFeatureCombinationTest.java27 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
338 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in verifyCombinationStreaming()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java39 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
346 protected static <T> void waitForResultValue(SimpleCaptureCallback listener, in waitForResultValue()
369 protected static <T> void waitForAnyResultValue(SimpleCaptureCallback listener, in waitForAnyResultValue()
463 protected static CaptureResult waitForNumResults(SimpleCaptureCallback resultListener, in waitForNumResults()
476 protected void waitForSettingsApplied(SimpleCaptureCallback resultListener, in waitForSettingsApplied()
500 protected void waitForAeStable(SimpleCaptureCallback resultListener, in waitForAeStable()
520 protected void waitForAeLocked(SimpleCaptureCallback resultListener, in waitForAeLocked()

12