Searched refs:secondActivity (Results 1 – 2 of 2) sorted by relevance
841 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities_FinishAliveActivities() local843 secondActivity.setState(RESUMED, "testFinishDisabledPackageActivities"); in testFinishDisabledPackageActivities_FinishAliveActivities()844 mStack.mResumedActivity = secondActivity; in testFinishDisabledPackageActivities_FinishAliveActivities()854 assertThat(secondActivity.getState()).isEqualTo(PAUSING); in testFinishDisabledPackageActivities_FinishAliveActivities()855 assertTrue(secondActivity.finishing); in testFinishDisabledPackageActivities_FinishAliveActivities()890 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testHandleAppDied() local899 secondActivity.haveState = false; in testHandleAppDied()903 mStack.handleAppDiedLocked(secondActivity.app); in testHandleAppDied()1095 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask) in testNavigateUpTo() local1099 final IApplicationThread thread = secondActivity.app.getThread(); in testNavigateUpTo()[all …]
118 final ActivityRecord secondActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() local120 final TaskRecord secondTask = secondActivity.getTaskRecord(); in testReplacingTaskInPinnedStack()139 mRootActivityContainer.moveActivityToPinnedStack(secondActivity, sourceBounds, in testReplacingTaskInPinnedStack()