Home
last modified time | relevance | path

Searched refs:runWithShellPermission (Results 1 – 8 of 8) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiWindowTests.java455 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.mTaskId)); in testDisallowUpdateWindowingModeWhenInLockedTask()
462 runWithShellPermission(() -> { in testDisallowUpdateWindowingModeWhenInLockedTask() method
475 runWithShellPermission(() -> { in testDisallowUpdateWindowingModeWhenInLockedTask() method
492 runWithShellPermission(() -> { in testDisallowHierarchyOperationWhenInLockedTask() method
500 runWithShellPermission(() -> { in testDisallowHierarchyOperationWhenInLockedTask() method
521 runWithShellPermission(() -> { in testDisallowHierarchyOperationWhenInLockedTask() method
DCompatChangeTests.java633 runWithShellPermission( in ConstrainDisplayApisFlagsSession() method
647 runWithShellPermission( in close() method
675 runWithShellPermission( in setConstrainDisplayApisFlag() method
DTaskFragmentOrganizerPolicyTest.java331 runWithShellPermission(() -> { in testApplyHierarchyOpsInLockTaskMode() method
362 runWithShellPermission(() -> { in testApplyHierarchyOpsInLockTaskMode() method
DActivityVisibilityTests.java358 runWithShellPermission(() -> { in testLaunchTaskOnHomeInLockTaskMode() method
372 runWithShellPermission(() -> { in testLaunchTaskOnHomeInLockTaskMode() method
DStartActivityTests.java346 runWithShellPermission(() -> in testStartActivitiesTaskOverlayStayOnTop()
DPinnedStackTests.java1386 runWithShellPermission(() -> { in assertIsSeamlessResizeEnabled() method
1396 runWithShellPermission(() -> { in assertNumberOfActions() method
DSplashscreenTests.java488 runWithShellPermission(() -> launcherApps.startShortcut(shortcut, null, null)); in testShortcutChangeTheme()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java338 protected void runWithShellPermission(Runnable runnable) { in runWithShellPermission() method in ActivityManagerTestBase
484 runWithShellPermission( in launchTestActivityOnDisplaySync() method
505 runWithShellPermission( in launchTestActivityOnDisplay() method
596 runWithShellPermission(() -> { in setUp() method
734 runWithShellPermission(() -> mAtm.removeRootTasksWithActivityTypes(activityTypes)); in removeRootTasksWithActivityTypes()
739 runWithShellPermission(() -> mAtm.removeRootTasksInWindowingModes(windowingModes)); in removeRootTasksInWindowingModes()
744 runWithShellPermission(() -> mAtm.removeTask(taskId)); in removeRootTask()
873 runWithShellPermission(() -> { in launchActivityInPrimarySplit() method
882 runWithShellPermission(() -> { in launchActivityInSecondarySplit() method
977 runWithShellPermission(() -> mAtm.moveTaskToRootTask(taskId, rootTaskId, true)); in moveActivityToRootTaskOrOnTop()
[all …]