Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java300 Surface[] surfaces = new Surface[2]; in testSharedSurfaceBasicByCamera() local
314 surfaces[i] = new Surface(previewTexture[i]); in testSharedSurfaceBasicByCamera()
315 outputConfigs[i] = new OutputConfiguration(surfaces[i]); in testSharedSurfaceBasicByCamera()
328 outputConfigs[1].addSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
333 outputConfigs[1].removeSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
337 outputConfigs[1].removeSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
344 outputConfigs[0].addSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
349 outputConfigs[0].removeSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
353 outputConfigs[0].removeSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
664 Surface[] surfaces = new Surface[surfaceLimit]; in testSharedSurfaceLimitByCamera() local
[all …]
DRobustnessTest.java129 List<Surface> surfaces = new ArrayList<>(); in testBadSurfaceDimensions() local
130 surfaces.add(surface); in testBadSurfaceDimensions()
141 surfaces, sessionListener, mHandler); in testBadSurfaceDimensions()
1508 List<Surface> surfaces = new ArrayList<>(); in testConfigureAbandonedSurface() local
1509 surfaces.add(previewSurface); in testConfigureAbandonedSurface()
1514 mCamera.createConstrainedHighSpeedCaptureSession(surfaces, in testConfigureAbandonedSurface()
1526 mCamera.createConstrainedHighSpeedCaptureSession(surfaces, in testConfigureAbandonedSurface()
DPerformanceTest.java1269 private void configureAndSetCameraSession(List<Surface> surfaces, in configureAndSetCameraSession() argument
1275 mTestRule.getCamera(), surfaces, in configureAndSetCameraSession()
1280 mTestRule.getCamera(), surfaces, in configureAndSetCameraSession()
DExtendedCameraCharacteristicsTest.java738 List<Surface> surfaces = new ArrayList<Surface>(); in checkFormatLatency() local
739 surfaces.add(previewSurface); in checkFormatLatency()
740 surfaces.add(mReaderSurface); in checkFormatLatency()
741 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.java148 List<Surface> surfaces, byte[] sessionId, boolean scrambled, Context context) { in MediaCodecClearKeyPlayer() argument
151 mSurfaces = new ArrayDeque<>(surfaces); in MediaCodecClearKeyPlayer()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateCtsActivity.java510 private boolean waitForEvents(long waitUntilNanos, List<TestSurface> surfaces) in waitForEvents() argument
516 for (TestSurface surface : surfaces) { in waitForEvents()
534 for (TestSurface surface : surfaces) { in waitForEvents()
548 List<TestSurface> surfaces) throws InterruptedException { in verifyCompatibleAndStableFrameRate() argument
557 && !waitForEvents(gracePeriodEndTimeNanos, surfaces)) { in verifyCompatibleAndStableFrameRate()
571 if (waitForEvents(endTimeNanos, surfaces)) { in verifyCompatibleAndStableFrameRate()
784 ArrayList<TestSurface> surfaces = new ArrayList<>(); in testFixedSource() local
785 surfaces.add(surfaceA); in testFixedSource()
786 surfaces.add(surfaceB); in testFixedSource()
791 verifyCompatibleAndStableFrameRate(frameRateA, surfaces); in testFixedSource()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java483 protected CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument
486 createSession(surfaces); in prepareCaptureRequestForSurfaces()
491 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()
DCamera2AndroidTestRule.java587 public CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument
590 createSession(surfaces); in prepareCaptureRequestForSurfaces()
595 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()