/cts/tests/tests/media/projection/sdk34/src/android/media/projection/ |
D | MediaProjectionSDK34Test.java | 93 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/ |
D | VirtualDisplayActivity.java | 40 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/ |
D | MediaProjectionTest.java | 148 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()
|
D | MediaProjectionMirroringTest.java | 185 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/ |
D | VirtualDisplayHelper.java | 77 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/ |
D | ActivityCaptureCallbackTests.java | 80 createManagedExternalDisplaySession().createVirtualDisplay(); in testScreencaptureInvokeCallbackOnAllVisibleActivities() 98 createManagedExternalDisplaySession().createVirtualDisplay(); in testScreencaptureInvokeCallbackOnOneDisplay() 115 createManagedExternalDisplaySession().createVirtualDisplay(); in testScreencaptureInvokeCallbackOnRegisteredVisibleActivities()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | RemoteVirtualDisplayService.java | 99 mPresentation.createVirtualDisplay(); in start() 127 void createVirtualDisplay() { in createVirtualDisplay() method in RemoteVirtualDisplayService.VirtualDisplayPresentation 131 mVirtualDisplay = mDisplayManager.createVirtualDisplay( in createVirtualDisplay()
|
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 261 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/ |
D | VirtualDisplayTest.java | 189 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()
|
D | DisplayEventTest.java | 297 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()
|
D | DisplayManagerTest.java | 154 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/ |
D | MediaProjectionSDK33Test.java | 177 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/ |
D | DisplayUtils.java | 67 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/ |
D | MultiDisplaySystemDecorationTests.java | 113 .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()
|
D | MultiDisplayPolicyTests.java | 259 .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/ |
D | TouchModeTest.kt | 260 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>()
|
D | VirtualDisplayActivityScenarioRule.kt | 154 virtualDisplay = displayManager.createVirtualDisplay( in createDisplay()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VirtualDisplayActivity.java | 115 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/ |
D | DisplayUtils.java | 98 mVirtualDisplay = displayManager.createVirtualDisplay(CONTEXT_HELPER_CTS_DISPLAY_NAME, in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionService.java | 85 mDisplay = manager.createVirtualDisplay(DISPLAY_NAME, width, height, density, in startRendering()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DisplaySizeTest.java | 115 virtualDisplay = displayManager.createVirtualDisplay("CtsDisplay", initialLength, in testSizeRangesAfterSettingDisplaySize()
|
/cts/tests/tests/content/src/android/content/wm/cts/ |
D | ContextTestBase.java | 87 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in createSecondaryDisplay()
|
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/ |
D | VirtualDeviceRule.java | 218 final VirtualDisplay virtualDisplay = virtualDevice.createVirtualDisplay( in createManagedVirtualDisplay() 254 mContext.getSystemService(DisplayManager.class).createVirtualDisplay(config); in createManagedUnownedVirtualDisplay()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 102 mVirtualDisplay = context.getSystemService(DisplayManager.class).createVirtualDisplay( in createDisplay()
|
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/ |
D | VirtualDisplayTest.java | 79 VirtualDisplay virtualDisplay = mVirtualDevice.createVirtualDisplay( in createVirtualDisplay_deprecatedOverload_shouldSucceed() 403 () -> mVirtualDevice.createVirtualDisplay( in createVirtualDisplay_nullExecutorButNonNullCallback_shouldThrow()
|