Home
last modified time | relevance | path

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

/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DProcessOwnerTest.java84 FragmentActivity firstActivity = setupObserverOnResume(); in testNavigation() local
90 Intent intent = new Intent(firstActivity, NavigationTestActivitySecond.class); in testNavigation()
91 firstActivity.finish(); in testNavigation()
92 firstActivity.startActivity(intent); in testNavigation()
101 FragmentActivity firstActivity = setupObserverOnResume(); in testNavigationToNonSupport() local
107 Intent intent = new Intent(firstActivity, NonSupportActivity.class); in testNavigationToNonSupport()
108 firstActivity.finish(); in testNavigationToNonSupport()
109 firstActivity.startActivity(intent); in testNavigationToNonSupport()
162 FragmentActivity firstActivity = activityTestRule.getActivity(); in setupObserverOnResume() local
163 waitTillResumed(firstActivity, activityTestRule); in setupObserverOnResume()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackSupervisorTests.java104 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() local
106 final TaskRecord firstTask = firstActivity.getTask(); in testReplacingTaskInPinnedStack()
119 mSupervisor.moveActivityToPinnedStackLocked(firstActivity, sourceBounds, in testReplacingTaskInPinnedStack()
158 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testStoppingActivityRemovedWhenResumed() local
160 mSupervisor.mStoppingActivities.add(firstActivity); in testStoppingActivityRemovedWhenResumed()
162 firstActivity.completeResumeLocked(); in testStoppingActivityRemovedWhenResumed()
164 assertFalse(mSupervisor.mStoppingActivities.contains(firstActivity)); in testStoppingActivityRemovedWhenResumed()
172 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReportWaitingActivityLaunchedIfNeeded() local
180 mSupervisor.reportWaitingActivityLaunchedIfNeeded(firstActivity, START_TASK_TO_FRONT); in testReportWaitingActivityLaunchedIfNeeded()
188 mSupervisor.reportWaitingActivityLaunchedIfNeeded(firstActivity, in testReportWaitingActivityLaunchedIfNeeded()
[all …]
DActivityStackTests.java511 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities() local
521 mStack.finishDisabledPackageActivitiesLocked(firstActivity.packageName, null, in testFinishDisabledPackageActivities()
530 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testHandleAppDied() local
536 firstActivity.mTaskOverlay = true; in testHandleAppDied()
537 firstActivity.app = null; in testHandleAppDied()