/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | ASurfaceControlTest.java | 327 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/ |
D | MediaProjectionSDK34Test.java | 153 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/ |
D | LogicalCameraDeviceTest.java | 151 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 …]
|
D | ImageWriterTest.java | 158 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()
|
D | ReprocessCaptureTest.java | 305 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 …]
|
D | MultiResolutionReprocessCaptureTest.java | 373 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()
|
D | CameraDeviceSetupTest.java | 231 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/ |
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/video/src/android/video/cts/ |
D | CodecTestActivity.java | 53 mSurface = mHolder.getSurface(); in surfaceCreated() 85 public Surface getSurface() { return mSurface; } in getSurface() method in CodecTestActivity
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayConfigTest.java | 72 assertThat(originalConfig.getSurface()).isEqualTo(surface); in parcelAndUnparcel_matches() 90 assertThat(recreatedConfig.getSurface()).isNotNull(); in parcelAndUnparcel_matches() 105 assertThat(config.getSurface()).isNull(); in virtualDisplayConfig_onlyRequiredFields()
|
D | VirtualDisplayTest.java | 163 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/ |
D | VirtualDisplayHelper.java | 90 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/ |
D | DisplayUtils.java | 68 width, height, density, mReader.getSurface(), flags); in createDisplay() 127 mReader.getSurface(), flags); in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | TestActivity.java | 55 mSurface = mHolder.getSurface(); in surfaceCreated() 87 public Surface getSurface() { in getSurface() method in TestActivity
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderRenderTest.java | 91 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/ |
D | VirtualDisplayActivity.java | 144 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/ |
D | CodecTestActivity.java | 61 mSurface = mHolder.getSurface(); in surfaceCreated() 93 public Surface getSurface() { in getSurface() method in CodecTestActivity
|
D | ImageSurface.java | 124 mReaderSurface = mReader.getSurface(); in createSurface() 132 public Surface getSurface() { in getSurface() method in ImageSurface
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ANativeWindowTest.java | 237 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/ |
D | MediaProjectionSDK33Test.java | 180 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/ |
D | MediaStubActivity.java | 115 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/ |
D | SurfacePixelValidator2.java | 150 public Surface getSurface() { in getSurface() method in SurfacePixelValidator2 151 return mImageReader.getSurface(); in getSurface()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | CodecDynamicTestActivity.java | 92 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/ |
D | PixelCopyTest.java | 160 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 …]
|
D | ScrollCaptureSessionTest.java | 71 assertEquals(mSurface, session.getSurface()); in testGetSurface()
|