Home
last modified time | relevance | path

Searched refs:getSurface (Results 1 – 25 of 52) 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/nativeopengl/src/com/android/opengl/cts/
DGLTestActivity.java35 setSurface(holder.getSurface());
40 setSurface(holder.getSurface());
/cts/tests/tests/nativeopengl/standalone/src/com/android/gltest/
DGLTestActivity.java51 setSurface(holder.getSurface());
55 setSurface(holder.getSurface());
/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/tests/hardware/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()
DPerformanceTest.java421 reprocessReqs[i].addTarget(mJpegReader.getSurface()); in reprocessingCaptureStallTestByCamera()
524 reprocessReqs[i].addTarget(mJpegReader.getSurface()); in reprocessingPerformanceTestByCamera()
590 zslBuilder.addTarget(mCameraZslReader.getSurface()); in startZslStreaming()
651 outSurfaces.add(mCameraZslReader.getSurface()); in prepareReprocessCapture()
652 outSurfaces.add(mJpegReader.getSurface()); in prepareReprocessCapture()
DRobustnessTest.java109 Surface surface = imageReader.getSurface(); in testBadSurfaceDimensions()
1265 outputSurfaces.add(inputReader.getSurface()); in testReprocessStreamCombination()
1277 builder.addTarget(inputReader.getSurface()); in testReprocessStreamCombination()
1286 reprocessOutputs.add(inputReader.getSurface()); in testReprocessStreamCombination()
1290 reprocessOutputs.add(reader.getSurface()); in testReprocessStreamCombination()
1294 reprocessOutputs.add(reader.getSurface()); in testReprocessStreamCombination()
1452 outputSurfaces.add(target.getSurface()); in setupConfigurationTargets()
1461 outputSurfaces.add(target.getSurface()); in setupConfigurationTargets()
1470 outputSurfaces.add(target.getSurface()); in setupConfigurationTargets()
DCaptureResultTest.java300 previewReader.getSurface(), jpegReader.getSurface())); in testResultTimestamps()
308 previewBuilder.addTarget(previewReader.getSurface()); in testResultTimestamps()
309 multiBuilder.addTarget(previewReader.getSurface()); in testResultTimestamps()
310 multiBuilder.addTarget(jpegReader.getSurface()); in testResultTimestamps()
DImageReaderTest.java331 Surface yuvSurface = yuvReader.getSurface(); in testAllOutputYUVResolutions()
338 Surface jpegSurface = jpegReader.getSurface(); in testAllOutputYUVResolutions()
606 Surface yuvSurface = yuvReader.getSurface(); in bufferFormatWithYuvTestByCamera()
612 Surface captureSurface = captureReader.getSurface(); in bufferFormatWithYuvTestByCamera()
750 outputSurfaces.add(mReader.getSurface()); in bufferFormatLongProcessingTimeTestByCamera()
DDngCreatorTest.java538 Surface captureSurface = captureReader.getSurface(); in captureRawShots()
558 outputSurfaces.add(previewReader.getSurface()); in captureRawShots()
567 precaptureRequest.addTarget(previewReader.getSurface()); in captureRawShots()
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java200 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderCamera()
246 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in recordVideoUsingCamera()
328 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderVideo()
476 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testSetMaxFileSize()
524 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in setupRecorder()
549 surface = mMediaRecorder.getSurface(); in tryGetSurface()
788 surface = mMediaRecorder.getSurface(); in recordFromSurface()
DCompositionTextureView.java125 public Surface getSurface() { in getSurface() method in CompositionTextureView
DEncodeVirtualDisplayWithCompositionTest.java237 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); in doTestRenderingOutput()
666 return mTopPresentation.getSurface(windowIndex); in getWindowSurface()
794 mTopWindow.getSurface(), mWidth, mHeight, mNumWindows); in createWindows()
1040 public Surface getSurface() { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow
1230 public Surface getSurface(int windowIndex) { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.TopWindowPresentation
1231 Surface surface = mWindows[windowIndex].getSurface(); in getSurface()
1251 Surface getSurface(int windowIndex) { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.TopWindowVirtualDisplayPresentation
1252 return ((TopWindowPresentation) mPresentation).getSurface(windowIndex); in getSurface()
1382 decoder.configure(decoderFormat, decodingSurface.getSurface(), null, 0); in isConcurrentEncodingDecodingSupported()
DAdaptivePlaybackTest.java314 protected TestSurface getSurface() { in getSurface() method in AdaptivePlaybackTest.ActivityTest
316 return new ActivitySurface(getActivity().getSurfaceHolder().getSurface()); in getSurface()
906 Log.i(TAG, "configure(" + format + ", " + mSurface.getSurface() + ")");
907 mCodec.configure(format, mSurface.getSurface(), null /* crypto */, 0 /* flags */);
917 mCodec.setOutputSurface(mSurface.getSurface());
974 if (mSurface.getSurface() == null) {
1609 abstract protected TestSurface getSurface();
1655 mDescription = title + " on " + stepSurface().getSurface() + " using " +
1686 return mTest.getSurface();
1710 public Surface getSurface();
[all …]
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
DDecoderTest.java224 Surface s = getActivity().getSurfaceHolder().getSurface(); in testBFrames()
903 Surface s = getActivity().getSurfaceHolder().getSurface(); in testDecode()
1122 Surface s = getActivity().getSurfaceHolder().getSurface(); in testCodecEarlyEOS()
1169 Surface s = getActivity().getSurfaceHolder().getSurface(); in testCodecResetsH264WithSurface()
1180 Surface s = getActivity().getSurfaceHolder().getSurface(); in testCodecResetsHEVCWithSurface()
1191 Surface s = getActivity().getSurfaceHolder().getSurface(); in testCodecResetsH263WithSurface()
1202 Surface s = getActivity().getSurfaceHolder().getSurface(); in testCodecResetsMpeg4WithSurface()
1213 Surface s = getActivity().getSurfaceHolder().getSurface(); in testCodecResetsVP8WithSurface()
1224 Surface s = getActivity().getSurfaceHolder().getSurface(); in testCodecResetsVP9WithSurface()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java123 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/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/
DGLPrimitiveActivity.java69 mSurface = holder.getSurface(); in onCreate()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java285 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
343 Surface surface = mReader.getSurface(); in prepareCaptureRequest()
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/
DGLGameActivity.java64 mSurface = holder.getSurface(); in onCreate()

123