Searched refs:amState (Results 1 – 8 of 8) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | StartActivityAsUserTests.java | 181 WindowManagerState amState = mAmWmState; in verifyStartActivityAsInvalidUser() local 182 amState.computeState(); in verifyStartActivityAsInvalidUser() 184 stackId[0] = amState.getRootTaskIdByActivity(componentName); in verifyStartActivityAsInvalidUser()
|
D | AssistantStackTests.java | 212 mWmState.waitFor((amState) -> !amState.containsActivity(ASSISTANT_ACTIVITY), in testAssistantStackFinishToPreviousApp() 349 final WindowManagerState amState = mWmState; in testLaunchIntoSameTask() local 353 assertThat(amState.getRootTaskByActivityType(ACTIVITY_TYPE_ASSISTANT).getTasks(), in testLaunchIntoSameTask() 387 assertThat(amState.getRootTaskByActivityType(ACTIVITY_TYPE_ASSISTANT).getTasks(), in testLaunchIntoSameTask()
|
D | ConfigChangeTests.java | 300 mWmState.waitForWithAmState((amState) -> { in testUpdateApplicationInfo() argument 304 && amState.hasActivityState(TEST_ACTIVITY, STATE_RESUMED); in testUpdateApplicationInfo()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerStateHelper.java | 270 return waitForWithAmState(amState -> { in waitForActivityOrientation() 271 final Activity activity = amState.getActivity(activityName); in waitForActivityOrientation() 290 waitFor((amState) -> !amState.containsActivity(activityName) in waitForActivityRemoved() 291 && !amState.containsWindow(getWindowName(activityName)), in waitForActivityRemoved() 386 waitForWithAmState(amState -> { 387 final Task rootTask = amState.getStandardRootTaskByWindowingMode(windowingMode); 389 && topFocus == (amState.getFocusedTaskId() == rootTask.getRootTaskId());
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/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()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/ |
D | TaskFragmentTrustedModeTest.java | 201 mWmState.waitForWithAmState(amState -> { in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() 202 final WindowManagerState.TaskFragment tf = amState.getTaskFragmentByActivity( in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplayPolicyTests.java | 171 mWmState.waitForWithAmState(amState -> { in testDisplayResize() 173 return amState.hasActivityState(RESIZEABLE_ACTIVITY, STATE_RESUMED) in testDisplayResize() 340 mWmState.waitFor((amState) -> amState.getDisplayCount() == displayCount, in testNoLeakOnExternalDisplay()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | PinnedStackTests.java | 1452 mWmState.waitFor((amState) -> in testNoResumeAfterTaskOverlayFinishes() 1453 !amState.containsActivity(TRANSLUCENT_TEST_ACTIVITY), in testNoResumeAfterTaskOverlayFinishes() 1952 mWmState.waitFor((amState) -> in waitForPinnedStackRemoved() 1953 !amState.containsRootTasks(WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD), in waitForPinnedStackRemoved() 1979 mWmState.waitFor((amState) -> { in waitForValidPictureInPictureCallbacks() argument
|