Searched refs:waitForActivityState (Results 1 – 12 of 12) sorted by relevance
90 mAmWmState.waitForActivityState(secondLaunchActivity.getComponentName(), STATE_RESUMED); in testClearTopNewTaskResetTask()236 mAmWmState.waitForActivityState(SECOND_STANDARD_ACTIVITY, STATE_DESTROYED); in testLaunchSingleTaskActivity()302 mAmWmState.waitForActivityState(STANDARD_ACTIVITY, STATE_DESTROYED); in testLaunchActivityWithFlagNewTaskAndClearTask()341 mAmWmState.waitForActivityState(STANDARD_ACTIVITY, STATE_RESUMED); in testLaunchActivityWithFlagClearTop()407 mAmWmState.waitForActivityState(STANDARD_SINGLE_TOP_ACTIVITY, STATE_RESUMED); in testLaunchActivityWithFlagSingleTop()
573 mAmWmState.waitForActivityState( in testRestoreFromKill()
172 mAmWmState.waitForActivityState(TEST_ACTIVITY, STATE_STOPPED); in testAppStoppedWithVisibilityGone()185 mAmWmState.waitForActivityState(TEST_ACTIVITY, STATE_STOPPED); in testAppStoppedWithVisibilityInvisible()198 mAmWmState.waitForActivityState(TEST_ACTIVITY, STATE_STOPPED); in testAppStopAndStartWithVisibilityChange()205 mAmWmState.waitForActivityState(TEST_ACTIVITY, STATE_RESUMED); in testAppStopAndStartWithVisibilityChange()
212 mAmWmState.waitForActivityState(LAUNCHING_ACTIVITY, STATE_PAUSED); in testFinishActivityInNonFocusedStack()262 mAmWmState.waitForActivityState(BROADCAST_RECEIVER_ACTIVITY, STATE_RESUMED); in performFinishActivityWithMoveTaskToBack()263 mAmWmState.waitForActivityState(MOVE_TASK_TO_BACK_ACTIVITY,STATE_STOPPED); in performFinishActivityWithMoveTaskToBack()411 mAmWmState.waitForActivityState(TURN_SCREEN_ON_ATTR_ACTIVITY, STATE_STOPPED); in testTurnScreenOnAttrWithLockScreen()445 mAmWmState.waitForActivityState(TURN_SCREEN_ON_ATTR_REMOVE_ATTR_ACTIVITY, in testTurnScreenOnAttrRemove()
537 mAmWmState.waitForActivityState(RESIZEABLE_ACTIVITY, STATE_RESUMED); in testTaskCloseRestoreFreeOrientation()554 mAmWmState.waitForActivityState(RESIZEABLE_ACTIVITY, STATE_RESUMED); in testTaskCloseRestoreFreeOrientation()861 mAmWmState.waitForActivityState(BROADCAST_RECEIVER_ACTIVITY, STATE_RESUMED);871 mAmWmState.waitForActivityState(NIGHT_MODE_ACTIVITY, STATE_RESUMED);
149 mAmWmState.waitForActivityState( in testOccludeAttrRemove()
460 mAmWmState.waitForActivityState(PIP_ON_STOP_ACTIVITY, STATE_STOPPED); in testDisallowPipLaunchFromStoppedActivity()1161 mAmWmState.waitForActivityState(mAmWmState.getAmState().getHomeActivityName(), in testEnterPictureInPictureSavePosition()1195 mAmWmState.waitForActivityState(PIP_ACTIVITY, STATE_RESUMED); in testEnterPictureInPictureSavePosition()1209 mAmWmState.waitForActivityState(mAmWmState.getAmState().getHomeActivityName(), in testEnterPictureInPictureDiscardSavedPositionOnFinish()
327 mAmWmState.waitForActivityState(ANIMATION_TEST_ACTIVITY, STATE_RESUMED); in testLaunchIntoSameTask()
315 mAmWmState.waitForActivityState(NON_RESIZEABLE_ACTIVITY, STATE_RESUMED); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
726 mAmWmState.waitForActivityState(TEST_ACTIVITY, STATE_RESUMED); in testSecondaryDisplayFocus()
677 mAmWmState.waitForActivityState(sideActivity.getComponentName(), STATE_RESUMED); in moveTaskToPrimarySplitScreen()806 mAmWmState.waitForActivityState(activityName, state); in waitAndAssertActivityState()814 mAmWmState.waitForActivityState(activityName, STATE_RESUMED); in waitAndAssertTopResumedActivity()
310 public void waitForActivityState(ComponentName activityName, String activityState) { in waitForActivityState() method in ActivityAndWindowManagersState