Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackSupervisorTests.java70 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testStoppingActivityRemovedWhenResumed() local
72 mSupervisor.mStoppingActivities.add(firstActivity); in testStoppingActivityRemovedWhenResumed()
74 firstActivity.completeResumeLocked(); in testStoppingActivityRemovedWhenResumed()
76 assertFalse(mSupervisor.mStoppingActivities.contains(firstActivity)); in testStoppingActivityRemovedWhenResumed()
85 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReportWaitingActivityLaunchedIfNeeded() local
93 mSupervisor.reportWaitingActivityLaunchedIfNeeded(firstActivity, START_TASK_TO_FRONT); in testReportWaitingActivityLaunchedIfNeeded()
101 mSupervisor.reportWaitingActivityLaunchedIfNeeded(firstActivity, in testReportWaitingActivityLaunchedIfNeeded()
106 assertEquals(deliverToTopWait.who, firstActivity.mActivityComponent); in testReportWaitingActivityLaunchedIfNeeded()
DActivityStackTests.java840 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities_FinishAliveActivities() local
842 firstActivity.setState(STOPPED, "testFinishDisabledPackageActivities"); in testFinishDisabledPackageActivities_FinishAliveActivities()
847 mStack.finishDisabledPackageActivitiesLocked(firstActivity.packageName, in testFinishDisabledPackageActivities_FinishAliveActivities()
853 assertThat(firstActivity.getState()).isEqualTo(DESTROYING); in testFinishDisabledPackageActivities_FinishAliveActivities()
889 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testHandleAppDied() local
895 firstActivity.mTaskOverlay = true; in testHandleAppDied()
896 firstActivity.app = null; in testHandleAppDied()
1094 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testNavigateUpTo() local
1096 .setUid(firstActivity.getUid() + 1).build(); in testNavigateUpTo()
1097 doReturn(starter).when(controller).obtainStarter(eq(firstActivity.intent), anyString()); in testNavigateUpTo()
[all …]
DRootActivityContainerTests.java112 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() local
114 final TaskRecord firstTask = firstActivity.getTaskRecord(); in testReplacingTaskInPinnedStack()
127 mRootActivityContainer.moveActivityToPinnedStack(firstActivity, sourceBounds, in testReplacingTaskInPinnedStack()
224 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testRemovingStackOnAppCrash() local
230 firstActivity.app.setThread(null); in testRemovingStackOnAppCrash()
231 mRootActivityContainer.finishTopCrashedActivities(firstActivity.app, "test"); in testRemovingStackOnAppCrash()