Home
last modified time | relevance | path

Searched refs:getSurface (Results 1 – 25 of 56) sorted by relevance

123

/cts/tests/tests/permission/src/android/permission/cts/
DNoCaptureVideoPermissionTest.java51 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/renderscript/src/android/renderscript/cts/
DAllocationCreateAllocationsTest.java74 Surface sRef = allocArray[0].getSurface(); in testGetProperties()
85 Surface s = allocArray[i].getSurface(); in testGetProperties()
99 inputAlloc.setSurface(allocArray[0].getSurface()); in testMultipleIoReceive_USAGE_IO_INPUT()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java95 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/camera/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java257 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testCrossSessionCaptureException()
271 getReprocessOutputImageReader().getSurface(), result); in testCrossSessionCaptureException()
773 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessAbort()
779 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessAbort()
860 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessTimestamps()
866 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessTimestamps()
939 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessJpegExif()
945 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessJpegExif()
1009 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessRequestKeys()
1015 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessRequestKeys()
[all …]
DImageWriterTest.java151 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
170 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
208 Surface surface = mReaderForWriter.getSurface(); in readerWriterFormatTestByCamera()
216 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera()
DCaptureResultTest.java301 previewReader.getSurface(), jpegReader.getSurface())); in testResultTimestamps()
309 previewBuilder.addTarget(previewReader.getSurface()); in testResultTimestamps()
310 multiBuilder.addTarget(previewReader.getSurface()); in testResultTimestamps()
311 multiBuilder.addTarget(jpegReader.getSurface()); in testResultTimestamps()
DRobustnessTest.java109 Surface surface = imageReader.getSurface(); in testBadSurfaceDimensions()
1391 outputSurfaces.add(inputReader.getSurface()); in testReprocessStreamCombination()
1403 builder.addTarget(inputReader.getSurface()); in testReprocessStreamCombination()
1412 reprocessOutputs.add(inputReader.getSurface()); in testReprocessStreamCombination()
1416 reprocessOutputs.add(reader.getSurface()); in testReprocessStreamCombination()
1420 reprocessOutputs.add(reader.getSurface()); in testReprocessStreamCombination()
1578 outputSurfaces.add(target.getSurface()); in setupConfigurationTargets()
1587 outputSurfaces.add(target.getSurface()); in setupConfigurationTargets()
1596 outputSurfaces.add(target.getSurface()); in setupConfigurationTargets()
DImageReaderTest.java380 Surface yuvSurface = yuvReader.getSurface(); in testAllOutputYUVResolutions()
387 Surface jpegSurface = jpegReader.getSurface(); in testAllOutputYUVResolutions()
683 Surface yuvSurface = yuvReader.getSurface(); in bufferFormatWithYuvTestByCamera()
689 Surface captureSurface = captureReader.getSurface(); in bufferFormatWithYuvTestByCamera()
829 outputSurfaces.add(mReader.getSurface()); in bufferFormatLongProcessingTimeTestByCamera()
DPerformanceTest.java498 reprocessReqs[i].addTarget(mJpegReader.getSurface()); in reprocessingCaptureStallTestByCamera()
612 reprocessReqs[i].addTarget(mJpegReader.getSurface()); in reprocessingPerformanceTestByCamera()
701 zslBuilder.addTarget(mCameraZslReader.getSurface()); in startZslStreaming()
766 outSurfaces.add(mCameraZslReader.getSurface()); in prepareReprocessCapture()
767 outSurfaces.add(mJpegReader.getSurface()); in prepareReprocessCapture()
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java203 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderCamera()
279 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in recordVideoUsingCamera()
378 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderVideo()
538 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testSetMaxFileSize()
586 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in setupRecorder()
611 surface = mMediaRecorder.getSurface(); in tryGetSurface()
850 surface = mMediaRecorder.getSurface(); in recordFromSurface()
DEncodeVirtualDisplayWithCompositionTest.java237 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); in doTestRenderingOutput()
673 return mTopPresentation.getSurface(windowIndex); in getWindowSurface()
801 mTopWindow.getSurface(), mWidth, mHeight, mNumWindows); in createWindows()
1047 public Surface getSurface() { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow
1237 public Surface getSurface(int windowIndex) { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.TopWindowPresentation
1238 Surface surface = mWindows[windowIndex].getSurface(); in getSurface()
1258 Surface getSurface(int windowIndex) { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.TopWindowVirtualDisplayPresentation
1259 return ((TopWindowPresentation) mPresentation).getSurface(windowIndex); in getSurface()
1389 decoder.configure(decoderFormat, decodingSurface.getSurface(), null, 0); in isConcurrentEncodingDecodingSupported()
DCompositionTextureView.java125 public Surface getSurface() { in getSurface() method in CompositionTextureView
DAdaptivePlaybackTest.java320 protected TestSurface getSurface() { in getSurface() method in AdaptivePlaybackTest.ActivityTest
322 return new ActivitySurface(getActivity().getSurfaceHolder().getSurface()); in getSurface()
912 Log.i(TAG, "configure(" + format + ", " + mSurface.getSurface() + ")");
913 mCodec.configure(format, mSurface.getSurface(), null /* crypto */, 0 /* flags */);
923 mCodec.setOutputSurface(mSurface.getSurface());
980 if (mSurface.getSurface() == null) {
1630 abstract protected TestSurface getSurface();
1676 mDescription = title + " on " + stepSurface().getSurface() + " using " +
1707 return mTest.getSurface();
1731 public Surface getSurface();
[all …]
DDecodeAccuracyTestBase.java538 public abstract Surface getSurface(); in getSurface() method in VideoViewFactory
574 public Surface getSurface() { in getSurface() method in TextureViewFactory
658 while (!getSurface().isValid()) { in waitForViewIsAvailable()
670 public Surface getSurface() { in getSurface() method in SurfaceViewFactory
671 return surfaceHolder.getSurface(); in getSurface()
734 while (glSurfaceViewThread.getSurface() == null) { in waitForViewIsAvailable()
746 public Surface getSurface() { in getSurface() method in GLSurfaceViewFactory
747 return glSurfaceViewThread.getSurface(); in getSurface()
1002 public Surface getSurface() { in getSurface() method in GLSurfaceViewFactory.GLSurfaceViewThread
DPresentationSyncTest.java89 InputSurface output = new InputSurface(holder.getSurface()); in testThroughput()
223 InputSurface output = new InputSurface(holder.getSurface()); in suppressed_testChoreographed()
DInputSurface.java186 public Surface getSurface() { in getSurface() method in InputSurface
DOutputSurface.java214 public Surface getSurface() { in getSurface() method in OutputSurface
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java124 if (mHolder.getSurface() == null || mCamera == null){ in surfaceChanged()
DCtsMediaOutputSurface.java218 public Surface getSurface() { in getSurface() method in CtsMediaOutputSurface
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java276 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecorder()
364 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressCameraSwitchRecorder()
443 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecordVideoAndPlayback()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DMediaRecorderCameraActivity.java124 mMediaRecorder.setPreviewDisplay(mSurfaceView.getHolder().getSurface()); in surfaceChanged()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java285 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
343 Surface surface = mReader.getSurface(); in prepareCaptureRequest()
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveActivity.java68 mSurface = holder.getSurface(); in onCreate()
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
DGLGameActivity.java63 mSurface = holder.getSurface(); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java877 outputSurfaces.add(mOutputImageReaders[0].getSurface());
1031 req.addTarget(mOutputImageReaders[0].getSurface());
1237 outputSurfaces.add(mOutputImageReaders[i].getSurface());
1269 req.addTarget(mOutputImageReaders[numCaptureSurfaces].getSurface());
1291 req.addTarget(mOutputImageReaders[j].getSurface());
1373 outputSurfaces.add(mOutputImageReaders[i].getSurface());
1384 outputSurfaces.add(mInputImageReader.getSurface());
1416 inputReqest.addTarget(mInputImageReader.getSurface());
1451 req.addTarget(outputImageReader.getSurface());

123