Home
last modified time | relevance | path

Searched refs:VirtualDisplaySession (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/
DDisplayHelperTest.java19 import static android.car.cts.builtin.app.DisplayUtils.VirtualDisplaySession;
77 try (VirtualDisplaySession session = new VirtualDisplaySession()) { in testVirtualDisplayPhysicalPort()
103 try (VirtualDisplaySession session = new VirtualDisplaySession()) { in testDisplayType()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMultiDisplayTestBase.java198 protected VirtualDisplaySession createManagedVirtualDisplaySession() { in createManagedVirtualDisplaySession()
199 return mObjectTracker.manage(new VirtualDisplaySession()); in createManagedVirtualDisplaySession()
210 public class VirtualDisplaySession implements AutoCloseable { class in MultiDisplayTestBase
228 VirtualDisplaySession setDensityDpi(int densityDpi) { in setDensityDpi()
233 public VirtualDisplaySession setLaunchInSplitScreen(boolean launchInSplitScreen) { in setLaunchInSplitScreen()
238 … public VirtualDisplaySession setCanShowWithInsecureKeyguard(boolean canShowWithInsecureKeyguard) { in setCanShowWithInsecureKeyguard()
243 public VirtualDisplaySession setPublicDisplay(boolean publicDisplay) { in setPublicDisplay()
248 public VirtualDisplaySession setResizeDisplay(boolean resizeDisplay) { in setResizeDisplay()
253 public VirtualDisplaySession setShowSystemDecorations(boolean showSystemDecorations) { in setShowSystemDecorations()
258 public VirtualDisplaySession setOwnContentOnly(boolean ownContentOnly) { in setOwnContentOnly()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayKeyguardTests.java96 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testShowKeyguardDialogSecondaryDisplayChange()
118 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testShowKeyguardDialogDefaultDisplayChange()
154 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testNoKeyguardDialogOnPrivateDisplay()
169 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testUnlockScreen_secondDisplayChanged_dismissesKeyguardOnUnlock()
198 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testUnlockScreen_decoredSystemDisplayChanged_dismissesKeyguardOnUnlock()
DMultiDisplayPolicyTests.java89 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testContentDestroyOnDisplayRemoved()
130 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testActivityLaunchOnContentDestroyDisplayRemoved()
153 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testDisplayResize()
331 try (final VirtualDisplaySession externalDisplaySession = new VirtualDisplaySession()) { in testNoLeakOnExternalDisplay()
468 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in tryCreatingAndRemovingDisplayWithActivity()
534 private void validateStackFocusSwitchOnStackEmptied(VirtualDisplaySession virtualDisplaySession, in validateStackFocusSwitchOnStackEmptied()
741 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTaskSurfaceSizeAfterReparentDisplay()
DMultiDisplaySystemDecorationTests.java89 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testWallpaperGetDisplayContext()
191 try (final VirtualDisplaySession secondDisplaySession = new VirtualDisplaySession()) { in waitAndAssertNavBarStatesAreTheSame()
DMultiDisplayClientTests.java159 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testDisplayIdUpdateWhenImeMove()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DDisplayTests.java147 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateMultipleVirtualDisplays()
202 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in getDisplayResourcesConfiguration()
DPresentationTest.java73 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testPresentationNotDismissAfterResizeDisplay()
/cts/tests/tests/car/src/android/car/app/cts/
DCarActivityManagerTest.java18 import static android.car.cts.utils.DisplayUtils.VirtualDisplaySession;
119 try (VirtualDisplaySession session = new VirtualDisplaySession()) { in testSetPersistentActivity()
198 try (VirtualDisplaySession session = new VirtualDisplaySession()) { in testMoveRootTaskToDisplay()
249 try (VirtualDisplaySession session = new VirtualDisplaySession()) { in testGetVisibleTasksByDisplayId()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/content/
DContextHelperTest.java19 import static android.car.cts.builtin.app.DisplayUtils.VirtualDisplaySession;
65 try (VirtualDisplaySession session = new VirtualDisplaySession()) { in testVirtualDisplayId()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDetectorTest.java18 import static android.accessibilityservice.cts.utils.DisplayUtils.VirtualDisplaySession;
36 import android.accessibilityservice.cts.utils.DisplayUtils.VirtualDisplaySession;
191 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testRecognizeGesturePathOnVirtualDisplay()
442 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testVerifyGestureTouchEventOnVirtualDisplay()
514 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testDispatchGesture_privateDisplay_gestureCancelled()
DAccessibilityTakeScreenshotTest.java25 import static android.accessibilityservice.cts.utils.DisplayUtils.VirtualDisplaySession;
180 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testTakeScreenshotOnVirtualDisplay_GetScreenshotResult()
204 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testTakeScreenshotOnPrivateDisplay_GetErrorCode()
DAccessibilityWindowReportingTest.java29 import static android.accessibilityservice.cts.utils.DisplayUtils.VirtualDisplaySession;
274 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
DAccessibilityOverlayTest.java462 try (DisplayUtils.VirtualDisplaySession displaySession = in addOverlayToVirtualDisplayAndCheck()
463 new DisplayUtils.VirtualDisplaySession()) { in addOverlayToVirtualDisplayAndCheck()
DAccessibilityWindowQueryTest.java28 import static android.accessibilityservice.cts.utils.DisplayUtils.VirtualDisplaySession;
632 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testGetWindowsOnAllDisplays_resultIsSortedByLayerDescending()
DAccessibilityDisplayProxyTest.java460 try (DisplayUtils.VirtualDisplaySession displaySession = in testRegisterAccessibilityProxy_withNonDeviceDisplay_throwsSecurityException()
461 new DisplayUtils.VirtualDisplaySession()) { in testRegisterAccessibilityProxy_withNonDeviceDisplay_throwsSecurityException()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DDisplayShapeTests.java119 try (MultiDisplayTestBase.VirtualDisplaySession session = in testDisplayShapeOnVirtualDisplay()
120 new MultiDisplayTestBase.VirtualDisplaySession()) { in testDisplayShapeOnVirtualDisplay()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodManagerMultiDisplayTest.java102 try (MultiDisplayTestBase.VirtualDisplaySession session = in testShowInputMethodAndSubtypeEnablerOnNonDefaultDisplay()
103 new MultiDisplayTestBase.VirtualDisplaySession()) { in testShowInputMethodAndSubtypeEnablerOnNonDefaultDisplay()
DInputMethodPickerTest.java134 try (MultiDisplayTestBase.VirtualDisplaySession session = in testShowImePickerOnExternalDisplay()
135 new MultiDisplayTestBase.VirtualDisplaySession()) { in testShowImePickerOnExternalDisplay()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DDisplayUtils.java41 public static class VirtualDisplaySession implements AutoCloseable { class in DisplayUtils
/cts/tests/tests/car/src/android/car/cts/utils/
DDisplayUtils.java41 public static class VirtualDisplaySession implements AutoCloseable { class in DisplayUtils
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DDisplayUtils.java88 public static class VirtualDisplaySession implements AutoCloseable { class in DisplayUtils
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowFocusTests.java785 private final VirtualDisplaySession mVirtualDisplaySession;
789 mVirtualDisplaySession = new VirtualDisplaySession(); in SimulatedDisplaySession()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleTopResumedStateTests.java803 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplays()
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/
DMultiDisplayImeTests.java363 final VirtualDisplaySession session = createManagedVirtualDisplaySession(); in testHideImeWhenImeTargetOnEmbeddedVirtualDisplay()

12