/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | PerformanceTest.java | 30 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 31 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener; 269 Size maxYuvSize = CameraTestUtils.getSortedSizesForFormat( in testSingleCapture() 296 CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in testSingleCapture() 434 Size maxYuvSize = CameraTestUtils.getSortedSizesForFormat( in testMultipleCapture() 478 CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in testMultipleCapture() 486 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testMultipleCapture() 699 mCameraZslImageListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 723 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 724 mJpegListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS).close(); in reprocessingCaptureStallTestByCamera() [all …]
|
D | DngCreatorTest.java | 153 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageBasic() 154 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageBasic() 213 List<CameraTestUtils.SimpleImageReaderListener> captureListeners = in testSingleImageThumbnail() 214 new ArrayList<CameraTestUtils.SimpleImageReaderListener>(); in testSingleImageThumbnail() 236 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageThumbnail() 237 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageThumbnail() 242 CameraTestUtils.SimpleImageReaderListener previewListener in testSingleImageThumbnail() 243 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageThumbnail() 508 List<CameraTestUtils.SimpleImageReaderListener> captureListeners = new ArrayList<>(); in captureRawJpegImagePair() 526 new CameraTestUtils.SizeComparator()); in captureRawJpegImagePair() [all …]
|
D | CameraManagerTest.java | 30 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback; 221 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCamerasSerially() 283 expectedStates, CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenAllCameras() 346 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenAllCameras() 433 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCameraTwice() 440 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCameraTwice() 532 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 550 CameraTestUtils.CAMERA_CLOSE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 580 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 587 CameraTestUtils.CAMERA_CLOSE_TIMEOUT_MS); in testCameraManagerListenerCallbacks()
|
D | ImageReaderTest.java | 32 import android.hardware.camera2.cts.CameraTestUtils.ImageDropperListener; 52 import static android.hardware.camera2.cts.CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS; 53 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 54 import static android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener; 55 import static android.hardware.camera2.cts.CameraTestUtils.dumpFile; 56 import static android.hardware.camera2.cts.CameraTestUtils.getValueNotNull; 349 if (CameraTestUtils.contains(supportedFormats, format)) { in testAllOutputYUVResolutions() 359 Size maxJpegSize = CameraTestUtils.getMaxSize(jpegSizes); in testAllOutputYUVResolutions() 397 CameraTestUtils.SESSION_CONFIGURE_TIMEOUT_MS); in testAllOutputYUVResolutions() 450 CameraTestUtils.validateImage(yuvImage, captureSz.getWidth(), in testAllOutputYUVResolutions() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 172 CameraTestUtils.assertArrayNotEmpty(yuvSizes, in testAvailableStreamConfigs() 176 Rect activeRect = CameraTestUtils.getValueNotNull( in testAvailableStreamConfigs() 504 int[] actualCapabilities = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 523 Rect activeRect = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 528 Size maxYuvSize = CameraTestUtils.getMaxSize( in testStaticBurstCharacteristics() 534 Size maxSlowYuvSize = CameraTestUtils.getMaxSize(slowYuvSizes); in testStaticBurstCharacteristics() 535 maxYuvSize = CameraTestUtils.getMaxSize(new Size[]{maxYuvSize, maxSlowYuvSize}); in testStaticBurstCharacteristics() 538 Size maxJpegSize = CameraTestUtils.getMaxSize(CameraTestUtils.getSupportedSizeForFormat( in testStaticBurstCharacteristics() 563 boolean haveAeLock = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 565 boolean haveAwbLock = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() [all …]
|
D | RobustnessTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 88 testSizes = CameraTestUtils.getSortedSizesForFormat(id, mCameraManager, in testBadSurfaceDimensions() 121 CameraCaptureSession session = CameraTestUtils.configureCameraSession(mCamera, in testBadSurfaceDimensions() 469 new CameraTestUtils.SimpleCaptureCallback(); in testBasicTriggerSequence() 505 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 539 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 547 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 607 new CameraTestUtils.SimpleCaptureCallback(); in testSimultaneousTriggers() 648 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testSimultaneousTriggers() 708 new CameraTestUtils.SimpleCaptureCallback(); in testAfThenAeTrigger() [all …]
|
D | FastBasicsTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 40 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 41 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener;
|
D | StaticMetadataTest.java | 118 Size maxJpegSize = CameraTestUtils.getMaxSize(jpegSizes); in testHwSupportedLevel() 353 Arrays.asList(CameraTestUtils.toObject(tonemapModes)); in validateCapability() 364 Arrays.asList(CameraTestUtils.toObject(colorAberrationModes)); in validateCapability() 537 Size[] sizes = CameraTestUtils.getSupportedSizeForFormat(ImageFormat.YUV_420_888, in getFpsForMaxSize() 539 Size maxSize = CameraTestUtils.getMaxSize(sizes); in getFpsForMaxSize()
|
D | StillCaptureTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 35 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 36 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener; 962 CameraTestUtils.closeImageReader(rawReader); in fullRawCaptureTestByCamera() 963 CameraTestUtils.closeImageReader(jpegReader); in fullRawCaptureTestByCamera() 1291 CameraTestUtils.validateImage(image, rawSize.getWidth(), rawSize.getHeight(), in validateRaw16Image() 1306 CameraTestUtils.validateImage(image, jpegSize.getWidth(), jpegSize.getHeight(), in validateJpegCapture()
|
D | ImageWriterTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 22 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
|
D | BurstCaptureRawTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 28 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 29 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener;
|
D | CaptureRequestTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 30 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 234 List<Integer> lensShadingMapModes = Arrays.asList(CameraTestUtils.toObject( in testLensShadingMap() 250 List<Integer> lensShadingModes = Arrays.asList(CameraTestUtils.toObject( in testLensShadingMap() 1187 CameraTestUtils.toObject(mStaticInfo.getAvailableControlModesChecked())); in colorCorrectionTestByCamera() 1189 CameraTestUtils.toObject(mStaticInfo.getAwbAvailableModesChecked())); in colorCorrectionTestByCamera() 1947 CameraTestUtils.toObject(mapRed), /*min*/ZERO, /*max*/ONE); 1951 CameraTestUtils.toObject(mapGreen), /*min*/ZERO, /*max*/ONE); 1955 CameraTestUtils.toObject(mapBlue), /*min*/ZERO, /*max*/ONE); 2092 CameraTestUtils.toObject(mStaticInfo.getAvailableVideoStabilizationModesChecked()) :
|
D | MultiViewTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 24 import android.hardware.camera2.cts.CameraTestUtils.ImageVerifierListener;
|
D | BurstCaptureTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
D | ReprocessCaptureTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 1096 CameraTestUtils.closeImageReader(mFirstImageReader); in closeImageReaders() 1098 CameraTestUtils.closeImageReader(mSecondImageReader); in closeImageReaders()
|
D | SurfaceViewPreviewTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 35 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
|
D | RecordingTest.java | 14 import static android.hardware.camera2.cts.CameraTestUtils.*; 1477 CameraTestUtils.validateImage(image, size.getWidth(), size.getHeight(),
|
D | AllocationTest.java | 22 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 26 import android.hardware.camera2.cts.CameraTestUtils; 523 Arrays.asList(CameraTestUtils.toObject(getAeAvailableAntiBandingModesChecked())); in isAntiBandingOffModeSupported() 550 Integer[] boxedModes = CameraTestUtils.toObject(modes); in getAvailableTestPatternModesChecked() 575 CameraTestUtils.getAscendingOrderSizes(sizeList, /*ascending*/true); in getAvailableThumbnailSizesChecked() 601 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked() 622 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(apertures))); in getAvailableAperturesChecked() 640 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableHotPixelModesChecked() 676 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableFaceDetectModesChecked() 700 Arrays.asList(CameraTestUtils.toObject(getAvailableFaceDetectModesChecked())); in getMaxFaceCountChecked() 733 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableToneMapModesChecked() [all …]
|
D | CameraSessionUtils.java | 24 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/ |
D | Camera2AndroidTestCase.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 31 import android.hardware.camera2.cts.CameraTestUtils; 190 mCamera = CameraTestUtils.openCamera( in openDevice() 215 mCameraSession = CameraTestUtils.configureCameraSession(mCamera, outputSurfaces, in createSession()
|
D | Camera2SurfaceViewTestCase.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 48 import android.hardware.camera2.cts.CameraTestUtils; 49 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 572 CameraTestUtils.closeImageReader(mReader); in closeImageReader() 583 mCamera = CameraTestUtils.openCamera( in openDevice()
|
D | Camera2MultiViewTestCase.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 23 import android.hardware.camera2.cts.CameraTestUtils; 117 CameraDevice camera = CameraTestUtils.openCamera(mCameraManager, cameraId, in testEnableZslValueByCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 90 public class CameraTestUtils extends Assert { class 2061 Arrays.asList(CameraTestUtils.toObject(focalLengths)); in validateFocalLength() 2082 Arrays.asList(CameraTestUtils.toObject(apertures)); in validateAperture()
|