/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiViewTest.java | 313 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 …]
|
D | FeatureCombinationTest.java | 311 for (List<Surface> surfaces : surfaceSets) { in verifyCombinationStreaming() 322 for (Surface s : surfaces) { in verifyCombinationStreaming()
|
D | RobustnessTest.java | 161 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()
|
D | PerformanceTest.java | 1835 private void configureAndSetCameraSession(List<Surface> surfaces, 1841 mTestRule.getCamera(), surfaces, 1846 mTestRule.getCamera(), surfaces,
|
D | ExtendedCameraCharacteristicsTest.java | 947 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/ |
D | MediaCodecPlayerTestBase.java | 66 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()
|
D | MediaCodecClearKeyPlayer.java | 147 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/ |
D | MediaCodecPlayerTest.java | 44 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/ |
D | MediaCodecInstancesTest.java | 98 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/ |
D | FrameRateCtsActivity.java | 534 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/ |
D | Camera2AndroidTestCase.java | 540 protected CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument 543 createSession(surfaces); in prepareCaptureRequestForSurfaces() 548 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()
|
D | Camera2AndroidTestRule.java | 598 public CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, in prepareCaptureRequestForSurfaces() argument 601 createSession(surfaces); in prepareCaptureRequestForSurfaces() 606 for (Surface surface : surfaces) { in prepareCaptureRequestForSurfaces()
|