Searched refs:firstActivity (Results 1 – 3 of 3) sorted by relevance
70 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testStoppingActivityRemovedWhenResumed() local72 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() local93 mSupervisor.reportWaitingActivityLaunchedIfNeeded(firstActivity, START_TASK_TO_FRONT); in testReportWaitingActivityLaunchedIfNeeded()101 mSupervisor.reportWaitingActivityLaunchedIfNeeded(firstActivity, in testReportWaitingActivityLaunchedIfNeeded()106 assertEquals(deliverToTopWait.who, firstActivity.mActivityComponent); in testReportWaitingActivityLaunchedIfNeeded()
840 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities_FinishAliveActivities() local842 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() local895 firstActivity.mTaskOverlay = true; in testHandleAppDied()896 firstActivity.app = null; in testHandleAppDied()1094 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testNavigateUpTo() local1096 .setUid(firstActivity.getUid() + 1).build(); in testNavigateUpTo()1097 doReturn(starter).when(controller).obtainStarter(eq(firstActivity.intent), anyString()); in testNavigateUpTo()[all …]
114 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() local116 final TaskRecord firstTask = firstActivity.getTaskRecord(); in testReplacingTaskInPinnedStack()129 mRootActivityContainer.moveActivityToPinnedStack(firstActivity, sourceBounds, in testReplacingTaskInPinnedStack()226 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testRemovingStackOnAppCrash() local232 firstActivity.app.setThread(null); in testRemovingStackOnAppCrash()233 mRootActivityContainer.finishTopCrashedActivities(firstActivity.app, "test"); in testRemovingStackOnAppCrash()