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()
214 mAmWmState.waitForActivityState(LAUNCHING_ACTIVITY, STATE_PAUSED); in testFinishActivityInNonFocusedStack()264 mAmWmState.waitForActivityState(BROADCAST_RECEIVER_ACTIVITY, STATE_RESUMED); in performFinishActivityWithMoveTaskToBack()265 mAmWmState.waitForActivityState(MOVE_TASK_TO_BACK_ACTIVITY,STATE_STOPPED); in performFinishActivityWithMoveTaskToBack()415 mAmWmState.waitForActivityState(TURN_SCREEN_ON_ATTR_ACTIVITY, STATE_STOPPED); in testTurnScreenOnAttrWithLockScreen()453 mAmWmState.waitForActivityState(TURN_SCREEN_ON_ATTR_REMOVE_ATTR_ACTIVITY, in testTurnScreenOnAttrRemove()
543 mAmWmState.waitForActivityState(RESIZEABLE_ACTIVITY, STATE_RESUMED); in testTaskCloseRestoreFreeOrientation()560 mAmWmState.waitForActivityState(RESIZEABLE_ACTIVITY, STATE_RESUMED); in testTaskCloseRestoreFreeOrientation()867 mAmWmState.waitForActivityState(BROADCAST_RECEIVER_ACTIVITY, STATE_RESUMED);877 mAmWmState.waitForActivityState(NIGHT_MODE_ACTIVITY, STATE_RESUMED);
149 mAmWmState.waitForActivityState( in testOccludeAttrRemove()
465 mAmWmState.waitForActivityState(PIP_ON_STOP_ACTIVITY, STATE_STOPPED); in testDisallowPipLaunchFromStoppedActivity()1191 mAmWmState.waitForActivityState(mAmWmState.getAmState().getHomeActivityName(), in testEnterPictureInPictureSavePosition()1225 mAmWmState.waitForActivityState(PIP_ACTIVITY, STATE_RESUMED); in testEnterPictureInPictureSavePosition()1239 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()
729 mAmWmState.waitForActivityState(TEST_ACTIVITY, STATE_RESUMED); in testSecondaryDisplayFocus()
707 mAmWmState.waitForActivityState(sideActivity.getComponentName(), STATE_RESUMED); in moveTaskToPrimarySplitScreen()858 mAmWmState.waitForActivityState(activityName, state); in waitAndAssertActivityState()866 mAmWmState.waitForActivityState(activityName, STATE_RESUMED); in waitAndAssertTopResumedActivity()
310 public void waitForActivityState(ComponentName activityName, String activityState) { in waitForActivityState() method in ActivityAndWindowManagersState