Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java728 final ActivityRecord secondActivity = new ActivityBuilder(mService) in testShouldBeVisible_FullscreenBehindTranslucentInHomeStack() local
732 doReturn(false).when(secondActivity).occludesParent(); in testShouldBeVisible_FullscreenBehindTranslucentInHomeStack()
1016 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities_FinishAliveActivities() local
1018 secondActivity.setState(RESUMED, "testFinishDisabledPackageActivities"); in testFinishDisabledPackageActivities_FinishAliveActivities()
1019 mStack.mResumedActivity = secondActivity; in testFinishDisabledPackageActivities_FinishAliveActivities()
1029 assertThat(secondActivity.getState()).isEqualTo(PAUSING); in testFinishDisabledPackageActivities_FinishAliveActivities()
1030 assertTrue(secondActivity.finishing); in testFinishDisabledPackageActivities_FinishAliveActivities()
1065 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testHandleAppDied() local
1074 secondActivity.setSavedState(null /* savedState */); in testHandleAppDied()
1078 mRootWindowContainer.handleAppDied(secondActivity.app); in testHandleAppDied()
[all …]
DActivityRecordTests.java1145 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testCompleteFinishing_ensureActivitiesVisible() local
1146 secondActivity.mVisibleRequested = true; in testCompleteFinishing_ensureActivitiesVisible()
1147 secondActivity.nowVisible = true; in testCompleteFinishing_ensureActivitiesVisible()
1148 secondActivity.setState(PAUSED, "true"); in testCompleteFinishing_ensureActivitiesVisible()
1159 secondActivity.finishing = true; in testCompleteFinishing_ensureActivitiesVisible()
1160 secondActivity.completeFinishing("test"); in testCompleteFinishing_ensureActivitiesVisible()
1161 verify(secondActivity.getDisplay()).ensureActivitiesVisible(null /* starting */, in testCompleteFinishing_ensureActivitiesVisible()
1596 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(initialTask) in testActivityReparentDoesntClearProcessOverride_TwoActivities() local
1600 assertEquals(0, secondActivity.getMergedOverrideConfiguration() in testActivityReparentDoesntClearProcessOverride_TwoActivities()
1611 secondActivity.reparent(newTask, 0 /* top */, "test"); in testActivityReparentDoesntClearProcessOverride_TwoActivities()
[all …]
DRootActivityContainerTests.java122 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(task) in testReplacingTaskInPinnedStack() local
128 ensureStackPlacement(mFullscreenStack, firstActivity, secondActivity); in testReplacingTaskInPinnedStack()
137 ensureStackPlacement(mFullscreenStack, secondActivity); in testReplacingTaskInPinnedStack()
140 mRootWindowContainer.moveActivityToPinnedStack(secondActivity, "secondMove"); in testReplacingTaskInPinnedStack()
147 ensureStackPlacement(pinnedStack, secondActivity); in testReplacingTaskInPinnedStack()