/cts/tests/tests/view/src/android/view/cts/ |
D | ASurfaceControlTest.java | 355 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_createFromWindow() 372 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_create() 390 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer() 409 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer_parentAndChild() 432 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer_childOnly() 453 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setVisibility_show() 474 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setVisibility_hide() 495 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBufferOpaque_opaque() 516 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBufferOpaque_transparent() 545 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setDestinationRect() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 132 imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration() 134 new OutputConfiguration(imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration() 249 … OutputConfiguration config = new OutputConfiguration(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 257 outputConfigs.add(new OutputConfiguration(yuvTargetLogical.getSurface())); in testBasicLogicalPhysicalStreamCombination() 276 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 290 requestBuilder.removeTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 291 requestBuilder.addTarget(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 308 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 381 OutputConfiguration config = new OutputConfiguration(yuvTarget.getSurface()); in testBasicPhysicalRequests() 400 requestBuilder.addTarget(c.getSurface()); in testBasicPhysicalRequests() [all …]
|
D | ReprocessCaptureTest.java | 303 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testCrossSessionCaptureException() 317 getReprocessOutputImageReader().getSurface(), result); in testCrossSessionCaptureException() 846 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessAbort() 852 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessAbort() 933 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessTimestamps() 939 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessTimestamps() 1012 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessJpegExif() 1018 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessJpegExif() 1083 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessRequestKeys() 1089 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessRequestKeys() [all …]
|
D | ImageWriterTest.java | 138 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 157 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions() 210 Surface surface = mReaderForWriter.getSurface(); in readerWriterFormatTestByCamera() 222 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera()
|
D | RobustnessTest.java | 113 Surface surface = imageReader.getSurface(); in testBadSurfaceDimensions() 255 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 267 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 279 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 295 new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 308 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 399 requestBuilder.addTarget(c.getSurface()); in testMandatoryStreamCombination() 592 outputSurfaces.add(config.getSurface()); in testMandatoryReprocessableStreamCombination() 615 outputSurfaces.add(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination() 632 builder.addTarget(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination() [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoCaptureVideoPermissionTest.java | 51 reader.getSurface(), DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC); in testCreatePublicVirtualDisplay() 74 reader.getSurface(), DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE); in testCreateSecureVirtualDisplay() 96 reader.getSurface(), 0); in testCreatePrivateVirtualDisplay()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanSurfaceSupportTest.java | 46 InstrumentationRegistry.getContext().getAssets(), reader.getSurface(), false); in testVulkanUnsupportedFormat() 53 InstrumentationRegistry.getContext().getAssets(), reader.getSurface(), true); in testVulkanSupportedFormat()
|
D | VulkanPreTransformCtsActivity.java | 51 mSurface = surfaceView.getHolder().getSurface(); in onCreate()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 95 mSurface = mImageReader.getSurface(); in setUp() 127 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplay() 152 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivatePresentationVirtualDisplay() 176 assertNull(virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface() 180 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface() 189 assertNull(virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AllocationCreateAllocationsTest.java | 80 Surface sRef = allocArray[0].getSurface(); in testGetProperties() 91 Surface s = allocArray[i].getSurface(); in testGetProperties() 108 inputAlloc.setSurface(allocArray[0].getSurface()); in testMultipleIoReceive_USAGE_IO_INPUT()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VirtualDisplayActivity.java | 143 mPendingDisplayRequests.put(surfaceView.getHolder().getSurface(), in createVirtualDisplay() 166 mPendingDisplayRequests.remove(surfaceHolder.getSurface()); in surfaceCreated() 175 final Surface surface = surfaceHolder.getSurface(); in surfaceCreated() 234 final VirtualDisplayEntry entry = mVirtualDisplays.get(surfaceHolder.getSurface()); in surfaceChanged()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | VirtualDisplayHelper.java | 98 mVirtualDisplay.setSurface(mReader.getSurface()); in turnDisplayOn() 141 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, mReader.getSurface(), flags); in createVirtualDisplay()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator2.java | 120 public Surface getSurface() { in getSurface() method in SurfacePixelValidator2 121 return mImageReader.getSurface(); in getSurface()
|
D | SurfacePixelValidator.java | 126 public Surface getSurface() { in getSurface() method in SurfacePixelValidator 127 return mInPixelsAllocation.getSurface(); in getSurface()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaRecorderTest.java | 252 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderCamera() 328 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderMPEG2TS() 447 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in recordVideoUsingCamera() 554 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderVideo() 573 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testSetOutputFile() 782 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testSetMaxFileSize() 870 mMediaRecorder.setInputSurface(encSurface.getSurface()); in testLevel() 892 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testLevel() 1089 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecordExceedFileSizeLimit() 1155 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in setupRecorder() [all …]
|
D | DecodeAccuracyTestBase.java | 727 public abstract Surface getSurface(); in getSurface() method in VideoViewFactory 768 public Surface getSurface() { in getSurface() method in TextureViewFactory 858 while (SystemClock.elapsedRealtime() - start < timeOutMs && !getSurface().isValid()) { in waitForViewIsAvailable() 868 if (!getSurface().isValid()) { in waitForViewIsAvailable() 875 public Surface getSurface() { in getSurface() method in SurfaceViewFactory 876 return surfaceHolder == null ? null : surfaceHolder.getSurface(); in getSurface() 941 && glSurfaceViewThread.getSurface() == null) { in waitForViewIsAvailable() 952 if (glSurfaceViewThread.getSurface() == null) { in waitForViewIsAvailable() 960 public Surface getSurface() { in getSurface() method in GLSurfaceViewFactory 961 return glSurfaceViewThread.getSurface(); in getSurface() [all …]
|
D | MediaStubActivity2.java | 42 mSurface = surfaceV.getHolder().getSurface(); in onCreate()
|
D | CompositionTextureView.java | 125 public Surface getSurface() { in getSurface() method in CompositionTextureView
|
D | AdaptivePlaybackTest.java | 366 protected TestSurface getSurface() { in getSurface() method in AdaptivePlaybackTest.ActivityTest 368 return new ActivitySurface(getActivity().getSurfaceHolder().getSurface()); in getSurface() 945 Log.i(TAG, "configure(" + format + ", " + mSurface.getSurface() + ")"); 946 mCodec.configure(format, mSurface.getSurface(), null /* crypto */, 0 /* flags */); 956 mCodec.setOutputSurface(mSurface.getSurface()); 1013 if (mSurface.getSurface() == null) { 1646 abstract protected TestSurface getSurface(); 1701 mDescription = title + " on " + stepSurface().getSurface() + " using " + 1732 return mTest.getSurface(); 1756 public Surface getSurface(); [all …]
|
D | EncodeVirtualDisplayWithCompositionTest.java | 272 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); in doTestRenderingOutput() 785 return mTopPresentation.getSurface(windowIndex); in getWindowSurface() 913 mTopWindow.getSurface(), mWidth, mHeight, mNumWindows); in createWindows() 1159 public Surface getSurface() { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow 1406 public Surface getSurface(int windowIndex) { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.TopWindowPresentation 1407 Surface surface = mWindows[windowIndex].getSurface(); in getSurface() 1427 Surface getSurface(int windowIndex) { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.TopWindowVirtualDisplayPresentation 1428 return ((TopWindowPresentation) mPresentation).getSurface(windowIndex); in getSurface() 1572 decoder.configure(decoderFormat, decodingSurface.getSurface(), null, 0); in isConcurrentEncodingDecodingSupported()
|
D | PresentationSyncTest.java | 91 InputSurface output = new InputSurface(holder.getSurface()); in testThroughput() 225 InputSurface output = new InputSurface(holder.getSurface()); in suppressed_testChoreographed()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_encoder_jni.cpp | 54 std::shared_ptr<ANativeWindow> getSurface() const; 103 std::shared_ptr<ANativeWindow> NativeEncoder::getSurface() const { in getSurface() function in NativeEncoder 349 src->prepare(nullptr /*bufferListener*/, enc->getSurface()); in runNativeEncoderTest()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 554 mReaderSurface = r.getSurface(); in createImageReader() 613 outputSurfaces.add(readers[i].getSurface()); in prepareStillCaptureAndStartPreview() 623 stillRequest.addTarget(readers[i].getSurface()); in prepareStillCaptureAndStartPreview() 701 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()
|
D | Camera2AndroidTestCase.java | 343 mReaderSurface = mReader.getSurface(); in createDefaultImageReader() 368 mReaderSurface = mReader.getSurface(); in createDefaultImageReader() 461 Surface surface = mReader.getSurface(); in prepareCaptureRequest()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaRecorderStressTest.java | 276 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecorder() 364 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressCameraSwitchRecorder() 443 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecordVideoAndPlayback()
|