Searched refs:mAtm (Results 1 – 7 of 7) sorted by relevance
54 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()
85 assumeTrue(mAtm.currentUiModeSupportsErrorDialogs(mContext)); in setup()
1231 mAtm.startSystemLockTaskMode(task.getTaskId()); in testDisallowEnterPipActivityLocked()1241 mAtm.stopSystemLockTaskMode(); in testDisallowEnterPipActivityLocked()
460 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()
975 mAtm.startSystemLockTaskMode(activity.getTaskId()); in testApplyHierarchyOpsInLockTaskMode()1014 mAtm.stopSystemLockTaskMode(); in testApplyHierarchyOpsInLockTaskMode()
398 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(taskId)); in testLaunchTaskOnHomeInLockTaskMode()407 runWithShellPermission(() -> mAtm.stopSystemLockTaskMode()); in testLaunchTaskOnHomeInLockTaskMode()
278 protected final ActivityTaskManager mAtm = mContext.getSystemService(ActivityTaskManager.class); field in ActivityManagerTestBase710 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()