Home
last modified time | relevance | path

Searched refs:mAtm (Results 1 – 7 of 7) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DLockTaskModeTests.java54 runWithShellPermission(() -> mAtm.updateLockTaskPackages(mContext, in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()
63 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.getTaskId())); in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()
69 runWithShellPermission(() -> mAtm.updateLockTaskPackages(mContext, in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()
84 mAtm.stopSystemLockTaskMode(); in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()
85 mAtm.updateLockTaskPackages(mContext, new String[0]); in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()
DAnrTests.java85 assumeTrue(mAtm.currentUiModeSupportsErrorDialogs(mContext)); in setup()
DPinnedStackTests.java1231 mAtm.startSystemLockTaskMode(task.getTaskId()); in testDisallowEnterPipActivityLocked()
1241 mAtm.stopSystemLockTaskMode(); in testDisallowEnterPipActivityLocked()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DMultiWindowTests.java460 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.getTaskId())); in testDisallowUpdateWindowingModeWhenInLockedTask()
477 mAtm.stopSystemLockTaskMode(); in testDisallowUpdateWindowingModeWhenInLockedTask()
495 mAtm.startSystemLockTaskMode(task.getTaskId()); in testDisallowReparentOperationWhenInLockedTask()
530 mAtm.stopSystemLockTaskMode(); in testDisallowReparentOperationWhenInLockedTask()
593 mAtm.startSystemLockTaskMode(taskId); in testDisallowReOrderOperationWhenInLockedTask()
621 mAtm.stopSystemLockTaskMode(); in testDisallowReOrderOperationWhenInLockedTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DTaskFragmentOrganizerPolicyTest.java975 mAtm.startSystemLockTaskMode(activity.getTaskId()); in testApplyHierarchyOpsInLockTaskMode()
1014 mAtm.stopSystemLockTaskMode(); in testApplyHierarchyOpsInLockTaskMode()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityVisibilityTests.java398 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(taskId)); in testLaunchTaskOnHomeInLockTaskMode()
407 runWithShellPermission(() -> mAtm.stopSystemLockTaskMode()); in testLaunchTaskOnHomeInLockTaskMode()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java278 protected final ActivityTaskManager mAtm = mContext.getSystemService(ActivityTaskManager.class); field in ActivityManagerTestBase
710 mAtm.clearLaunchParamsForPackages(TEST_PACKAGES); in setUp()
867 runWithShellPermission(() -> mAtm.removeRootTasksWithActivityTypes(activityTypes)); in removeRootTasksWithActivityTypes()
872 runWithShellPermission(() -> mAtm.removeRootTasksInWindowingModes(windowingModes)); in removeRootTasksInWindowingModes()
877 runWithShellPermission(() -> mAtm.removeTask(taskId)); in removeRootTask()
1176 runWithShellPermission(() -> mAtm.moveTaskToRootTask(taskId, rootTaskId, true)); in moveActivityToRootTaskOrOnTop()
1187 runWithShellPermission(() -> mAtm.resizeTask(taskId, new Rect(left, top, right, bottom))); in resizeActivityTask()