Searched refs:amState (Results 1 – 7 of 7) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | StartActivityAsUserTests.java | 133 WindowManagerState amState = mAmWmState; in startActivityInvalidUser() local 134 amState.computeState(); in startActivityInvalidUser() 136 stackId[0] = amState.getRootTaskIdByActivity(componentName); in startActivityInvalidUser()
|
D | AssistantStackTests.java | 211 mWmState.waitFor((amState) -> !amState.containsActivity(ASSISTANT_ACTIVITY), in testAssistantStackFinishToPreviousApp() 324 final WindowManagerState amState = mWmState; in testLaunchIntoSameTask() local 325 assertThat(amState.getRootTaskByActivityType(ACTIVITY_TYPE_ASSISTANT).getTasks(), in testLaunchIntoSameTask() 350 assertThat(amState.getRootTaskByActivityType(ACTIVITY_TYPE_ASSISTANT).getTasks(), in testLaunchIntoSameTask()
|
D | ConfigChangeTests.java | 282 mWmState.waitForWithAmState((amState) -> { in testUpdateApplicationInfo() argument 286 && amState.hasActivityState(TEST_ACTIVITY, STATE_RESUMED); in testUpdateApplicationInfo()
|
D | MultiDisplayPolicyTests.java | 164 mWmState.waitForWithAmState(amState -> { in testDisplayResize() 166 return amState.hasActivityState(RESIZEABLE_ACTIVITY, STATE_RESUMED) in testDisplayResize() 333 mWmState.waitFor((amState) -> amState.getDisplayCount() == displayCount, in testNoLeakOnExternalDisplay()
|
D | PinnedStackTests.java | 1151 mWmState.waitFor((amState) -> in testNoResumeAfterTaskOverlayFinishes() 1152 !amState.containsActivity(TRANSLUCENT_TEST_ACTIVITY), in testNoResumeAfterTaskOverlayFinishes() 1550 mWmState.waitFor((amState) -> in waitForPinnedStackRemoved() 1551 !amState.containsRootTasks(WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD), in waitForPinnedStackRemoved() 1577 mWmState.waitFor((amState) -> { in waitForValidPictureInPictureCallbacks() argument
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerStateHelper.java | 232 waitForWithAmState(amState -> { in waitForActivityOrientation() 233 final Task task = amState.getTaskByActivity(activityName); in waitForActivityOrientation() 251 waitFor((amState) -> !amState.containsActivity(activityName) in waitForActivityRemoved() 252 && !amState.containsWindow(getWindowName(activityName)), in waitForActivityRemoved() 335 return waitFor((amState) -> waitCondition.test(amState), message); in waitForWithAmState() 339 waitForWithAmState(amState -> { in waitWindowingModeTopFocus() 340 final Task rootTask = amState.getStandardRootTaskByWindowingMode(windowingMode); in waitWindowingModeTopFocus() 342 && topFocus == (amState.getFocusedTaskId() == rootTask.getRootTaskId()); in waitWindowingModeTopFocus()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityStarterTests.java | 232 amState -> 0 == amState.getActivityCountInTask(taskId, NO_HISTORY_ACTIVITY), in testNoHistoryActivityWithDifferentTask() 267 amState -> 1 == amState.getActivityCountInTask(taskId, NO_HISTORY_ACTIVITY), in testNoHistoryActivityWithTranslucentActivity() 513 amState -> 0 == amState.getActivityCountInTask(taskId, SECOND_STANDARD_ACTIVITY), in testLaunchActivityWithFlagClearTop()
|