/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiViewTest.java | 300 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 …]
|
D | RobustnessTest.java | 129 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()
|
D | PerformanceTest.java | 1269 private void configureAndSetCameraSession(List<Surface> surfaces, in configureAndSetCameraSession() argument 1275 mTestRule.getCamera(), surfaces, in configureAndSetCameraSession() 1280 mTestRule.getCamera(), surfaces, in configureAndSetCameraSession()
|
D | ExtendedCameraCharacteristicsTest.java | 738 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/ |
D | MediaCodecPlayerTestBase.java | 62 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()
|
D | MediaCodecPlayerTest.java | 39 private void playOnSurfaces(List<Surface> surfaces) throws Exception { in playOnSurfaces() argument 44 VIDEO_WIDTH_CLEAR, VIDEO_HEIGHT_CLEAR, surfaces); in playOnSurfaces()
|
D | MediaCodecClearKeyPlayer.java | 148 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/ |
D | FrameRateCtsActivity.java | 510 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/ |
D | Camera2AndroidTestCase.java | 483 protected CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument 486 createSession(surfaces); in prepareCaptureRequestForSurfaces() 491 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()
|
D | Camera2AndroidTestRule.java | 587 public CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument 590 createSession(surfaces); in prepareCaptureRequestForSurfaces() 595 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()
|