Home
last modified time | relevance | path

Searched refs:surfaces (Results 1 – 7 of 7) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java295 Surface[] surfaces = new Surface[2]; in testSharedSurfaceBasicByCamera() local
309 surfaces[i] = new Surface(previewTexture[i]); in testSharedSurfaceBasicByCamera()
310 outputConfigs[i] = new OutputConfiguration(surfaces[i]); in testSharedSurfaceBasicByCamera()
323 outputConfigs[1].addSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
328 outputConfigs[1].removeSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
332 outputConfigs[1].removeSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
339 outputConfigs[0].addSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
344 outputConfigs[0].removeSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
348 outputConfigs[0].removeSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
659 Surface[] surfaces = new Surface[surfaceLimit]; in testSharedSurfaceLimitByCamera() local
[all …]
DRobustnessTest.java114 List<Surface> surfaces = new ArrayList<>(); in testBadSurfaceDimensions() local
115 surfaces.add(surface); in testBadSurfaceDimensions()
126 surfaces, sessionListener, mHandler); in testBadSurfaceDimensions()
1475 List<Surface> surfaces = new ArrayList<>(); in testConfigureAbandonedSurface() local
1476 surfaces.add(previewSurface); in testConfigureAbandonedSurface()
1481 mCamera.createConstrainedHighSpeedCaptureSession(surfaces, in testConfigureAbandonedSurface()
1493 mCamera.createConstrainedHighSpeedCaptureSession(surfaces, in testConfigureAbandonedSurface()
DExtendedCameraCharacteristicsTest.java713 List<Surface> surfaces = new ArrayList<Surface>(); in checkFormatLatency() local
714 surfaces.add(previewSurface); in checkFormatLatency()
715 surfaces.add(mReaderSurface); in checkFormatLatency()
716 createSession(surfaces); in checkFormatLatency()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecPlayerTestBase.java62 List<Surface> surfaces) throws Exception { in testPlayback() argument
71 false /* scrambled */, null /* sessionId */, surfaces)) { in testPlayback()
85 int videoHeight, boolean scrambled, byte[] sessionId, List<Surface> surfaces) in preparePlayback() argument
94 surfaces, in preparePlayback()
DMediaCodecPlayerTest.java39 private void playOnSurfaces(List<Surface> surfaces) throws Exception { in playOnSurfaces() argument
44 VIDEO_WIDTH_CLEAR, VIDEO_HEIGHT_CLEAR, surfaces); in playOnSurfaces()
DMediaCodecClearKeyPlayer.java142 List<Surface> surfaces, byte[] sessionId, boolean scrambled, Resources resources) { in MediaCodecClearKeyPlayer() argument
145 mSurfaces = new ArrayDeque<>(surfaces); in MediaCodecClearKeyPlayer()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java468 protected CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument
471 createSession(surfaces); in prepareCaptureRequestForSurfaces()
476 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()