Searched refs:runWithShellPermission (Results 1 – 8 of 8) sorted by relevance
455 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.mTaskId)); in testDisallowUpdateWindowingModeWhenInLockedTask()462 runWithShellPermission(() -> { in testDisallowUpdateWindowingModeWhenInLockedTask() method475 runWithShellPermission(() -> { in testDisallowUpdateWindowingModeWhenInLockedTask() method492 runWithShellPermission(() -> { in testDisallowHierarchyOperationWhenInLockedTask() method500 runWithShellPermission(() -> { in testDisallowHierarchyOperationWhenInLockedTask() method521 runWithShellPermission(() -> { in testDisallowHierarchyOperationWhenInLockedTask() method
633 runWithShellPermission( in ConstrainDisplayApisFlagsSession() method647 runWithShellPermission( in close() method675 runWithShellPermission( in setConstrainDisplayApisFlag() method
331 runWithShellPermission(() -> { in testApplyHierarchyOpsInLockTaskMode() method362 runWithShellPermission(() -> { in testApplyHierarchyOpsInLockTaskMode() method
358 runWithShellPermission(() -> { in testLaunchTaskOnHomeInLockTaskMode() method372 runWithShellPermission(() -> { in testLaunchTaskOnHomeInLockTaskMode() method
346 runWithShellPermission(() -> in testStartActivitiesTaskOverlayStayOnTop()
1386 runWithShellPermission(() -> { in assertIsSeamlessResizeEnabled() method1396 runWithShellPermission(() -> { in assertNumberOfActions() method
488 runWithShellPermission(() -> launcherApps.startShortcut(shortcut, null, null)); in testShortcutChangeTheme()
338 protected void runWithShellPermission(Runnable runnable) { in runWithShellPermission() method in ActivityManagerTestBase484 runWithShellPermission( in launchTestActivityOnDisplaySync() method505 runWithShellPermission( in launchTestActivityOnDisplay() method596 runWithShellPermission(() -> { in setUp() method734 runWithShellPermission(() -> mAtm.removeRootTasksWithActivityTypes(activityTypes)); in removeRootTasksWithActivityTypes()739 runWithShellPermission(() -> mAtm.removeRootTasksInWindowingModes(windowingModes)); in removeRootTasksInWindowingModes()744 runWithShellPermission(() -> mAtm.removeTask(taskId)); in removeRootTask()873 runWithShellPermission(() -> { in launchActivityInPrimarySplit() method882 runWithShellPermission(() -> { in launchActivityInSecondarySplit() method977 runWithShellPermission(() -> mAtm.moveTaskToRootTask(taskId, rootTaskId, true)); in moveActivityToRootTaskOrOnTop()[all …]