/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | PerformanceTest.java | 29 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 30 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener; 266 Size maxYuvSize = CameraTestUtils.getSortedSizesForFormat( in testSingleCapture() 293 CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in testSingleCapture() 493 mCameraZslImageListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 517 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 518 mJpegListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS).close(); in reprocessingCaptureStallTestByCamera() 532 CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 600 mCameraZslImageListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingPerformanceTestByCamera() 632 jpegImages[i] = mJpegListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingPerformanceTestByCamera() [all …]
|
D | DngCreatorTest.java | 150 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageBasic() 151 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageBasic() 210 List<CameraTestUtils.SimpleImageReaderListener> captureListeners = in testSingleImageThumbnail() 211 new ArrayList<CameraTestUtils.SimpleImageReaderListener>(); in testSingleImageThumbnail() 233 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageThumbnail() 234 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageThumbnail() 239 CameraTestUtils.SimpleImageReaderListener previewListener in testSingleImageThumbnail() 240 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageThumbnail() 472 List<CameraTestUtils.SimpleImageReaderListener> captureListeners = new ArrayList<>(); in captureRawJpegImagePair() 490 new CameraTestUtils.SizeComparator()); in captureRawJpegImagePair() [all …]
|
D | CameraManagerTest.java | 30 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback; 218 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCamerasSerially() 280 expectedStates, CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenAllCameras() 343 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenAllCameras() 430 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCameraTwice() 437 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCameraTwice() 529 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 547 CameraTestUtils.CAMERA_CLOSE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 577 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 584 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() 501 int[] actualCapabilities = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 520 Rect activeRect = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 525 Size maxYuvSize = CameraTestUtils.getMaxSize( in testStaticBurstCharacteristics() 531 Size maxSlowYuvSize = CameraTestUtils.getMaxSize(slowYuvSizes); in testStaticBurstCharacteristics() 532 maxYuvSize = CameraTestUtils.getMaxSize(new Size[]{maxYuvSize, maxSlowYuvSize}); in testStaticBurstCharacteristics() 535 Size maxJpegSize = CameraTestUtils.getMaxSize(CameraTestUtils.getSupportedSizeForFormat( in testStaticBurstCharacteristics() 560 boolean haveAeLock = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 562 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() 472 new CameraTestUtils.SimpleCaptureCallback(); in testBasicTriggerSequence() 508 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 542 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 550 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 613 new CameraTestUtils.SimpleCaptureCallback(); in testSimultaneousTriggers() 654 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testSimultaneousTriggers() 717 new CameraTestUtils.SimpleCaptureCallback(); in testAfThenAeTrigger() [all …]
|
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() 541 Size[] sizes = CameraTestUtils.getSupportedSizeForFormat(ImageFormat.YUV_420_888, in getFpsForMaxSize() 543 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; 865 CameraTestUtils.closeImageReader(rawReader); in fullRawCaptureTestByCamera() 866 CameraTestUtils.closeImageReader(jpegReader); in fullRawCaptureTestByCamera() 1190 CameraTestUtils.validateImage(image, rawSize.getWidth(), rawSize.getHeight(), in validateRaw16Image() 1205 CameraTestUtils.validateImage(image, jpegSize.getWidth(), jpegSize.getHeight(), in validateJpegCapture()
|
D | MultiViewTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 24 import android.hardware.camera2.cts.CameraTestUtils.ImageVerifierListener;
|
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() 1136 CameraTestUtils.toObject(mStaticInfo.getAvailableControlModesChecked())); in colorCorrectionTestByCamera() 1138 CameraTestUtils.toObject(mStaticInfo.getAwbAvailableModesChecked())); in colorCorrectionTestByCamera() 1896 CameraTestUtils.toObject(mapRed), /*min*/ZERO, /*max*/ONE); 1900 CameraTestUtils.toObject(mapGreen), /*min*/ZERO, /*max*/ONE); 1904 CameraTestUtils.toObject(mapBlue), /*min*/ZERO, /*max*/ONE); 2041 CameraTestUtils.toObject(mStaticInfo.getAvailableVideoStabilizationModesChecked()) :
|
D | SurfaceViewPreviewTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 35 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback;
|
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 | RecordingTest.java | 14 import static android.hardware.camera2.cts.CameraTestUtils.*; 1294 CameraTestUtils.validateImage(image, size.getWidth(), size.getHeight(),
|
D | CameraTestUtils.java | 89 public class CameraTestUtils extends Assert { class 1969 Arrays.asList(CameraTestUtils.toObject(focalLengths)); in validateFocalLength() 1990 Arrays.asList(CameraTestUtils.toObject(apertures)); in validateAperture()
|
D | AllocationTest.java | 22 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
D | CaptureResultTest.java | 35 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
D | CameraDeviceTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 26 import android.hardware.camera2.cts.CameraTestUtils; 513 Arrays.asList(CameraTestUtils.toObject(getAeAvailableAntiBandingModesChecked())); in isAntiBandingOffModeSupported() 540 Integer[] boxedModes = CameraTestUtils.toObject(modes); in getAvailableTestPatternModesChecked() 565 CameraTestUtils.getAscendingOrderSizes(sizeList, /*ascending*/true); in getAvailableThumbnailSizesChecked() 591 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked() 612 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(apertures))); in getAvailableAperturesChecked() 630 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableHotPixelModesChecked() 666 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableFaceDetectModesChecked() 690 Arrays.asList(CameraTestUtils.toObject(getAvailableFaceDetectModesChecked())); in getMaxFaceCountChecked() 723 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; 566 CameraTestUtils.closeImageReader(mReader); in closeImageReader() 577 mCamera = CameraTestUtils.openCamera( in openDevice()
|
D | Camera2MultiViewTestCase.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*;
|