Home
last modified time | relevance | path

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

/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DProcessOwnerTest.java94 FragmentActivity secondActivity = (FragmentActivity) monitor.waitForActivity(); in testNavigation() local
95 assertThat("Failed to navigate", secondActivity, notNullValue()); in testNavigation()
96 checkProcessObserverSilent(secondActivity); in testNavigation()
110 NonSupportActivity secondActivity = (NonSupportActivity) monitor.waitForActivity(); in testNavigationToNonSupport() local
111 assertThat("Failed to navigate", secondActivity, notNullValue()); in testNavigationToNonSupport()
112 checkProcessObserverSilent(secondActivity); in testNavigationToNonSupport()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackTests.java512 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities() local
516 secondActivity.mTaskOverlay = true; in testFinishDisabledPackageActivities()
517 secondActivity.app = null; in testFinishDisabledPackageActivities()
531 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testHandleAppDied() local
540 secondActivity.haveState = false; in testHandleAppDied()
544 mStack.handleAppDiedLocked(secondActivity.app); in testHandleAppDied()
DActivityStackSupervisorTests.java108 final ActivityRecord secondActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() local
110 final TaskRecord secondTask = secondActivity.getTask(); in testReplacingTaskInPinnedStack()
129 mSupervisor.moveActivityToPinnedStackLocked(secondActivity, sourceBounds, in testReplacingTaskInPinnedStack()