Home
last modified time | relevance | path

Searched refs:expectedTransitions (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DLifecycleVerifier.java59 final List<LifecycleLog.ActivityCallback> expectedTransitions; in assertLaunchSequence() local
60 expectedTransitions = new ArrayList<>(launchSequence.size() + in assertLaunchSequence()
62 expectedTransitions.addAll(launchSequence); in assertLaunchSequence()
63 expectedTransitions.addAll(Arrays.asList(expectedSubsequentEvents)); in assertLaunchSequence()
64 assertEquals(errorMessage, expectedTransitions, observedTransitions); in assertLaunchSequence()
96 final List<Pair<String, ActivityCallback>> expectedTransitions = new ArrayList<>(); in assertLaunchSequence() local
99 expectedTransitions.add(transition(existingActivity, ON_TOP_POSITION_LOST)); in assertLaunchSequence()
102 expectedTransitions.add(transition(existingActivity, ON_PAUSE)); in assertLaunchSequence()
103 expectedTransitions.add(transition(launchingActivity, PRE_ON_CREATE)); in assertLaunchSequence()
104 expectedTransitions.add(transition(launchingActivity, ON_CREATE)); in assertLaunchSequence()
[all …]
DActivityLifecycleClientTestBase.java158 List<ActivityCallback> expectedTransitions) { in waitForActivityTransitions() argument
160 mLifecycleTracker.waitForActivityTransitions(activityClass, expectedTransitions); in waitForActivityTransitions()
169 List<ActivityCallback> expectedTransitions, String message) { in waitAndAssertActivityTransitions() argument
171 mLifecycleTracker.waitForActivityTransitions(activityClass, expectedTransitions); in waitAndAssertActivityTransitions()
173 LifecycleVerifier.assertSequence(activityClass, getLifecycleLog(), expectedTransitions, in waitAndAssertActivityTransitions()
DLifecycleTracker.java59 List<ActivityCallback> expectedTransitions) { in waitForActivityTransitions() argument
61 () -> mLifecycleLog.getActivityLog(activityClass).equals(expectedTransitions), in waitForActivityTransitions()
DActivityLifecycleTopResumedStateTests.java211 final List<Pair<String, ActivityCallback>> expectedTransitions = Arrays.asList( in testTopPositionSwitchOnDoubleLaunch() local
230 assertEquals("Double launch sequence must match", expectedTransitions, observedTransitions); in testTopPositionSwitchOnDoubleLaunch()