/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 …]
|
D | PixelCopyTest.java | 109 mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testNullDest() 116 mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testRecycledDest() 122 int result = mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testNoSourceData() 129 mCopyHelper.request(mSurfaceRule.getSurface(), new Rect(), dest); in testEmptySourceRectSurface() 141 mCopyHelper.request(mSurfaceRule.getSurface(), new Rect(10, 10, 0, 0), dest); in testInvalidSourceRectSurface() 841 public Surface getSurface() { in getSurface() method in PixelCopyTest.SurfaceTextureRule
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 132 imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration() 134 new OutputConfiguration(imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration() 250 … OutputConfiguration config = new OutputConfiguration(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 258 outputConfigs.add(new OutputConfiguration(yuvTargetLogical.getSurface())); in testBasicLogicalPhysicalStreamCombination() 277 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 291 requestBuilder.removeTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 292 requestBuilder.addTarget(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 309 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination() 382 OutputConfiguration config = new OutputConfiguration(yuvTarget.getSurface()); in testBasicPhysicalRequests() 401 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() 260 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 272 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 284 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 300 new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 313 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets() 404 requestBuilder.addTarget(c.getSurface()); in testMandatoryStreamCombination() 597 outputSurfaces.add(config.getSurface()); in testMandatoryReprocessableStreamCombination() 620 outputSurfaces.add(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination() 637 builder.addTarget(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination() [all …]
|
D | ImageReaderTest.java | 502 Surface yuvSurface = yuvReader.getSurface(); in testAllOutputYUVResolutions() 509 Surface jpegSurface = jpegReader.getSurface(); in testAllOutputYUVResolutions() 704 Surface surface = reader.getSurface(); in testUsageRespected() 871 Surface yuvSurface = yuvReader.getSurface(); in bufferFormatWithYuvTestByCamera() 882 Surface captureSurface = captureReader.getSurface(); in bufferFormatWithYuvTestByCamera() 1081 outputSurfaces.add(mReader.getSurface()); in bufferFormatLongProcessingTimeTestByCamera()
|
/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/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/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/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 | SurfacePixelValidator.java | 126 public Surface getSurface() { in getSurface() method in SurfacePixelValidator 127 return mInPixelsAllocation.getSurface(); in getSurface()
|
D | SurfacePixelValidator2.java | 120 public Surface getSurface() { in getSurface() method in SurfacePixelValidator2 121 return mImageReader.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() 556 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderVideo() 575 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testSetOutputFile() 784 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testSetMaxFileSize() 872 mMediaRecorder.setInputSurface(encSurface.getSurface()); in testLevel() 894 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testLevel() 1091 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecordExceedFileSizeLimit() 1157 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 | 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 | MediaStubActivity2.java | 42 mSurface = surfaceV.getHolder().getSurface(); in onCreate()
|
/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/tests/mediastress/src/android/mediastress/cts/ |
D | MediaRecorderStressTest.java | 277 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecorder() 365 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressCameraSwitchRecorder() 444 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecordVideoAndPlayback()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2AndroidTestCase.java | 343 mReaderSurface = mReader.getSurface(); in createDefaultImageReader() 368 mReaderSurface = mReader.getSurface(); in createDefaultImageReader() 461 Surface surface = mReader.getSurface(); in prepareCaptureRequest()
|
D | Camera2SurfaceViewTestCase.java | 562 mReaderSurface = r.getSurface(); in createImageReader() 621 outputSurfaces.add(readers[i].getSurface()); in prepareStillCaptureAndStartPreview() 631 stillRequest.addTarget(readers[i].getSurface()); in prepareStillCaptureAndStartPreview() 709 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()
|