Searched refs:mAtm (Results 1 – 6 of 6) sorted by relevance
455 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.mTaskId)); in testDisallowUpdateWindowingModeWhenInLockedTask()476 mAtm.stopSystemLockTaskMode(); in testDisallowUpdateWindowingModeWhenInLockedTask()493 mAtm.startSystemLockTaskMode(task.mTaskId); in testDisallowHierarchyOperationWhenInLockedTask()522 mAtm.stopSystemLockTaskMode(); in testDisallowHierarchyOperationWhenInLockedTask()
332 mAtm.startSystemLockTaskMode(activity.getTaskId()); in testApplyHierarchyOpsInLockTaskMode()363 mAtm.stopSystemLockTaskMode(); in testApplyHierarchyOpsInLockTaskMode()
359 mAtm.startSystemLockTaskMode(taskId1); in testLaunchTaskOnHomeInLockTaskMode()360 mAtm.startSystemLockTaskMode(taskId2); in testLaunchTaskOnHomeInLockTaskMode()373 mAtm.stopSystemLockTaskMode(); in testLaunchTaskOnHomeInLockTaskMode()
72 assumeTrue(mAtm.currentUiModeSupportsErrorDialogs(mContext)); in setup()
930 mAtm.startSystemLockTaskMode(task.mTaskId); in testDisallowEnterPipActivityLocked()941 mAtm.stopSystemLockTaskMode(); in testDisallowEnterPipActivityLocked()
247 protected final ActivityTaskManager mAtm = mContext.getSystemService(ActivityTaskManager.class); field in ActivityManagerTestBase601 mAtm.clearLaunchParamsForPackages(TEST_PACKAGES); in setUp()734 runWithShellPermission(() -> mAtm.removeRootTasksWithActivityTypes(activityTypes)); in removeRootTasksWithActivityTypes()739 runWithShellPermission(() -> mAtm.removeRootTasksInWindowingModes(windowingModes)); in removeRootTasksInWindowingModes()744 runWithShellPermission(() -> mAtm.removeTask(taskId)); in removeRootTask()977 runWithShellPermission(() -> mAtm.moveTaskToRootTask(taskId, rootTaskId, true)); in moveActivityToRootTaskOrOnTop()988 runWithShellPermission(() -> mAtm.resizeTask(taskId, new Rect(left, top, right, bottom))); in resizeActivityTask()