/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | BurstCaptureRawTest.java | 28 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 152 SimpleCaptureCallback previewCaptureCallback, in CaptureSetup() 153 SimpleCaptureCallback rawCaptureCallback, in CaptureSetup() 184 public SimpleCaptureCallback getPreviewCaptureCallback() { in getPreviewCaptureCallback() 188 public SimpleCaptureCallback getRawCaptureCallback() { in getRawCaptureCallback() 202 private SimpleCaptureCallback mPreviewCaptureCallback; 204 private SimpleCaptureCallback mRawCaptureCallback; 215 SimpleCaptureCallback rawCaptureCallback, in execute() 226 SimpleCaptureCallback rawCaptureCallback, in execute() 276 SimpleCaptureCallback rawCaptureCallback, in execute() [all …]
|
D | CaptureRequestTest.java | 31 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 244 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testBlackLevelLock() 263 listener = new SimpleCaptureCallback(); in testBlackLevelLock() 335 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testLensShadingMap() 351 listener = new SimpleCaptureCallback(); in testLensShadingMap() 362 listener = new SimpleCaptureCallback(); in testLensShadingMap() 374 listener = new SimpleCaptureCallback(); in testLensShadingMap() 474 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testFlashControl() 518 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testFlashTurnOff() 874 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in dynamicBlackWhiteLevelTestByCamera() [all …]
|
D | StillCaptureTest.java | 37 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 605 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in focalLengthTestByCamera() 643 resultListener = new SimpleCaptureCallback(); in focalLengthTestByCamera() 667 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in previewPersistenceTestByCamera() 668 SimpleCaptureCallback stillResultListener = new SimpleCaptureCallback(); in previewPersistenceTestByCamera() 752 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() 808 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() 843 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() 891 resultListener = new SimpleCaptureCallback(); in takePictureTestByCamera() 938 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in touchForFocusTestByCamera() [all …]
|
D | LogicalCameraDeviceTest.java | 279 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 294 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 310 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicLogicalPhysicalStreamCombination() 408 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), mHandler); in testBasicPhysicalRequests() 441 SimpleCaptureCallback simpleResultListener = new SimpleCaptureCallback(); in testBasicPhysicalRequests() 519 mSession.capture(requestBuilder.build(), new SimpleCaptureCallback(), in testInvalidPhysicalCameraRequests() 543 mSession.capture(request, new SimpleCaptureCallback(), mHandler); in testInvalidPhysicalCameraRequests() 620 SimpleCaptureCallback simpleResultListener = new SimpleCaptureCallback(); in testLogicalCameraZoomSwitch() 639 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testLogicalCameraZoomSwitch() 741 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testActivePhysicalId() [all …]
|
D | SurfaceViewPreviewTest.java | 35 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 217 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in preparePerformanceTestByCamera() 368 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in surfaceEqualityTestByCamera() 463 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testDeferredSurfacesByCamera() 666 Pair<Long, Long> measureMeanFrameInterval(SimpleCaptureCallback resultListener, int frameCount, in measureMeanFrameInterval() 697 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in previewFpsRangeTestByCamera() 724 resultListener = new SimpleCaptureCallback(); in previewFpsRangeTestByCamera() 736 private void verifyPreviewTargetFpsRange(SimpleCaptureCallback resultListener, in verifyPreviewTargetFpsRange()
|
D | RobustnessTest.java | 563 SimpleCaptureCallback inputCaptureListener = new SimpleCaptureCallback(); in testMandatoryReprocessableStreamCombination() 564 SimpleCaptureCallback reprocessOutputCaptureListener = new SimpleCaptureCallback(); in testMandatoryReprocessableStreamCombination() 759 SimpleCaptureCallback captureListener = in testBasicTriggerSequence() 760 new CameraTestUtils.SimpleCaptureCallback(); in testBasicTriggerSequence() 898 SimpleCaptureCallback captureListener = in testSimultaneousTriggers() 899 new CameraTestUtils.SimpleCaptureCallback(); in testSimultaneousTriggers() 1000 SimpleCaptureCallback captureListener = in testAfThenAeTrigger() 1001 new CameraTestUtils.SimpleCaptureCallback(); in testAfThenAeTrigger() 1116 SimpleCaptureCallback captureListener = in testAeThenAfTrigger() 1117 new CameraTestUtils.SimpleCaptureCallback(); in testAeThenAfTrigger() [all …]
|
D | ImageReaderTest.java | 56 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 551 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testAllOutputYUVResolutions() 890 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in bufferFormatWithYuvTestByCamera() 946 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in invalidAccessTestAfterClose() 975 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in discardFreeBuffersTestByCamera() 1034 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in bufferFormatTestByCamera() 1096 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in bufferFormatLongProcessingTimeTestByCamera() 1159 private void validateCaptureResult(int format, Size size, SimpleCaptureCallback listener, in validateCaptureResult()
|
D | FastBasicsTest.java | 40 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 90 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in camera2TestByCamera()
|
D | BurstCaptureTest.java | 153 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in burstTestByCamera() 154 SimpleCaptureCallback burstResultListener = new SimpleCaptureCallback(); in burstTestByCamera()
|
D | ImageWriterTest.java | 22 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 225 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in readerWriterFormatTestByCamera() 343 SimpleImageReaderListener listenerForWriter, SimpleCaptureCallback captureListener, in validateOpaqueImages()
|
D | RecordingTest.java | 609 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in videoPreviewSurfaceSharingTestByCamera() 705 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in slowMotionRecording() 763 SimpleCaptureCallback previewResultListener = new SimpleCaptureCallback(); in constrainedHighSpeedRecording() 779 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in constrainedHighSpeedRecording() 1022 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in basicRecordingTestByCamera() 1102 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in recordingSizeTestByCamera() 1367 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in videoSnapshotTestByCamera() 1920 SimpleCaptureCallback resultListener, long imageTimeStamp) { 1998 private void validateJittering(SimpleCaptureCallback resultListener) {
|
D | HeifWriterTest.java | 21 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 186 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in testHeif() 372 int format, Size size, SimpleCaptureCallback listener, int numFrameVerified) { in validateCaptureResult()
|
D | ReprocessCaptureTest.java | 856 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessAbort() 946 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessTimestamps() 1026 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessJpegExif() 1102 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in testReprocessRequestKeys() 1382 SimpleCaptureCallback captureCallback = new SimpleCaptureCallback(); in submitMixedCaptureBurstRequest()
|
D | MultiViewTest.java | 436 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testSharedSurfaceImageReaderSwitch() 552 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testSharedSurfaceYUVImageReaderSwitch() 675 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testSharedSurfaceLimitByCamera() 791 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testSharedSurfaceSwitchByCamera() 939 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in testTextureImageWriterReaderOperation() 1007 SimpleCaptureCallback listener) throws Exception { in checkForLastFrameInSequence()
|
D | PerformanceTest.java | 35 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 103 private SimpleCaptureCallback mZslResultListener; 182 SimpleCaptureCallback resultListener = in testCameraLaunch() 183 new SimpleCaptureCallback(); in testCameraLaunch() 358 SimpleCaptureCallback previewResultListener = in testSingleCaptureForFormat() 359 new SimpleCaptureCallback(); in testSingleCaptureForFormat() 546 SimpleCaptureCallback previewResultListener = in testMultipleCapture() 547 new SimpleCaptureCallback(); in testMultipleCapture() 848 SimpleCaptureCallback reprocessResultListener = new SimpleCaptureCallback(); in reprocessingCaptureStallTestByCamera() 1088 mZslResultListener = new SimpleCaptureCallback(); in prepareReprocessCapture()
|
D | CameraDeviceTest.java | 770 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateCustomSessionByCamera() 997 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testSessionParametersStateLeakByCamera() 1180 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionWithParametersByCamera() 1245 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCreateSessionsByCamera() 1369 SimpleCaptureCallback resultListener = new SimpleCaptureCallback(); in prepareTestByCamera() 1704 SimpleCaptureCallback resultCallback = new SimpleCaptureCallback(); in captureSingleShot() 1799 SimpleCaptureCallback resultCallback = new SimpleCaptureCallback(); in captureBurstShot()
|
D | CaptureResultTest.java | 124 SimpleCaptureCallback captureListener = new SimpleCaptureCallback(); in testCameraCaptureResultAllKeys() 386 SimpleCaptureCallback captureListener, StaticMetadata staticInfo, in validateCaptureResult()
|
D | AllocationTest.java | 878 SimpleCaptureCallback listener = new SimpleCaptureCallback(); in forEachResult()
|
D | DngCreatorTest.java | 762 CameraTestUtils.SimpleCaptureCallback resultListener = in captureRawShots() 763 new CameraTestUtils.SimpleCaptureCallback(); in captureRawShots()
|
D | ExtendedCameraCharacteristicsTest.java | 63 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 720 startCapture(request, /*repeating*/ true, new SimpleCaptureCallback(), mHandler); in checkFormatLatency() 729 startCapture(request, /*repeating*/ false, new SimpleCaptureCallback(), in checkFormatLatency()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 36 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 357 protected static <T> void waitForResultValue(SimpleCaptureCallback listener, in waitForResultValue() 380 protected static <T> void waitForAnyResultValue(SimpleCaptureCallback listener, in waitForAnyResultValue() 466 protected static CaptureResult waitForNumResults(SimpleCaptureCallback resultListener, in waitForNumResults() 479 protected void waitForSettingsApplied(SimpleCaptureCallback resultListener, in waitForSettingsApplied() 503 protected void waitForAeStable(SimpleCaptureCallback resultListener, in waitForAeStable() 523 protected void waitForAeLocked(SimpleCaptureCallback resultListener, in waitForAeLocked()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 408 public static class SimpleCaptureCallback extends CameraCaptureSession.CaptureCallback { class in CameraTestUtils 2796 public static CaptureResult waitForNumResults(SimpleCaptureCallback resultListener, in waitForNumResults() 2828 public static <T> void waitForAnyResultValue(SimpleCaptureCallback listener, in waitForAnyResultValue() 2874 public static <T> void waitForResultValue(SimpleCaptureCallback listener, in waitForResultValue() 2899 public static void waitForAeStable(SimpleCaptureCallback resultListener, in waitForAeStable() 2925 public static void waitForSettingsApplied(SimpleCaptureCallback resultListener, in waitForSettingsApplied()
|