Home
last modified time | relevance | path

Searched refs:CameraTestUtils (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java155 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageBasic()
156 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageBasic()
215 List<CameraTestUtils.SimpleImageReaderListener> captureListeners = in testSingleImageThumbnail()
216 new ArrayList<CameraTestUtils.SimpleImageReaderListener>(); in testSingleImageThumbnail()
238 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageThumbnail()
239 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageThumbnail()
244 CameraTestUtils.SimpleImageReaderListener previewListener in testSingleImageThumbnail()
245 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageThumbnail()
510 List<CameraTestUtils.SimpleImageReaderListener> captureListeners = new ArrayList<>(); in captureRawJpegImagePair()
528 new CameraTestUtils.SizeComparator()); in captureRawJpegImagePair()
[all …]
DPerformanceTest.java30 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
31 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener;
304 Size maxYuvSize = CameraTestUtils.getSortedSizesForFormat( in testSingleCapture()
331 CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in testSingleCapture()
469 Size maxYuvSize = CameraTestUtils.getSortedSizesForFormat( in testMultipleCapture()
514 CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in testMultipleCapture()
522 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testMultipleCapture()
735 mCameraZslImageListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera()
759 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera()
760 mJpegListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS).close(); in reprocessingCaptureStallTestByCamera()
[all …]
DCameraManagerTest.java30 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
31 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback;
243 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCamerasSerially()
314 expectedStates, CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenAllCameras()
380 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenAllCameras()
477 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCameraTwice()
484 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCameraTwice()
597 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerListenerCallbacks()
615 CameraTestUtils.CAMERA_CLOSE_TIMEOUT_MS); in testCameraManagerListenerCallbacks()
649 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerListenerCallbacks()
[all …]
DImageReaderTest.java33 import android.hardware.camera2.cts.CameraTestUtils.ImageDropperListener;
54 import static android.hardware.camera2.cts.CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS;
55 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
56 import static android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener;
57 import static android.hardware.camera2.cts.CameraTestUtils.dumpFile;
58 import static android.hardware.camera2.cts.CameraTestUtils.getValueNotNull;
352 if (CameraTestUtils.contains(supportedFormats, format)) { in testAllOutputYUVResolutions()
362 Size maxJpegSize = CameraTestUtils.getMaxSize(jpegSizes); in testAllOutputYUVResolutions()
400 CameraTestUtils.SESSION_CONFIGURE_TIMEOUT_MS); in testAllOutputYUVResolutions()
453 CameraTestUtils.validateImage(yuvImage, captureSz.getWidth(), in testAllOutputYUVResolutions()
[all …]
DExtendedCameraCharacteristicsTest.java183 CameraTestUtils.assertArrayNotEmpty(yuvSizes, in testAvailableStreamConfigs()
187 Rect activeRect = CameraTestUtils.getValueNotNull( in testAvailableStreamConfigs()
229 List<Size> videoSizes = CameraTestUtils.getSupportedVideoSizes( in testAvailableStreamConfigs()
576 int[] actualCapabilities = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics()
595 Rect activeRect = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics()
600 Size maxYuvSize = CameraTestUtils.getMaxSize( in testStaticBurstCharacteristics()
606 Size maxSlowYuvSize = CameraTestUtils.getMaxSize(slowYuvSizes); in testStaticBurstCharacteristics()
607 maxYuvSize = CameraTestUtils.getMaxSize(new Size[]{maxYuvSize, maxSlowYuvSize}); in testStaticBurstCharacteristics()
610 Size maxJpegSize = CameraTestUtils.getMaxSize(CameraTestUtils.getSupportedSizeForFormat( in testStaticBurstCharacteristics()
635 boolean haveAeLock = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics()
[all …]
DLogicalCameraDeviceTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
126 CameraTestUtils.configureCameraSessionWithConfig(mCamera, outputs, in testInvalidPhysicalCameraIdInOutputConfiguration()
219 ImageReader yuvTargetPhysical = CameraTestUtils.makeImageReader(yuvSize, in testBasicLogicalPhysicalStreamCombination()
227 ImageReader yuvTargetLogical = CameraTestUtils.makeImageReader(yuvSize, in testBasicLogicalPhysicalStreamCombination()
340 ImageReader yuvTarget = CameraTestUtils.makeImageReader(yuvSize, in testBasicPhysicalRequests()
374 ImageReader physicalTarget = CameraTestUtils.makeImageReader(yuvSize, in testBasicPhysicalRequests()
434 ImageReader yuvTarget = CameraTestUtils.makeImageReader(yuvSize, in testInvalidPhysicalCameraRequests()
595 ImageReader logicalTarget = CameraTestUtils.makeImageReader(previewSize, in testBasicPhysicalStreamingForCamera()
607 ImageReader physicalTarget = CameraTestUtils.makeImageReader(previewSize, in testBasicPhysicalStreamingForCamera()
662 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicPhysicalStreamingForCamera()
[all …]
DFastBasicsTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
40 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
41 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener;
DRobustnessTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
95 testSizes = CameraTestUtils.getSortedSizesForFormat(id, mCameraManager, in testBadSurfaceDimensions()
128 CameraCaptureSession session = CameraTestUtils.configureCameraSession(mCamera, in testBadSurfaceDimensions()
481 new CameraTestUtils.SimpleCaptureCallback(); in testBasicTriggerSequence()
517 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence()
551 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence()
559 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence()
619 new CameraTestUtils.SimpleCaptureCallback(); in testSimultaneousTriggers()
660 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testSimultaneousTriggers()
720 new CameraTestUtils.SimpleCaptureCallback(); in testAfThenAeTrigger()
[all …]
DStaticMetadataTest.java120 Size maxJpegSize = CameraTestUtils.getMaxSize(jpegSizes); in testHwSupportedLevel()
355 Arrays.asList(CameraTestUtils.toObject(tonemapModes)); in validateCapability()
366 Arrays.asList(CameraTestUtils.toObject(colorAberrationModes)); in validateCapability()
545 Size[] sizes = CameraTestUtils.getSupportedSizeForFormat(ImageFormat.YUV_420_888, in getFpsForMaxSize()
547 Size maxSize = CameraTestUtils.getMaxSize(sizes); in getFpsForMaxSize()
DImageWriterTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
22 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
DStillCaptureTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
37 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
38 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener;
1051 CameraTestUtils.closeImageReader(rawReader); in fullRawCaptureTestByCamera()
1052 CameraTestUtils.closeImageReader(jpegReader); in fullRawCaptureTestByCamera()
1380 CameraTestUtils.validateImage(image, rawSize.getWidth(), rawSize.getHeight(), in validateRaw16Image()
1395 CameraTestUtils.validateImage(image, jpegSize.getWidth(), jpegSize.getHeight(), in validateJpegCapture()
DBurstCaptureRawTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
28 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
29 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener;
DCaptureRequestTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
31 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
323 List<Integer> lensShadingMapModes = Arrays.asList(CameraTestUtils.toObject( in testLensShadingMap()
339 List<Integer> lensShadingModes = Arrays.asList(CameraTestUtils.toObject( in testLensShadingMap()
1276 CameraTestUtils.toObject(mStaticInfo.getAvailableControlModesChecked())); in colorCorrectionTestByCamera()
1278 CameraTestUtils.toObject(mStaticInfo.getAwbAvailableModesChecked())); in colorCorrectionTestByCamera()
2046 CameraTestUtils.toObject(mapRed), /*min*/ZERO, /*max*/ONE);
2050 CameraTestUtils.toObject(mapGreen), /*min*/ZERO, /*max*/ONE);
2054 CameraTestUtils.toObject(mapBlue), /*min*/ZERO, /*max*/ONE);
2191 CameraTestUtils.toObject(mStaticInfo.getAvailableVideoStabilizationModesChecked()) :
DBurstCaptureTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
DReprocessCaptureTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
1098 CameraTestUtils.closeImageReader(mFirstImageReader); in closeImageReaders()
1100 CameraTestUtils.closeImageReader(mSecondImageReader); in closeImageReaders()
DFlashlightTest.java21 import android.hardware.camera2.cts.CameraTestUtils.HandlerExecutor;
DSurfaceViewPreviewTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
35 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
DMultiViewTest.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
28 import android.hardware.camera2.cts.CameraTestUtils.ImageVerifierListener;
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java26 import android.hardware.camera2.cts.CameraTestUtils;
553 Arrays.asList(CameraTestUtils.toObject(getAeAvailableAntiBandingModesChecked())); in isAntiBandingOffModeSupported()
580 Integer[] boxedModes = CameraTestUtils.toObject(modes); in getAvailableTestPatternModesChecked()
605 CameraTestUtils.getAscendingOrderSizes(sizeList, /*ascending*/true); in getAvailableThumbnailSizesChecked()
631 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked()
652 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(apertures))); in getAvailableAperturesChecked()
670 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableHotPixelModesChecked()
706 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableFaceDetectModesChecked()
730 Arrays.asList(CameraTestUtils.toObject(getAvailableFaceDetectModesChecked())); in getMaxFaceCountChecked()
763 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableToneMapModesChecked()
[all …]
DCameraSessionUtils.java24 import android.hardware.camera2.cts.CameraTestUtils;
80 CameraTestUtils.SESSION_CONFIGURE_TIMEOUT_MS); in getConfiguredSession()
121 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in getCapturedResult()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
32 import android.hardware.camera2.cts.CameraTestUtils;
210 mCamera = CameraTestUtils.openCamera( in openDevice()
235 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in createSession()
247 mCameraSession = CameraTestUtils.configureCameraSessionWithConfig(mCamera, outputConfigs, in createSessionByConfigs()
DCamera2SurfaceViewTestCase.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
48 import android.hardware.camera2.cts.CameraTestUtils;
49 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
580 CameraTestUtils.closeImageReader(mReader); in closeImageReader()
591 mCamera = CameraTestUtils.openCamera( in openDevice()
DCamera2MultiViewTestCase.java19 import static android.hardware.camera2.cts.CameraTestUtils.*;
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java24 import android.hardware.camera2.cts.CameraTestUtils;
128 CameraDevice camera = CameraTestUtils.openCamera(mCameraManager, cameraId, in testEnableZslValueByCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java92 public class CameraTestUtils extends Assert { class
2115 Arrays.asList(CameraTestUtils.toObject(focalLengths)); in validateFocalLength()
2136 Arrays.asList(CameraTestUtils.toObject(apertures)); in validateAperture()

12