Searched refs:mAmWmState (Results 1 – 8 of 8) sorted by relevance
36 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 …]
35 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 …]
54 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 …]
39 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 …]
146 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()
86 mAmWmState.computeState(mDevice, visibleOnly, new String[] {activityName}); in getWindowToken()88 mAmWmState.assertVisibility(activityName, true); in getWindowToken()90 mAmWmState.getWmState().getMatchingWindowTokens(windowName, mTempWindowTokens); in getWindowToken()
131 mAmWmState.computeState(mDevice, new String[] { activityName },133 mAmWmState.assertContainsStack("Must contain stack " + stackId, stackId);
98 protected ActivityAndWindowManagersState mAmWmState = new ActivityAndWindowManagersState(); field in ActivityManagerTestBase