Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java313 Surface[] surfaces = new Surface[2]; in testSharedSurfaceBasicByCamera() local
327 surfaces[i] = new Surface(previewTexture[i]); in testSharedSurfaceBasicByCamera()
328 outputConfigs[i] = new OutputConfiguration(surfaces[i]); in testSharedSurfaceBasicByCamera()
341 outputConfigs[1].addSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
346 outputConfigs[1].removeSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
350 outputConfigs[1].removeSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
357 outputConfigs[0].addSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
362 outputConfigs[0].removeSurface(surfaces[1]); in testSharedSurfaceBasicByCamera()
366 outputConfigs[0].removeSurface(surfaces[0]); in testSharedSurfaceBasicByCamera()
677 Surface[] surfaces = new Surface[surfaceLimit]; in testSharedSurfaceLimitByCamera() local
[all …]
DFeatureCombinationTest.java311 for (List<Surface> surfaces : surfaceSets) { in verifyCombinationStreaming()
322 for (Surface s : surfaces) { in verifyCombinationStreaming()
DRobustnessTest.java161 List<Surface> surfaces = new ArrayList<>(); in testBadSurfaceDimensions() local
162 surfaces.add(surface); in testBadSurfaceDimensions()
173 surfaces, sessionListener, mHandler); in testBadSurfaceDimensions()
1881 List<Surface> surfaces = new ArrayList<>(); in testConfigureAbandonedSurface() local
1882 surfaces.add(previewSurface); in testConfigureAbandonedSurface()
1887 mCamera.createConstrainedHighSpeedCaptureSession(surfaces, in testConfigureAbandonedSurface()
1899 mCamera.createConstrainedHighSpeedCaptureSession(surfaces, in testConfigureAbandonedSurface()
DPerformanceTest.java1835 private void configureAndSetCameraSession(List<Surface> surfaces,
1841 mTestRule.getCamera(), surfaces,
1846 mTestRule.getCamera(), surfaces,
DExtendedCameraCharacteristicsTest.java947 List<Surface> surfaces = new ArrayList<Surface>(); in checkFormatLatency() local
948 surfaces.add(previewSurface); in checkFormatLatency()
949 surfaces.add(mReaderSurface); in checkFormatLatency()
950 createSession(surfaces); in checkFormatLatency()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecPlayerTestBase.java66 List<Surface> surfaces) throws Exception { in testPlayback() argument
75 false /* scrambled */, null /* sessionId */, surfaces)) { in testPlayback()
89 int videoHeight, boolean scrambled, byte[] sessionId, List<Surface> surfaces) in preparePlayback() argument
98 surfaces, in preparePlayback()
DMediaCodecClearKeyPlayer.java147 List<Surface> surfaces, byte[] sessionId, boolean scrambled, Context context) { in MediaCodecClearKeyPlayer() argument
150 mSurfaces = new ArrayDeque<>(surfaces); in MediaCodecClearKeyPlayer()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaCodecPlayerTest.java44 private void playOnSurfaces(List<Surface> surfaces) throws Exception { in playOnSurfaces() argument
51 surfaces); in playOnSurfaces()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecInstancesTest.java98 Vector<Pair<Integer, Surface>> surfaces = new Vector<>(); in getActualMax() local
120 surfaces.add(obj); in getActualMax()
162 for (int i = 0; i < surfaces.size(); ++i) { in getActualMax()
164 mDynamicActivity.markSurface(surfaces.get(i).first, true); in getActualMax()
166 surfaces.clear(); in getActualMax()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateCtsActivity.java534 private boolean waitForEvents(long waitUntilNanos, TestSurface[] surfaces) in waitForEvents() argument
540 for (TestSurface surface : surfaces) { in waitForEvents()
558 for (TestSurface surface : surfaces) { in waitForEvents()
566 private void waitForStableFrameRate(TestSurface... surfaces) throws InterruptedException { in waitForStableFrameRate() argument
567 verifyCompatibleAndStableFrameRate(0, FRAME_RATE_TOLERANCE_STRICT, surfaces); in waitForStableFrameRate()
572 TestSurface... surfaces) throws InterruptedException { in verifyCompatibleAndStableFrameRate() argument
581 && !waitForEvents(gracePeriodEndTimeNanos, surfaces)) { in verifyCompatibleAndStableFrameRate()
595 if (waitForEvents(endTimeNanos, surfaces)) { in verifyCompatibleAndStableFrameRate()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java540 protected CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument
543 createSession(surfaces); in prepareCaptureRequestForSurfaces()
548 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()
DCamera2AndroidTestRule.java598 public CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument
601 createSession(surfaces); in prepareCaptureRequestForSurfaces()
606 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()