Searched refs:firstActivity (Results 1 – 3 of 3) sorted by relevance
84 FragmentActivity firstActivity = setupObserverOnResume(); in testNavigation() local90 Intent intent = new Intent(firstActivity, NavigationTestActivitySecond.class); in testNavigation()91 firstActivity.finish(); in testNavigation()92 firstActivity.startActivity(intent); in testNavigation()101 FragmentActivity firstActivity = setupObserverOnResume(); in testNavigationToNonSupport() local107 Intent intent = new Intent(firstActivity, NonSupportActivity.class); in testNavigationToNonSupport()108 firstActivity.finish(); in testNavigationToNonSupport()109 firstActivity.startActivity(intent); in testNavigationToNonSupport()162 FragmentActivity firstActivity = activityTestRule.getActivity(); in setupObserverOnResume() local163 waitTillResumed(firstActivity, activityTestRule); in setupObserverOnResume()[all …]
104 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() local106 final TaskRecord firstTask = firstActivity.getTask(); in testReplacingTaskInPinnedStack()119 mSupervisor.moveActivityToPinnedStackLocked(firstActivity, sourceBounds, in testReplacingTaskInPinnedStack()158 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testStoppingActivityRemovedWhenResumed() local160 mSupervisor.mStoppingActivities.add(firstActivity); in testStoppingActivityRemovedWhenResumed()162 firstActivity.completeResumeLocked(); in testStoppingActivityRemovedWhenResumed()164 assertFalse(mSupervisor.mStoppingActivities.contains(firstActivity)); in testStoppingActivityRemovedWhenResumed()172 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReportWaitingActivityLaunchedIfNeeded() local180 mSupervisor.reportWaitingActivityLaunchedIfNeeded(firstActivity, START_TASK_TO_FRONT); in testReportWaitingActivityLaunchedIfNeeded()188 mSupervisor.reportWaitingActivityLaunchedIfNeeded(firstActivity, in testReportWaitingActivityLaunchedIfNeeded()[all …]
511 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities() local521 mStack.finishDisabledPackageActivitiesLocked(firstActivity.packageName, null, in testFinishDisabledPackageActivities()530 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testHandleAppDied() local536 firstActivity.mTaskOverlay = true; in testHandleAppDied()537 firstActivity.app = null; in testHandleAppDied()