Home
last modified time | relevance | path

Searched refs:ActivityDisplay (Results 1 – 15 of 15) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayTestBase.java58 import android.server.wm.ActivityManagerState.ActivityDisplay;
101 ActivityDisplay getDisplayState(int displayId) { in getDisplayState()
105 ActivityDisplay getDisplayState(List<ActivityDisplay> displays, int displayId) { in getDisplayState()
106 for (ActivityDisplay display : displays) { in getDisplayState()
115 ActivityDisplay getDisplayState(List<ActivityDisplay> displays, int width, int height, in getDisplayState()
117 for (ActivityDisplay display : displays) { in getDisplayState()
130 List<ActivityDisplay> getDisplaysStates() { in getDisplaysStates()
136 List<ActivityDisplay> findNewDisplayStates(List<ActivityDisplay> oldDisplays, in findNewDisplayStates()
137 List<ActivityDisplay> newDisplays) { in findNewDisplayStates()
138 final ArrayList<ActivityDisplay> result = new ArrayList<>(); in findNewDisplayStates()
[all …]
DMultiDisplaySecurityTests.java60 import android.server.wm.ActivityManagerState.ActivityDisplay;
102 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchWithoutPermissionOnVirtualDisplayByOwner()
134 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchWithoutPermissionOnVirtualDisplay()
162 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
190 final ActivityDisplay newDisplay = virtualDisplaySession.setSimulateDisplay(true) in testCanAccessSystemOwnedDisplay()
210 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true) in testCanAccessPublicVirtualDisplayWithInternalPermission()
232 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(false) in testCanAccessPrivateVirtualDisplayWithInternalPermission()
255 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true) in testCantAccessPublicVirtualDisplayNoEmbeddingPermission()
275 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true) in testCantAccessPublicVirtualDisplayActivityEmbeddingNotAllowed()
297 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true) in testCanAccessPublicVirtualDisplayActivityEmbeddingAllowed()
[all …]
DMultiDisplayActivityLaunchTests.java56 import android.server.wm.ActivityManagerState.ActivityDisplay;
110 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in validateActivityLaunchOnNewDisplay()
161 final ActivityDisplay newDisplay = in testLaunchActivityFromSecondaryDisplay()
205 final ActivityDisplay newDisplay = externalDisplaySession in testLaunchExternalDisplayActivityWhilePrimaryOff()
226 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchNonResizeableActivityOnSecondaryDisplay()
243 final ActivityDisplay newDisplay = virtualLauncher.createDisplay(); in testMoveNonResizeableActivityToSecondaryDisplay()
281 final ActivityDisplay newDisplay = virtualDisplaySession.setSimulateDisplay(true) in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask()
304 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
347 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testConsequentLaunchActivity()
378 final ActivityDisplay newDisplay = virtualDisplaySession.setSimulateDisplay(true) in testConsequentLaunchActivityFromSecondaryDisplay()
[all …]
DMultiDisplayPolicyTests.java54 import android.server.wm.ActivityManagerState.ActivityDisplay;
90 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testContentDestroyOnDisplayRemoved()
131 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testActivityLaunchOnContentDestroyDisplayRemoved()
154 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testDisplayResize()
211 final ActivityDisplay newDisplay = virtualLauncher.setResizeDisplay(false) in testRotationNotAffectingSecondaryScreen()
269 final ActivityDisplay newDisplay = externalDisplaySession in testExternalDisplayActivityTurnPrimaryOff()
315 final ActivityDisplay newDisplay = externalDisplaySession.createVirtualDisplay(); in testExternalDisplayToggleState()
354 final ActivityDisplay newDisplay = externalDisplaySession.createVirtualDisplay(); in testNoLeakOnExternalDisplay()
379 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testLaunchActivitiesAffectsVisibility()
409 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testMoveTaskBetweenDisplays()
[all …]
DDisplayTests.java33 import android.server.wm.ActivityManagerState.ActivityDisplay;
54 final List<ActivityDisplay> reportedDisplays = getDisplaysStates(); in testDefaultDisplayOverrideConfiguration()
55 final ActivityDisplay primaryDisplay = getDisplayState(reportedDisplays, DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfiguration()
68 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testCreateVirtualDisplayWithCustomConfig()
106 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testMultiDisplayDisabled()
129 final List<ActivityDisplay> originalDs = getDisplaysStates(); in testCreateMultipleVirtualDisplays()
188 final ActivityDisplay activityDisplay = virtualDisplaySession in getDisplayResourcesConfiguration()
DMultiDisplaySystemDecorationTests.java56 import android.server.wm.ActivityManagerState.ActivityDisplay;
120 final ActivityDisplay newDisplay = virtualDisplaySession in testWallpaperGetDisplayContext()
141 final ActivityDisplay untrustedDisplay = externalDisplaySession in testWallpaperShowOnSecondaryDisplays()
144 final ActivityDisplay decoredSystemDisplay = virtualDisplaySession in testWallpaperShowOnSecondaryDisplays()
211 final ActivityDisplay newDisplay = externalDisplaySession in testNavBarShowingOnDisplayWithDecor()
265 final ActivityDisplay supportsSysDecorDisplay = secondDisplaySession in waitAndAssertNavBarStatesAreTheSame()
293 final ActivityDisplay newDisplay = externalDisplaySession.createVirtualDisplay(); in testLaunchHomeActivityOnSecondaryDisplayWithoutDecorations()
311 final ActivityDisplay newDisplay in testLaunchSingleHomeActivityOnDisplayWithDecorations()
333 final ActivityDisplay newDisplay in testLaunchSingleSecondaryHomeActivityOnDisplayWithDecorations()
354 final ActivityDisplay newDisplay in testLaunchHomeActivityOnDisplayWithDecorations()
[all …]
DMultiDisplayKeyguardTests.java28 import android.server.wm.ActivityManagerState.ActivityDisplay;
61 final ActivityDisplay newDisplay = virtualDisplaySession.createDisplay(); in testDismissKeyguardActivity_secondaryDisplay()
80 final ActivityDisplay publicDisplay = virtualDisplaySession.setPublicDisplay(true) in testShowKeyguardDialogOnSecondaryDisplay()
105 final ActivityDisplay privateDisplay = virtualDisplaySession.setPublicDisplay(false) in testNoKeyguardDialogOnPrivateDisplay()
107 final ActivityDisplay publicDisplay = virtualDisplaySession.setPublicDisplay(true) in testNoKeyguardDialogOnPrivateDisplay()
DVrDisplayTests.java34 import android.server.wm.ActivityManagerState.ActivityDisplay;
141 final List<ActivityDisplay> reportedDisplays = getDisplaysStates(); in testVrActivityLaunch()
142 final ActivityDisplay vrDisplay = getDisplayState(reportedDisplays, in testVrActivityLaunch()
191 final List<ActivityDisplay> reportedDisplays = getDisplaysStates(); in testVrActivityReLaunch()
192 final ActivityDisplay vrDisplay = getDisplayState(reportedDisplays, in testVrActivityReLaunch()
242 final List<ActivityDisplay> reportedDisplays = getDisplaysStates(); in testActivityLaunchPostVr()
243 final ActivityDisplay vrDisplay = getDisplayState(reportedDisplays, in testActivityLaunchPostVr()
DMultiDisplayLockedKeyguardTests.java30 import android.server.wm.ActivityManagerState.ActivityDisplay;
66 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true) in testVirtualDisplayHidesContentWhenLocked()
101 final ActivityDisplay newDisplay = in testPrivateDisplayHideContentWhenLocked()
122 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true). in testDismissKeyguard_secondaryDisplay()
146 final ActivityDisplay newDisplay = virtualDisplaySession.setPublicDisplay(true). in testDismissKeyguard_whileOccluded_secondaryDisplay()
DMultiDisplayClientTests.java100 final ActivityManagerState.ActivityDisplay newDisplay = in testDisplayIdUpdateOnMove()
174 final ActivityManagerState.ActivityDisplay newDisplay = virtualDisplaySession in testDisplayIdUpdateWhenImeMove()
209 final ActivityManagerState.ActivityDisplay newDisplay = virtualDisplaySession in testInputMethodManagerDisplayId()
DFreeformWindowingModeTests.java58 final ActivityManagerState.ActivityDisplay display = virtualDisplaySession in testFreeformWindowManagementSupport()
DKeyguardTests.java366 ActivityManagerState.ActivityDisplay display = mAmWmState.getAmState() in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerState.java71 private final List<ActivityDisplay> mDisplays = new ArrayList<>();
163 mDisplays.add(new ActivityDisplay(activityDisplay, this)); in parseSysDumpProto()
199 ActivityDisplay getDisplay(int displayId) { in getDisplay()
200 for (ActivityDisplay display : mDisplays) { in getDisplay()
342 for (ActivityDisplay display : mDisplays) { in getStackIndexByActivityType()
356 for (ActivityDisplay display : mDisplays) { in getStackIndexByActivity()
380 List<ActivityDisplay> getDisplays() { in getDisplays()
644 public static class ActivityDisplay extends ActivityContainer { class in ActivityManagerState
652 ActivityDisplay(ActivityDisplayProto proto, ActivityManagerState amState) { in ActivityDisplay() method in ActivityManagerState.ActivityDisplay
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerState.java61 private final List<ActivityDisplay> mDisplays = new ArrayList<>();
150 mDisplays.add(new ActivityDisplay(activityDisplay, this)); in parseSysDumpProto()
193 List<ActivityDisplay> getDisplays() { in getDisplays()
245 static class ActivityDisplay extends ActivityContainer { class in ActivityManagerState
250 ActivityDisplay(ActivityDisplayProto proto, ActivityManagerState amState) { in ActivityDisplay() method in ActivityManagerState.ActivityDisplay
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTopResumedStateTests.java761 final ActivityManagerState.ActivityDisplay newDisplay in testTopPositionSwitchAcrossDisplays()
809 final ActivityManagerState.ActivityDisplay newDisplay in testTopPositionSwitchAcrossDisplaysOnTap()
859 final ActivityManagerState.ActivityDisplay newDisplay in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess()
929 final ActivityManagerState.ActivityDisplay newDisplay in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess()