/cts/tests/tests/car_builtin/src/android/car/cts/builtin/view/ |
D | DisplayHelperTest.java | 19 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/ |
D | MultiDisplayTestBase.java | 198 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/ |
D | MultiDisplayKeyguardTests.java | 96 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()
|
D | MultiDisplayPolicyTests.java | 89 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()
|
D | MultiDisplaySystemDecorationTests.java | 89 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testWallpaperGetDisplayContext() 191 try (final VirtualDisplaySession secondDisplaySession = new VirtualDisplaySession()) { in waitAndAssertNavBarStatesAreTheSame()
|
D | MultiDisplayClientTests.java | 159 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testDisplayIdUpdateWhenImeMove()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | DisplayTests.java | 147 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testCreateMultipleVirtualDisplays() 202 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in getDisplayResourcesConfiguration()
|
D | PresentationTest.java | 73 final VirtualDisplaySession virtualDisplaySession = createManagedVirtualDisplaySession(); in testPresentationNotDismissAfterResizeDisplay()
|
/cts/tests/tests/car/src/android/car/app/cts/ |
D | CarActivityManagerTest.java | 18 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/ |
D | ContextHelperTest.java | 19 import static android.car.cts.builtin.app.DisplayUtils.VirtualDisplaySession; 65 try (VirtualDisplaySession session = new VirtualDisplaySession()) { in testVirtualDisplayId()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDetectorTest.java | 18 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()
|
D | AccessibilityTakeScreenshotTest.java | 25 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()
|
D | AccessibilityWindowReportingTest.java | 29 import static android.accessibilityservice.cts.utils.DisplayUtils.VirtualDisplaySession; 274 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
|
D | AccessibilityOverlayTest.java | 462 try (DisplayUtils.VirtualDisplaySession displaySession = in addOverlayToVirtualDisplayAndCheck() 463 new DisplayUtils.VirtualDisplaySession()) { in addOverlayToVirtualDisplayAndCheck()
|
D | AccessibilityWindowQueryTest.java | 28 import static android.accessibilityservice.cts.utils.DisplayUtils.VirtualDisplaySession; 632 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testGetWindowsOnAllDisplays_resultIsSortedByLayerDescending()
|
D | AccessibilityDisplayProxyTest.java | 460 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/ |
D | DisplayShapeTests.java | 119 try (MultiDisplayTestBase.VirtualDisplaySession session = in testDisplayShapeOnVirtualDisplay() 120 new MultiDisplayTestBase.VirtualDisplaySession()) { in testDisplayShapeOnVirtualDisplay()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodManagerMultiDisplayTest.java | 102 try (MultiDisplayTestBase.VirtualDisplaySession session = in testShowInputMethodAndSubtypeEnablerOnNonDefaultDisplay() 103 new MultiDisplayTestBase.VirtualDisplaySession()) { in testShowInputMethodAndSubtypeEnablerOnNonDefaultDisplay()
|
D | InputMethodPickerTest.java | 134 try (MultiDisplayTestBase.VirtualDisplaySession session = in testShowImePickerOnExternalDisplay() 135 new MultiDisplayTestBase.VirtualDisplaySession()) { in testShowImePickerOnExternalDisplay()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | DisplayUtils.java | 41 public static class VirtualDisplaySession implements AutoCloseable { class in DisplayUtils
|
/cts/tests/tests/car/src/android/car/cts/utils/ |
D | DisplayUtils.java | 41 public static class VirtualDisplaySession implements AutoCloseable { class in DisplayUtils
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 88 public static class VirtualDisplaySession implements AutoCloseable { class in DisplayUtils
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowFocusTests.java | 785 private final VirtualDisplaySession mVirtualDisplaySession; 789 mVirtualDisplaySession = new VirtualDisplaySession(); in SimulatedDisplaySession()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityLifecycleTopResumedStateTests.java | 803 try (final VirtualDisplaySession virtualDisplaySession = new VirtualDisplaySession()) { in testTopPositionSwitchAcrossDisplays()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/ |
D | MultiDisplayImeTests.java | 363 final VirtualDisplaySession session = createManagedVirtualDisplaySession(); in testHideImeWhenImeTargetOnEmbeddedVirtualDisplay()
|