Home
last modified time | relevance | path

Searched refs:mAmWmState (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DActivityManagerDockedStackTests.java36 mAmWmState.computeState(mDevice, new String[] {TEST_ACTIVITY_NAME}); in testStackList()
37 mAmWmState.assertContainsStack("Must contain home stack.", HOME_STACK_ID); in testStackList()
38 mAmWmState.assertContainsStack( in testStackList()
40 mAmWmState.assertDoesNotContainStack("Must not contain docked stack.", DOCKED_STACK_ID); in testStackList()
45 mAmWmState.computeState(mDevice, new String[] {TEST_ACTIVITY_NAME}); in testDockActivity()
46 mAmWmState.assertContainsStack("Must contain home stack.", HOME_STACK_ID); in testDockActivity()
47 mAmWmState.assertContainsStack("Must contain docked stack.", DOCKED_STACK_ID); in testDockActivity()
52 mAmWmState.computeState(mDevice, new String[] {NON_RESIZEABLE_ACTIVITY_NAME}); in testNonResizeableNotDocked()
54 mAmWmState.assertContainsStack("Must contain home stack.", HOME_STACK_ID); in testNonResizeableNotDocked()
55 mAmWmState.assertDoesNotContainStack("Must not contain docked stack.", DOCKED_STACK_ID); in testNonResizeableNotDocked()
[all …]
DActivityManagerActivityVisiblityTests.java35 mAmWmState.waitForValidState(mDevice, true, new String[] {VISIBLE_BEHIND_ACTIVITY}, in testVisibleBehindHomeActivity()
39 mAmWmState.waitForHomeActivityVisible(mDevice); in testVisibleBehindHomeActivity()
41 mAmWmState.computeState(mDevice, null); in testVisibleBehindHomeActivity()
42 mAmWmState.assertContainsStack( in testVisibleBehindHomeActivity()
44 mAmWmState.assertFrontStack("Home stack must be the front stack.", HOME_STACK_ID); in testVisibleBehindHomeActivity()
45 mAmWmState.assertVisibility( in testVisibleBehindHomeActivity()
53 mAmWmState.computeState(mDevice, in testVisibleBehindOtherActivity_NotOverHome()
55 mAmWmState.assertVisibility(VISIBLE_BEHIND_ACTIVITY, true); in testVisibleBehindOtherActivity_NotOverHome()
56 mAmWmState.assertVisibility(TRANSLUCENT_ACTIVITY, true); in testVisibleBehindOtherActivity_NotOverHome()
63 mAmWmState.computeState(mDevice, in testVisibleBehindOtherActivity_OverHome()
[all …]
DActivityManagerPinnedStackTests.java54 mAmWmState.waitForValidState(mDevice, true, new String[] {topActivityName}, in pinnedStackTester()
56 mAmWmState.computeState(mDevice, null); in pinnedStackTester()
60 mAmWmState.assertContainsStack("Must contain pinned stack.", PINNED_STACK_ID); in pinnedStackTester()
61 mAmWmState.assertFrontStack("Pinned stack must be the front stack.", PINNED_STACK_ID); in pinnedStackTester()
62 mAmWmState.assertVisibility(topActivityName, true); in pinnedStackTester()
65 mAmWmState.assertFocusedStack( in pinnedStackTester()
67 mAmWmState.assertFocusedActivity( in pinnedStackTester()
69 mAmWmState.assertFocusedWindow( in pinnedStackTester()
74 mAmWmState.assertNotFocusedStack( in pinnedStackTester()
76 mAmWmState.assertNotFocusedActivity( in pinnedStackTester()
[all …]
DActivityManagerFreeformStackTests.java39 mAmWmState.computeState(mDevice, new String[] {FREEFORM_ACTIVITY, TEST_ACTIVITY}); in testFreeformWindowManagementSupport()
42 mAmWmState.assertDoesNotContainStack( in testFreeformWindowManagementSupport()
47 mAmWmState.assertFrontStack( in testFreeformWindowManagementSupport()
49 mAmWmState.assertVisibility(FREEFORM_ACTIVITY, true); in testFreeformWindowManagementSupport()
50 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testFreeformWindowManagementSupport()
51 mAmWmState.assertFocusedActivity( in testFreeformWindowManagementSupport()
54 mAmWmState.getAmState().getTaskByActivityName(TEST_ACTIVITY).getBounds()); in testFreeformWindowManagementSupport()
60 mAmWmState.computeState(mDevice, new String[] {NON_RESIZEABLE_ACTIVITY}); in testNonResizeableActivityNotLaunchedToFreeform()
62 mAmWmState.assertFrontStack( in testNonResizeableActivityNotLaunchedToFreeform()
64 mAmWmState.assertDoesNotContainStack( in testNonResizeableActivityNotLaunchedToFreeform()
[all …]
DActivityManagerManifestLayoutTests.java146 mAmWmState.computeState(mDevice, true /* visibleOnly */, new String[] {activityName}); in getDisplayAndWindowState()
149 mAmWmState.assertFocusedWindow("Test window must be the front window.", windowName); in getDisplayAndWindowState()
151 mAmWmState.assertVisibility(activityName, true); in getDisplayAndWindowState()
154 mAmWmState.getWmState().getMatchingWindowState(windowName, mTempWindowList); in getDisplayAndWindowState()
162 mDisplay = mAmWmState.getWmState().getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
DActivityManagerReplaceWindowTests.java86 mAmWmState.computeState(mDevice, visibleOnly, new String[] {activityName}); in getWindowToken()
88 mAmWmState.assertVisibility(activityName, true); in getWindowToken()
90 mAmWmState.getWmState().getMatchingWindowTokens(windowName, mTempWindowTokens); in getWindowToken()
DActivityManagerAppConfigurationTests.java131 mAmWmState.computeState(mDevice, new String[] { activityName },
133 mAmWmState.assertContainsStack("Must contain stack " + stackId, stackId);
DActivityManagerTestBase.java98 protected ActivityAndWindowManagersState mAmWmState = new ActivityAndWindowManagersState(); field in ActivityManagerTestBase