/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 121 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageBasic() 122 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageBasic() 179 List<CameraTestUtils.SimpleImageReaderListener> captureListeners = in testSingleImageThumbnail() 180 new ArrayList<CameraTestUtils.SimpleImageReaderListener>(); in testSingleImageThumbnail() 202 CameraTestUtils.SimpleImageReaderListener captureListener in testSingleImageThumbnail() 203 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageThumbnail() 208 CameraTestUtils.SimpleImageReaderListener previewListener in testSingleImageThumbnail() 209 = new CameraTestUtils.SimpleImageReaderListener(); in testSingleImageThumbnail() 286 List<CameraTestUtils.SimpleImageReaderListener> captureListeners = in testRaw16JpegConsistency() 287 new ArrayList<CameraTestUtils.SimpleImageReaderListener>(); in testRaw16JpegConsistency() [all …]
|
D | PerformanceTest.java | 29 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 30 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener; 260 Size maxYuvSize = CameraTestUtils.getSortedSizesForFormat( in testSingleCapture() 287 CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in testSingleCapture() 416 mCameraZslImageListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 436 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 437 mJpegListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 451 CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingCaptureStallTestByCamera() 519 mCameraZslImageListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingPerformanceTestByCamera() 543 mJpegListener.getImage(CameraTestUtils.CAPTURE_IMAGE_TIMEOUT_MS); in reprocessingPerformanceTestByCamera() [all …]
|
D | CameraManagerTest.java | 30 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback; 217 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCamerasSerially() 279 expectedStates, CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenAllCameras() 342 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenAllCameras() 429 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCameraTwice() 436 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerOpenCameraTwice() 528 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 546 CameraTestUtils.CAMERA_CLOSE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 576 CameraTestUtils.CAMERA_IDLE_TIMEOUT_MS); in testCameraManagerListenerCallbacks() 583 CameraTestUtils.CAMERA_CLOSE_TIMEOUT_MS); in testCameraManagerListenerCallbacks()
|
D | ImageReaderTest.java | 48 import static android.hardware.camera2.cts.CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS; 49 import static android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 50 import static android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener; 51 import static android.hardware.camera2.cts.CameraTestUtils.dumpFile; 52 import static android.hardware.camera2.cts.CameraTestUtils.getValueNotNull; 301 if (CameraTestUtils.contains(supportedFormats, format)) { in testAllOutputYUVResolutions() 311 Size maxJpegSize = CameraTestUtils.getMaxSize(jpegSizes); in testAllOutputYUVResolutions() 380 CameraTestUtils.validateImage(yuvImage, captureSz.getWidth(), in testAllOutputYUVResolutions() 382 CameraTestUtils.validateImage(jpegImage, maxJpegSize.getWidth(), in testAllOutputYUVResolutions() 419 byte[] compressedJpegData = CameraTestUtils.getDataFromImage(jpegImage); in testAllOutputYUVResolutions() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 170 CameraTestUtils.assertArrayNotEmpty(yuvSizes, in testAvailableStreamConfigs() 174 Rect activeRect = CameraTestUtils.getValueNotNull( in testAvailableStreamConfigs() 484 int[] actualCapabilities = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 503 Rect activeRect = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 508 Size maxYuvSize = CameraTestUtils.getMaxSize( in testStaticBurstCharacteristics() 514 Size maxSlowYuvSize = CameraTestUtils.getMaxSize(slowYuvSizes); in testStaticBurstCharacteristics() 515 maxYuvSize = CameraTestUtils.getMaxSize(new Size[]{maxYuvSize, maxSlowYuvSize}); in testStaticBurstCharacteristics() 518 Size maxJpegSize = CameraTestUtils.getMaxSize(CameraTestUtils.getSupportedSizeForFormat( in testStaticBurstCharacteristics() 532 boolean haveAeLock = CameraTestUtils.getValueNotNull( in testStaticBurstCharacteristics() 534 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() 412 new CameraTestUtils.SimpleCaptureCallback(); in testBasicTriggerSequence() 448 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 482 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 490 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testBasicTriggerSequence() 553 new CameraTestUtils.SimpleCaptureCallback(); in testSimultaneousTriggers() 594 CameraTestUtils.CAPTURE_RESULT_TIMEOUT_MS); in testSimultaneousTriggers() 657 new CameraTestUtils.SimpleCaptureCallback(); in testAfThenAeTrigger() [all …]
|
D | StaticMetadataTest.java | 110 Size maxJpegSize = CameraTestUtils.getMaxSize(jpegSizes); in testHwSupportedLevel() 335 Arrays.asList(CameraTestUtils.toObject(tonemapModes)); in validateCapability() 346 Arrays.asList(CameraTestUtils.toObject(colorAberrationModes)); in validateCapability() 523 Size[] sizes = CameraTestUtils.getSupportedSizeForFormat(ImageFormat.YUV_420_888, in getFpsForMaxSize() 525 Size maxSize = CameraTestUtils.getMaxSize(sizes); in getFpsForMaxSize()
|
D | MultiViewTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 24 import android.hardware.camera2.cts.CameraTestUtils.ImageVerifierListener;
|
D | StillCaptureTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 33 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 34 import android.hardware.camera2.cts.CameraTestUtils.SimpleImageReaderListener; 822 CameraTestUtils.closeImageReader(rawReader); in fullRawCaptureTestByCamera() 823 CameraTestUtils.closeImageReader(jpegReader); in fullRawCaptureTestByCamera() 1146 CameraTestUtils.validateImage(image, rawSize.getWidth(), rawSize.getHeight(), in validateRaw16Image() 1161 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 | CaptureRequestTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 30 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 203 List<Integer> lensShadingMapModes = Arrays.asList(CameraTestUtils.toObject( in testLensShadingMap() 219 List<Integer> lensShadingModes = Arrays.asList(CameraTestUtils.toObject( in testLensShadingMap() 685 mCollector.checkArrayMonotonicityAndNotAllEqual(CameraTestUtils.toObject(resultDistances), in focusDistanceTestByCamera() 811 CameraTestUtils.toObject(mStaticInfo.getAvailableControlModesChecked())); in colorCorrectionTestByCamera() 813 CameraTestUtils.toObject(mStaticInfo.getAwbAvailableModesChecked())); in colorCorrectionTestByCamera() 1571 CameraTestUtils.toObject(mapRed), /*min*/ZERO, /*max*/ONE); 1575 CameraTestUtils.toObject(mapGreen), /*min*/ZERO, /*max*/ONE); 1579 CameraTestUtils.toObject(mapBlue), /*min*/ZERO, /*max*/ONE);
|
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 | SurfaceViewPreviewTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*; 31 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 | CameraTestUtils.java | 88 public class CameraTestUtils extends Assert { class 1843 Arrays.asList(CameraTestUtils.toObject(focalLengths)); in validateFocalLength() 1864 Arrays.asList(CameraTestUtils.toObject(apertures)); in validateAperture()
|
D | RecordingTest.java | 14 import static android.hardware.camera2.cts.CameraTestUtils.*; 1227 CameraTestUtils.validateImage(image, size.getWidth(), size.getHeight(),
|
D | AllocationTest.java | 22 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
D | CaptureResultTest.java | 34 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
D | CameraDeviceTest.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*;
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 26 import android.hardware.camera2.cts.CameraTestUtils; 510 Arrays.asList(CameraTestUtils.toObject(getAeAvailableAntiBandingModesChecked())); in isAntiBandingOffModeSupported() 537 Integer[] boxedModes = CameraTestUtils.toObject(modes); in getAvailableTestPatternModesChecked() 562 CameraTestUtils.getAscendingOrderSizes(sizeList, /*ascending*/true); in getAvailableThumbnailSizesChecked() 588 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(focalLengths))); in getAvailableFocalLengthsChecked() 609 checkElementDistinct(key, Arrays.asList(CameraTestUtils.toObject(apertures))); in getAvailableAperturesChecked() 627 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableHotPixelModesChecked() 663 List<Integer> modeList = Arrays.asList(CameraTestUtils.toObject(modes)); in getAvailableFaceDetectModesChecked() 687 Arrays.asList(CameraTestUtils.toObject(getAvailableFaceDetectModesChecked())); in getMaxFaceCountChecked() 720 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/tests/hardware/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.*; 47 import android.hardware.camera2.cts.CameraTestUtils; 48 import android.hardware.camera2.cts.CameraTestUtils.SimpleCaptureCallback; 550 CameraTestUtils.closeImageReader(mReader); in closeImageReader() 561 mCamera = CameraTestUtils.openCamera( in openDevice()
|
D | Camera2MultiViewTestCase.java | 19 import static android.hardware.camera2.cts.CameraTestUtils.*;
|