Home
last modified time | relevance | path

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

123456

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlTest.java327 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_createFromWindow()
344 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_create()
367 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_fromJava()
391 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_fromJava()
412 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_acquire()
435 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer()
454 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setNullBuffer()
474 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer_parentAndChild()
497 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer_childOnly()
518 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setVisibility_show()
[all …]
/cts/tests/tests/media/projection/sdk34/src/android/media/projection/
DMediaProjectionSDK34Test.java153 mImageReader.getSurface(), in testCreateVirtualDisplay_reusedResultData_throwsException()
187 mImageReader.getSurface(), in testCreateVirtualDisplay_reusedMediaProjection_throwsException()
204 mImageReader.getSurface(), in createVirtualDisplay()
224 final Surface surface = mVirtualDisplay.getSurface(); in cleanupVirtualDisplay()
/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java151 imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration()
153 new OutputConfiguration(imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration()
273 … OutputConfiguration config = new OutputConfiguration(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
281 outputConfigs.add(new OutputConfiguration(yuvTargetLogical.getSurface())); in testBasicLogicalPhysicalStreamCombination()
307 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
321 requestBuilder.removeTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
322 requestBuilder.addTarget(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
339 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
418 OutputConfiguration config = new OutputConfiguration(yuvTarget.getSurface()); in testBasicPhysicalRequests()
438 requestBuilder.addTarget(c.getSurface()); in testBasicPhysicalRequests()
[all …]
DImageWriterTest.java158 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
177 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
200 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), 1 /*maxImages*/); in testWriterReaderBlobFormats()
241 .Builder(reader.getSurface()) in testWriterWithImageFormatOverride()
271 .Builder(reader.getSurface()) in testWriterBuilderDefault()
379 .Builder(reader.getSurface()) in testGetFence()
416 .Builder(reader.getSurface()) in testGetPlanesAndFence()
462 Surface surface = mReaderForWriter.getSurface(); in readerWriterFormatTestByCamera()
474 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera()
DReprocessCaptureTest.java305 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testCrossSessionCaptureException()
319 getReprocessOutputImageReader().getSurface(), result); in testCrossSessionCaptureException()
385 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testQueueImageWithoutRequest()
919 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessAbort()
929 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessAbort()
1010 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessTimestamps()
1016 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessTimestamps()
1089 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessJpegExif()
1095 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessJpegExif()
1160 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessRequestKeys()
[all …]
DMultiResolutionReprocessCaptureTest.java373 outputSurfaces.add(inputReader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
394 builder.addTarget(inputReader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
404 reprocessOutputs.add(inputReader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
407 reprocessOutputs.add(reader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
410 reprocessOutputs.add(reader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
413 reprocessOutputs.add(reader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
416 reprocessOutputs.add(reader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
696 zoomRatio, mMultiResImageReader.getSurface(), /*inputResult*/null); in doMultiResReprocessCapture()
715 getOutputMultiResImageReader().getSurface(), inputSettings); in doMultiResReprocessCapture()
DCameraDeviceSetupTest.java231 outputs.add(new OutputConfiguration(imageReader.getSurface())); in testSessionCharacteristics()
239 builder.addTarget(imageReader.getSurface()); in testSessionCharacteristics()
358 config.addSurface(reader.getSurface()); in testOutputConfigurationForCameraSetup()
364 configWithGroupId.addSurface(reader.getSurface()); in testOutputConfigurationForCameraSetup()
375 configWithUsageFlag.addSurface(reader.getSurface()); in testOutputConfigurationForCameraSetup()
383 assertNull(configWithGroupIdAndUsage.getSurface()); in testOutputConfigurationForCameraSetup()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCreateAllocationsTest.java80 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/video/src/android/video/cts/
DCodecTestActivity.java53 mSurface = mHolder.getSurface(); in surfaceCreated()
85 public Surface getSurface() { return mSurface; } in getSurface() method in CodecTestActivity
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayConfigTest.java72 assertThat(originalConfig.getSurface()).isEqualTo(surface); in parcelAndUnparcel_matches()
90 assertThat(recreatedConfig.getSurface()).isNotNull(); in parcelAndUnparcel_matches()
105 assertThat(config.getSurface()).isNull(); in virtualDisplayConfig_onlyRequiredFields()
DVirtualDisplayTest.java163 mSurface = mImageReader.getSurface(); in setUp()
196 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplay()
222 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivatePresentationVirtualDisplay()
247 assertNull(virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface()
251 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface()
259 assertNull(virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface()
283 assertEquals(mSurface, virtualDisplay.getSurface()); in testUntrustedSysDecorVirtualDisplay()
329 assertEquals(mSurface, virtualDisplay.getSurface()); in testVirtualDisplayWithRequestedRefreshRate()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DVirtualDisplayHelper.java90 mVirtualDisplay.setSurface(mReader.getSurface()); in turnDisplayOn()
127 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, mReader.getSurface(), flags); in createVirtualDisplay()
/cts/tests/tests/car/src/android/car/cts/utils/
DDisplayUtils.java68 width, height, density, mReader.getSurface(), flags); in createDisplay()
127 mReader.getSurface(), flags); in createDisplayWithDefaultDisplayMetricsAndWait()
/cts/tests/mediapc/src/android/mediapc/cts/
DTestActivity.java55 mSurface = mHolder.getSurface(); in surfaceCreated()
87 public Surface getSurface() { in getSurface() method in TestActivity
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderRenderTest.java91 getActivity().getSurfaceHolder().getSurface(), 60f); in onFrameRendered_indicatesAllFramesRendered_toDisplay_vp9()
107 outputSurface.getSurface(), 60f); in onFrameRendered_indicatesAllFramesRendered_toTexture_vp9()
135 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in onFrameRendered_indicatesAllFramesRendered()
255 Surface surface = getActivity().getSurfaceHolder().getSurface(); in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered()
387 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in primeVideoPipeline()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java144 mPendingDisplayRequests.put(surfaceView.getHolder().getSurface(), in createVirtualDisplay()
167 mPendingDisplayRequests.remove(surfaceHolder.getSurface()); in surfaceCreated()
175 final Surface surface = surfaceHolder.getSurface(); in surfaceCreated()
231 final VirtualDisplayEntry entry = mVirtualDisplays.get(surfaceHolder.getSurface()); in surfaceChanged()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecTestActivity.java61 mSurface = mHolder.getSurface(); in surfaceCreated()
93 public Surface getSurface() { in getSurface() method in CodecTestActivity
DImageSurface.java124 mReaderSurface = mReader.getSurface(); in createSurface()
132 public Surface getSurface() { in getSurface() method in ImageSurface
/cts/tests/tests/graphics/src/android/graphics/cts/
DANativeWindowTest.java237 assertEquals(nGetBuffersDefaultDataSpace(reader1.getSurface()), DataSpace.ADATASPACE_BT709); in testGetBuffersDefaultDataspace()
243 assertEquals(nGetBuffersDefaultDataSpace(reader2.getSurface()), in testGetBuffersDefaultDataspace()
256 nWriteToParcel(reader.getSurface(), parcel); in testWriteToParcel()
274 reader.getSurface().writeToParcel(parcel, 0); in testReadFromParcel()
292 nWriteToParcel(reader.getSurface(), parcel); in testWriteReadFromParcel()
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/
DMediaProjectionSDK33Test.java180 mImageReader.getSurface(), in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
239 mSecondImageReader.getSurface(), in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog()
276 mImageReader.getSurface(), /* callback= */ null, in createVirtualDisplay()
289 final Surface surface = virtualDisplay.getSurface(); in cleanupVirtualDisplay()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaStubActivity.java115 public Surface getSurface(SurfaceHolder holder) { in getSurface() method in MediaStubActivity
116 Surface surface = holder.getSurface(); in getSurface()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java150 public Surface getSurface() { in getSurface() method in SurfacePixelValidator2
151 return mImageReader.getSurface(); in getSurface()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DCodecDynamicTestActivity.java92 mSurfaces.set(index, mHolders.get(index).getSurface()); in surfaceCreated()
127 public Pair<Integer, Surface> getSurface() { in getSurface() method in CodecDynamicTestActivity
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java160 mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testNullDest()
167 mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testRecycledDest()
173 int result = mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testNoSourceData()
180 mCopyHelper.request(mSurfaceRule.getSurface(), new Rect(), dest); in testEmptySourceRectSurface()
192 mCopyHelper.request(mSurfaceRule.getSurface(), new Rect(10, 10, 0, 0), dest); in testInvalidSourceRectSurface()
918 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), 1); in testBufferQueueCrop()
942 int status = mCopyHelper.request(reader.getSurface(), result); in testBufferQueueCrop()
948 status = mCopyHelper.request(reader.getSurface(), new Rect(0, 0, 20, 20), result); in testBufferQueueCrop()
958 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), 1); in testAutoSize()
977 PixelCopy.Result copyResult = copySurface(reader.getSurface()); in testAutoSize()
[all …]
DScrollCaptureSessionTest.java71 assertEquals(mSurface, session.getSurface()); in testGetSurface()

123456