Home
last modified time | relevance | path

Searched refs:secondActivity (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java841 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities_FinishAliveActivities() local
843 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() local
899 secondActivity.haveState = false; in testHandleAppDied()
903 mStack.handleAppDiedLocked(secondActivity.app); in testHandleAppDied()
1095 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask) in testNavigateUpTo() local
1099 final IApplicationThread thread = secondActivity.app.getThread(); in testNavigateUpTo()
[all …]
DRootActivityContainerTests.java116 final ActivityRecord secondActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() local
118 final TaskRecord secondTask = secondActivity.getTaskRecord(); in testReplacingTaskInPinnedStack()
137 mRootActivityContainer.moveActivityToPinnedStack(secondActivity, sourceBounds, in testReplacingTaskInPinnedStack()