Home
last modified time | relevance | path

Searched refs:mReaderSurface (Results 1 – 14 of 14) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DImageSurface.java49 private Surface mReaderSurface; field in ImageSurface
124 mReaderSurface = mReader.getSurface(); in createSurface()
133 return mReaderSurface; in getSurface()
154 mReaderSurface = null; in release()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java238 outputSurfaces.add(mReaderSurface); in preparePerformanceTestByCamera()
275 mSession.prepare(mReaderSurface); in preparePerformanceTestByCamera()
279 onSurfacePrepared(eq(mSession), eq(mReaderSurface)); in preparePerformanceTestByCamera()
288 previewRequest.addTarget(mReaderSurface); in preparePerformanceTestByCamera()
481 new OutputConfiguration(OutputConfiguration.SURFACE_GROUP_ID_NONE, mReaderSurface); in testDeferredSurfacesByCamera()
513 request.addTarget(mReaderSurface); in testDeferredSurfacesByCamera()
804 OutputConfiguration yuvConfig = new OutputConfiguration(mReaderSurface); in surfaceSetTestByCamera()
808 assertEquals(mReaderSurface, yuvConfig.getSurface()); in surfaceSetTestByCamera()
812 requestBuilder.addTarget(mReaderSurface); in surfaceSetTestByCamera()
822 yuvConfig = new OutputConfiguration(surfaceGroupId, mReaderSurface); in surfaceSetTestByCamera()
[all …]
DOfflineSessionTest.java155 offlineSurfaces.add(mReaderSurface); in testInvalidOutput()
598 outputSurfaces.add(mReaderSurface); in camera2OfflineSessionTest()
604 if (!mSession.supportsOfflineProcessing(mReaderSurface)) { in camera2OfflineSessionTest()
611 stillCaptureRequest.addTarget(mReaderSurface); in camera2OfflineSessionTest()
618 offlineSurfaces.add(mReaderSurface); in camera2OfflineSessionTest()
699 outputSurfaces.remove(mReaderSurface); in camera2OfflineSessionTest()
DBurstCaptureRawTest.java673 rawBurstBuilder.removeTarget(mReaderSurface); in stopPreviewAndClearSurface()
716 mSession.prepare(mReaderSurface); in performTestRoutine()
718 mSession, mReaderSurface, PREPARE_TIMEOUT_MS); in performTestRoutine()
DCameraGPURecordingTest.java194 snapshotBuilder.addTarget(mReaderSurface); in captureGpuEncoderPath()
259 if (enableSnapshot && mReaderSurface != null) { in createSessionAndCaptureRequest()
260 sessionOutputs.add(mReaderSurface); in createSessionAndCaptureRequest()
DRecordingTest.java1435 if (mReaderSurface != null) { in startSlowMotionRecording()
1436 outputSurfaces.add(mReaderSurface); in startSlowMotionRecording()
1953 outputs.add(mReaderSurface); in videoSnapshotTestByCamera()
1970 outputs.add(mReaderSurface); in videoSnapshotTestByCamera()
2112 assertNotNull("Reader surface must be non-null!", mReaderSurface); in prepareVideoSnapshot()
2113 requestBuilder.addTarget(mReaderSurface); in prepareVideoSnapshot()
2323 if (mReaderSurface != null) { in startRecording()
2324 outputSurfaces.add(mReaderSurface); in startRecording()
DCaptureResultTest.java115 outputSurfaces.add(mReaderSurface); in testCameraCaptureResultAllKeys()
121 requestBuilder.addTarget(mReaderSurface); in testCameraCaptureResultAllKeys()
178 outputSurfaces.add(mReaderSurface); in testPartialResult()
184 requestBuilder.addTarget(mReaderSurface); in testPartialResult()
DCameraDeviceTest.java489 request2.addTarget(mReaderSurface); in testChainedOperation()
531 request.addTarget(mReaderSurface); in testChainedOperation()
624 outputs.add(mReaderSurface); in testChainedOperation()
1711 requestBuilder.addTarget(mReaderSurface); in captureSingleShot()
1789 requestBuilder.addTarget(mReaderSurface); in captureBurstShot()
1890 List<Surface> outputSurfaces = new ArrayList<>(Arrays.asList(mReaderSurface)); in prepareCapture()
DStillCaptureTest.java252 outputConfigs.add(new OutputConfiguration(mReaderSurface)); in stillJpegRTestByCamera()
258 stillBuilder.addTarget(mReaderSurface); in stillJpegRTestByCamera()
DExtendedCameraCharacteristicsTest.java949 surfaces.add(mReaderSurface); in checkFormatLatency()
962 captureBuilder.addTarget(mReaderSurface); in checkFormatLatency()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestRule.java81 private Surface mReaderSurface; field in Camera2AndroidTestRule
185 return mReaderSurface; in getReaderSurface()
473 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
498 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
554 mReaderSurface = null; in closeDefaultImageReader()
579 outputConfigs.add(new OutputConfiguration(mReaderSurface)); in checkImageReaderSessionConfiguration()
DCamera2AndroidTestCase.java91 protected Surface mReaderSurface; field in Camera2AndroidTestCase
416 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
441 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
497 mReaderSurface = null; in closeDefaultImageReader()
518 OutputConfiguration config = new OutputConfiguration(mReaderSurface); in checkImageReaderSessionConfiguration()
DCamera2SurfaceViewTestCase.java110 protected Surface mReaderSurface; field in Camera2SurfaceViewTestCase
551 mReaderSurface = r.getSurface(); in createImageReader()
560 mReaderSurface = null; in closeImageReader()
789 outputSurfaces.add(mReaderSurface); in prepareCaptureAndStartPreview()
800 stillRequest.addTarget(mReaderSurface); in prepareCaptureAndStartPreview()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java106 private Surface mReaderSurface; field in ImageReaderDecoderTest
441 decoder.configure(mediaFormat, mReaderSurface, null /* crypto */, 0 /* flags */); in decodeFramesToImage()
817 mReaderSurface = mReader.getSurface(); in createImageReader()