/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StillCaptureTest.java | 539 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in focalLengthTestByCamera() local 560 maxStillSz, resultListener, focalLengths.length, imageListener); in focalLengthTestByCamera() 584 Image image = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in focalLengthTestByCamera() 602 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in previewPersistenceTestByCamera() local 608 maxStillSz, resultListener, imageListener); in previewPersistenceTestByCamera() 620 Image image = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in previewPersistenceTestByCamera() 686 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in takePictureTestByCamera() local 694 maxStillSz, resultListener, imageListener); in takePictureTestByCamera() 848 Image image = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in takePictureTestByCamera() 891 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in previewStillCombinationTestByCamera() local [all …]
|
D | SurfaceViewPreviewTest.java | 208 ImageDropperListener imageListener = new ImageDropperListener(); in preparePerformanceTestByCamera() local 219 … createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_IMAGES_TO_PREPARE, imageListener); in preparePerformanceTestByCamera() 487 ImageDropperListener imageListener = new ImageDropperListener(); in testDeferredSurfacesByCamera() local 489 imageListener); in testDeferredSurfacesByCamera() 541 assertTrue("No images received", imageListener.getImageCount() > 0); in testDeferredSurfacesByCamera() 587 imageListener.resetImageCount(); in testDeferredSurfacesByCamera() 592 assertTrue("No images received", imageListener.getImageCount() > 0); in testDeferredSurfacesByCamera() 612 imageListener.resetImageCount(); in testDeferredSurfacesByCamera() 617 assertTrue("No images received", imageListener.getImageCount() > 0); in testDeferredSurfacesByCamera() 817 ImageDropperListener imageListener = new ImageDropperListener(); in surfaceSetTestByCamera() local [all …]
|
D | FastBasicsTest.java | 88 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in camera2TestByCamera() local 91 previewSize, stillSize, resultListener, imageListener); in camera2TestByCamera() 121 Image img = imageListener.getImage(WAIT_FOR_PICTURE_TIMEOUT_MS); in camera2TestByCamera()
|
D | PerformanceTest.java | 145 SimpleImageListener imageListener = null; in testCameraLaunch() local 151 imageListener = new SimpleImageListener(); in testCameraLaunch() 152 mReader.setOnImageAvailableListener(imageListener, mHandler); in testCameraLaunch() 168 blockingStartPreview(resultListener, imageListener); in testCameraLaunch() 302 SimpleImageListener imageListener = new SimpleImageListener(); in testSingleCapture() local 310 NUM_MAX_IMAGES, imageListener); in testSingleCapture() 330 imageListener.waitForImageAvailable( in testSingleCapture() 333 captureTimes[i] = imageListener.getTimeReceivedImage() - startTimeMs; in testSingleCapture() 466 SimpleImageReaderListener imageListener = in testMultipleCapture() local 487 sessionListener, NUM_MAX_IMAGES, imageListener); in testMultipleCapture() [all …]
|
D | CameraDeviceTest.java | 764 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in testCreateCustomSessionByCamera() local 765 imageReader.setOnImageAvailableListener(imageListener, mHandler); in testCreateCustomSessionByCamera() 774 imageListener.getImage(CAPTURE_TIMEOUT_MS).close(); in testCreateCustomSessionByCamera() 985 ImageDropperListener imageListener = new ImageDropperListener(); in testSessionParametersStateLeakByCamera() local 986 imageReader.setOnImageAvailableListener(imageListener, mHandler); in testSessionParametersStateLeakByCamera() 1168 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in testCreateSessionWithParametersByCamera() local 1169 imageReader.setOnImageAvailableListener(imageListener, mHandler); in testCreateSessionWithParametersByCamera() 1173 imageListener.getImage(CAPTURE_TIMEOUT_MS).close(); in testCreateSessionWithParametersByCamera() 1234 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in testCreateSessionsByCamera() local 1235 reader.setOnImageAvailableListener(imageListener, mHandler); in testCreateSessionsByCamera() [all …]
|
D | RecordingTest.java | 1277 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in videoSnapshotTestByCamera() local 1286 prepareVideoSnapshot(videoSnapshotRequestBuilder, imageListener); in videoSnapshotTestByCamera() 1337 Image image = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in videoSnapshotTestByCamera() 1343 Image image = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in videoSnapshotTestByCamera() 1378 ImageReader.OnImageAvailableListener imageListener) in prepareVideoSnapshot() argument 1380 mReader.setOnImageAvailableListener(imageListener, mHandler); in prepareVideoSnapshot()
|
D | CaptureRequestTest.java | 808 SimpleImageReaderListener imageListener = null; in dynamicBlackWhiteLevelTestByCamera() local 826 imageListener = new SimpleImageReaderListener(); in dynamicBlackWhiteLevelTestByCamera() 828 resultListener, imageListener); in dynamicBlackWhiteLevelTestByCamera() 847 Image rawImage = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in dynamicBlackWhiteLevelTestByCamera()
|
D | RobustnessTest.java | 113 SimpleImageReaderListener imageListener = new SimpleImageReaderListener(); in testBadSurfaceDimensions() local 114 imageReader.setOnImageAvailableListener(imageListener, mHandler); in testBadSurfaceDimensions() 149 Image image = imageListener.getImage(CAPTURE_TIMEOUT); in testBadSurfaceDimensions()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 272 ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareStillCaptureAndStartPreview() argument 274 ImageFormat.JPEG, resultListener, MAX_READER_IMAGES, imageListener); in prepareStillCaptureAndStartPreview() 291 ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareStillCaptureAndStartPreview() argument 293 ImageFormat.JPEG, resultListener, maxNumImages, imageListener); in prepareStillCaptureAndStartPreview() 313 ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareRawCaptureAndStartPreview() argument 315 ImageFormat.RAW_SENSOR, resultListener, MAX_READER_IMAGES, imageListener); in prepareRawCaptureAndStartPreview() 709 ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareCaptureAndStartPreview() argument 711 format, resultListener, null, maxNumImages, imageListener); in prepareCaptureAndStartPreview() 730 int maxNumImages, ImageReader.OnImageAvailableListener imageListener) throws Exception { in prepareCaptureAndStartPreview() argument 740 createImageReader(captureSz, format, maxNumImages, imageListener); in prepareCaptureAndStartPreview()
|