Home
last modified time | relevance | path

Searched refs:createVirtualDisplay (Results 1 – 25 of 35) sorted by relevance

12

/cts/tests/tests/media/projection/sdk34/src/android/media/projection/
DMediaProjectionSDK34Test.java93 assertThrows(IllegalStateException.class, this::createVirtualDisplay); in testCreateVirtualDisplay_withoutCallback_throwsException()
104 createVirtualDisplay(); in testCreateVirtualDisplay_withoutCallback_throwsException()
150 () -> anotherProjection.createVirtualDisplay(TAG + "VirtualDisplay", in testCreateVirtualDisplay_reusedResultData_throwsException()
179 createVirtualDisplay(); in testCreateVirtualDisplay_reusedMediaProjection_throwsException()
184 () -> mMediaProjection.createVirtualDisplay(TAG + "VirtualDisplay", in testCreateVirtualDisplay_reusedMediaProjection_throwsException()
198 void createVirtualDisplay() { in createVirtualDisplay() method in MediaProjectionSDK34Test
201 mVirtualDisplay = mMediaProjection.createVirtualDisplay(TAG + "VirtualDisplay", in createVirtualDisplay()
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DVirtualDisplayActivity.java40 VirtualDisplay virtualDisplay = getSystemService(DisplayManager.class).createVirtualDisplay( in createPublicVirtualDisplayAndShowPresentation()
49 VirtualDisplay virtualDisplay = getSystemService(DisplayManager.class).createVirtualDisplay( in createVirtualDisplayAndShowPresentation()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionTest.java148 createVirtualDisplay(); in testCreateVirtualDisplay()
172 createVirtualDisplay(); in testUnregisterCallback()
195 createVirtualDisplay(); in testCallbackOnStop()
249 createVirtualDisplay(); in createVirtualDisplayAndWaitForCallback()
261 private void createVirtualDisplay() { in createVirtualDisplay() method in MediaProjectionTest
264 mVirtualDisplay = mMediaProjection.createVirtualDisplay(TAG + "VirtualDisplay", in createVirtualDisplay()
DMediaProjectionMirroringTest.java185 mVirtualDisplay = createVirtualDisplay(maxWindowMetrics.getBounds(), "testDisplayCapture"); in testDisplayCapture()
218 mVirtualDisplay = createVirtualDisplay(maxWindowMetrics.getBounds(), in testDisplayCapture_rotation()
254 mVirtualDisplay = createVirtualDisplay(maxWindowMetrics.getBounds(), in testSingleAppCapture()
280 private VirtualDisplay createVirtualDisplay(Rect displayBounds, String methodName) { in createVirtualDisplay() method in MediaProjectionMirroringTest
291 return mMediaProjection.createVirtualDisplay(VIRTUAL_DISPLAY + "_" + methodName, in createVirtualDisplay()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DVirtualDisplayHelper.java77 createVirtualDisplay(); in createAndWaitForDisplay()
103 private void createVirtualDisplay() { in createVirtualDisplay() method in VirtualDisplayHelper
126 mVirtualDisplay = displayManager.createVirtualDisplay( in createVirtualDisplay()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityCaptureCallbackTests.java80 createManagedExternalDisplaySession().createVirtualDisplay(); in testScreencaptureInvokeCallbackOnAllVisibleActivities()
98 createManagedExternalDisplaySession().createVirtualDisplay(); in testScreencaptureInvokeCallbackOnOneDisplay()
115 createManagedExternalDisplaySession().createVirtualDisplay(); in testScreencaptureInvokeCallbackOnRegisteredVisibleActivities()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DRemoteVirtualDisplayService.java99 mPresentation.createVirtualDisplay(); in start()
127 void createVirtualDisplay() { in createVirtualDisplay() method in RemoteVirtualDisplayService.VirtualDisplayPresentation
131 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay()
DEncodeVirtualDisplayWithCompositionTestImpl.java261 mLocalPresentation.createVirtualDisplay(); in doTestRenderingOutput()
461 virtualDisplays[k].createVirtualDisplay(); in doTestVirtualDisplayRecycles()
847 mTopPresentation.createVirtualDisplay(); in createWindows()
1146 void createVirtualDisplay() { in createVirtualDisplay() method in EncodeVirtualDisplayWithCompositionTestImpl.VirtualDisplayPresentation
1150 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java189 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplay()
214 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivatePresentationVirtualDisplay()
240 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testPrivateVirtualDisplayWithDynamicSurface()
273 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testUntrustedSysDecorVirtualDisplay()
304 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testTrustedVirtualDisplay()
324 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(config); in testVirtualDisplayWithRequestedRefreshRate()
343 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testVirtualDisplayRotatesWithContent()
378 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testVirtualDisplayDoesNotRotateWithContent()
409 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testHdrApiMethods()
421 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay(NAME, in testGetHdrCapabilitiesWithUserDisabledFormats()
DDisplayEventTest.java297 VirtualDisplay display = createVirtualDisplay(NAME + i); in testDisplayEvents()
410 private VirtualDisplay createVirtualDisplay(String name) { in createVirtualDisplay() method in DisplayEventTest
411 return mDisplayManager.createVirtualDisplay(name, WIDTH, HEIGHT, DENSITY_MEDIUM, in createVirtualDisplay()
DDisplayManagerTest.java154 mVirtualDisplay = DisplayManager.createVirtualDisplay("Test", in testCreateVirtualDisplayFromShell()
168 mVirtualDisplay = DisplayManager.createVirtualDisplay("Test", 100, 100, in createVirtualDisplayNoPermission()
/cts/tests/tests/media/projection/sdk33/src/android/media/projection/
DMediaProjectionSDK33Test.java177 mVirtualDisplay = anotherProjection.createVirtualDisplay(TAG + "VirtualDisplay", in testCreateVirtualDisplay_reusedResultData_reshowsPermissionDialog()
221 createVirtualDisplay(); in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog()
236 mSecondVirtualDisplay = mMediaProjection.createVirtualDisplay(TAG + "VirtualDisplay", in testCreateVirtualDisplay_reusedMediaProjection_reshowPermissionDialog()
270 void createVirtualDisplay() { in createVirtualDisplay() method in MediaProjectionSDK33Test
273 mVirtualDisplay = mMediaProjection.createVirtualDisplay(TAG + "VirtualDisplay", in createVirtualDisplay()
/cts/tests/tests/car/src/android/car/cts/utils/
DDisplayUtils.java67 mVirtualDisplay = displayManager.createVirtualDisplay(CONTEXT_HELPER_CTS_DISPLAY_NAME, in createDisplay()
125 mVirtualDisplay = displayManager.createVirtualDisplay(CONTEXT_HELPER_CTS_DISPLAY_NAME, in createDisplayWithDefaultDisplayMetricsAndWait()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplaySystemDecorationTests.java113 .setPublicDisplay(true).setShowSystemDecorations(true).createVirtualDisplay(); in testWallpaperShowOnSecondaryDisplays()
177 .setShowSystemDecorations(true).createVirtualDisplay(); in testNavBarNotShowingOnPrivateDisplay()
222 .createVirtualDisplay(); in testLaunchHomeActivityOnSecondaryDisplayWithoutDecorations()
237 .setPublicDisplay(true).setShowSystemDecorations(true).createVirtualDisplay(); in testLaunchHomeActivityOnUntrustedVirtualSecondaryDisplay()
DMultiDisplayPolicyTests.java259 .setCanShowWithInsecureKeyguard(true).createVirtualDisplay(); in testExternalDisplayActivityTurnPrimaryOff()
294 final DisplayContent newDisplay = externalDisplaySession.createVirtualDisplay(); in testExternalDisplayToggleState()
627 .setCanShowWithInsecureKeyguard(true).createVirtualDisplay(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
667 .createVirtualDisplay(); in testSecondaryDisplayShowWhenLocked()
/cts/tests/input/src/android/input/cts/
DTouchModeTest.kt260 val secondaryDisplayId = createVirtualDisplay( in <lambda>()
281 return createVirtualDisplay(flags = 0) in <lambda>()
354 private fun createVirtualDisplay(flags: Int): Int { in <lambda>() method in android.input.cts.TouchModeTest
366 virtualDisplay = displayManager.createVirtualDisplay( in <lambda>()
DVirtualDisplayActivityScenarioRule.kt154 virtualDisplay = displayManager.createVirtualDisplay( in createDisplay()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java115 createVirtualDisplay(extras); in onNewIntent()
132 private void createVirtualDisplay(Bundle extras) { in createVirtualDisplay() method in VirtualDisplayActivity
216 VirtualDisplay virtualDisplay = mDisplayManager.createVirtualDisplay( in surfaceCreated()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DDisplayUtils.java98 mVirtualDisplay = displayManager.createVirtualDisplay(CONTEXT_HELPER_CTS_DISPLAY_NAME, in createDisplayWithDefaultDisplayMetricsAndWait()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionService.java85 mDisplay = manager.createVirtualDisplay(DISPLAY_NAME, width, height, density, in startRendering()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DDisplaySizeTest.java115 virtualDisplay = displayManager.createVirtualDisplay("CtsDisplay", initialLength, in testSizeRangesAfterSettingDisplaySize()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextTestBase.java87 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in createSecondaryDisplay()
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DVirtualDeviceRule.java218 final VirtualDisplay virtualDisplay = virtualDevice.createVirtualDisplay( in createManagedVirtualDisplay()
254 mContext.getSystemService(DisplayManager.class).createVirtualDisplay(config); in createManagedUnownedVirtualDisplay()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DDisplayUtils.java102 mVirtualDisplay = context.getSystemService(DisplayManager.class).createVirtualDisplay( in createDisplay()
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDisplayTest.java79 VirtualDisplay virtualDisplay = mVirtualDevice.createVirtualDisplay( in createVirtualDisplay_deprecatedOverload_shouldSucceed()
403 () -> mVirtualDevice.createVirtualDisplay( in createVirtualDisplay_nullExecutorButNonNullCallback_shouldThrow()

12