Searched refs:expectedTransitions (Results 1 – 5 of 5) sorted by relevance
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | TransitionVerifier.java | 49 final List<String> expectedTransitions; in assertLaunchSequence() local 50 expectedTransitions = in assertLaunchSequence() 52 expectedTransitions.addAll(launchSequence); in assertLaunchSequence() 53 expectedTransitions.addAll(Arrays.asList(expectedSubsequentEvents)); in assertLaunchSequence() 54 assertEquals(errorMessage, expectedTransitions, observedTransitions); in assertLaunchSequence() 72 final List<String> expectedTransitions = new ArrayList<>(); in getLaunchAndDestroySequence() local 73 expectedTransitions.addAll(getLaunchSequence(activityClass)); in getLaunchAndDestroySequence() 74 expectedTransitions.addAll(getResumeToDestroySequence(activityClass)); in getLaunchAndDestroySequence() 75 return expectedTransitions; in getLaunchAndDestroySequence() 101 final List<Pair<String, String>> expectedTransitions = new ArrayList<>(); in assertLaunchSequence() local [all …]
|
D | EventTracker.java | 88 List<String> expectedTransitions) { in waitForActivityTransitions() argument 90 () -> mEventLog.getActivityLog(activityClass).equals(expectedTransitions)); in waitForActivityTransitions()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityLifecycleClientTestBase.java | 284 List<String> expectedTransitions) { in waitForActivityTransitions() argument 286 mTransitionTracker.waitForActivityTransitions(activityClass, expectedTransitions); in waitForActivityTransitions() 295 List<String> expectedTransitions, String message) { in waitAndAssertActivityTransitions() argument 297 mTransitionTracker.waitForActivityTransitions(activityClass, expectedTransitions); in waitAndAssertActivityTransitions() 299 TransitionVerifier.assertSequence(activityClass, getTransitionLog(), expectedTransitions, in waitAndAssertActivityTransitions() 654 final List<String> expectedTransitions = in moveTaskToPrimarySplitScreenAndVerify() local 657 TransitionVerifier.appendMinimizedDockTransitionTrail(expectedTransitions); in moveTaskToPrimarySplitScreenAndVerify() 663 expectedTransitions.removeAll(Collections.singleton(ON_MULTI_WINDOW_MODE_CHANGED)); in moveTaskToPrimarySplitScreenAndVerify() 668 mTransitionTracker.waitForActivityTransitions(activityClass, expectedTransitions); in moveTaskToPrimarySplitScreenAndVerify() 672 Arrays.asList(expectedTransitions, expectedTransitionForMinimizedDock), in moveTaskToPrimarySplitScreenAndVerify()
|
D | ActivityLifecycleTopResumedStateTests.java | 224 final List<Pair<String, String>> expectedTransitions = new ArrayList<>(); in testTopPositionSwitchOnDoubleLaunch() local 225 Collections.addAll(expectedTransitions, in testTopPositionSwitchOnDoubleLaunch() 245 expectedTransitions.add(transition(CallbackTrackingActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 246 expectedTransitions.add(transition(LaunchForResultActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 248 expectedTransitions.add(transition(LaunchForResultActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 249 expectedTransitions.add(transition(CallbackTrackingActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunch() 251 assertEquals("Double launch sequence must match", expectedTransitions, observedTransitions); in testTopPositionSwitchOnDoubleLaunch() 278 final List<Pair<String, String>> expectedTransitions = new ArrayList<>(); in testTopPositionSwitchOnDoubleLaunchAndTopFinish() local 279 Collections.addAll(expectedTransitions, in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 302 expectedTransitions.add(transition(CallbackTrackingActivity.class, ON_STOP)); in testTopPositionSwitchOnDoubleLaunchAndTopFinish() [all …]
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioManagerTest.java | 1629 Map<Integer, MuteStateTransition> expectedTransitions = Map.of( in testPriorityOnlyMuteAll() local 1642 expectedTransitions, in testPriorityOnlyMuteAll() 1653 Map<Integer, MuteStateTransition> expectedTransitions = Map.of( in testPriorityOnlyMediaAllowed() local 1664 expectedTransitions, in testPriorityOnlyMediaAllowed() 1674 Map<Integer, MuteStateTransition> expectedTransitions = Map.of( in testPriorityOnlySystemAllowed() local 1686 expectedTransitions, in testPriorityOnlySystemAllowed() 1709 Map<Integer, MuteStateTransition> expectedTransitions = Map.of( in testPriorityOnlySystemDisallowedWithRingerMuted() local 1721 expectedTransitions, in testPriorityOnlySystemDisallowedWithRingerMuted() 1732 Map<Integer, MuteStateTransition> expectedTransitions = Map.of( in testPriorityOnlyAlarmsAllowed() local 1747 expectedTransitions, in testPriorityOnlyAlarmsAllowed() [all …]
|