Home
last modified time | relevance | path

Searched refs:runWithShellPermission (Results 1 – 10 of 10) 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()
83 runWithShellPermission(() -> { in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode() method
DPinnedStackTests.java640 runWithShellPermission(() -> { in testShouldDockBigOverlaysWithExpandedPip() method
1716 runWithShellPermission(() -> { in testCloseActionIsSet() method
1781 runWithShellPermission(() -> { in assertIsSeamlessResizeEnabled() method
1798 runWithShellPermission(() -> { in testTitleIsSet() method
1815 runWithShellPermission(() -> { in testSubtitleIsSet() method
1825 runWithShellPermission(() -> { in assertNumberOfActions() method
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DMultiWindowTests.java460 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.getTaskId())); in testDisallowUpdateWindowingModeWhenInLockedTask()
465 runWithShellPermission(() -> { in testDisallowUpdateWindowingModeWhenInLockedTask() method
476 runWithShellPermission(() -> { in testDisallowUpdateWindowingModeWhenInLockedTask() method
493 runWithShellPermission( in testDisallowReparentOperationWhenInLockedTask() method
502 runWithShellPermission( in testDisallowReparentOperationWhenInLockedTask() method
529 runWithShellPermission(() -> { in testDisallowReparentOperationWhenInLockedTask() method
592 runWithShellPermission(() -> { in testDisallowReOrderOperationWhenInLockedTask() method
600 runWithShellPermission(() -> { in testDisallowReOrderOperationWhenInLockedTask() method
620 runWithShellPermission(() -> { in testDisallowReOrderOperationWhenInLockedTask() method
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/
DMockA11yImeSession.java203 runWithShellPermission(uiAutomation, Manifest.permission.WRITE_SECURE_SETTINGS, () -> in create()
228 runWithShellPermission(uiAutomation, Manifest.permission.WRITE_SECURE_SETTINGS, () -> in create()
250 runWithShellPermission(uiAutomation, Manifest.permission.WRITE_SECURE_SETTINGS, () -> in create()
257 private static void runWithShellPermission(@NonNull UiAutomation uiAutomation, in runWithShellPermission() method
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java395 protected void runWithShellPermission(Runnable runnable) { in runWithShellPermission() method in ActivityManagerTestBase
591 runWithShellPermission( in launchTestActivityOnDisplaySync() method
612 runWithShellPermission( in launchTestActivityOnDisplay() method
705 runWithShellPermission(() -> { in setUp() method
867 runWithShellPermission(() -> mAtm.removeRootTasksWithActivityTypes(activityTypes)); in removeRootTasksWithActivityTypes()
872 runWithShellPermission(() -> mAtm.removeRootTasksInWindowingModes(windowingModes)); in removeRootTasksInWindowingModes()
877 runWithShellPermission(() -> mAtm.removeTask(taskId)); in removeRootTask()
1066 runWithShellPermission(() -> { in launchActivityInPrimarySplit() method
1075 runWithShellPermission(() -> { in launchActivityInSecondarySplit() method
1176 runWithShellPermission(() -> mAtm.moveTaskToRootTask(taskId, rootTaskId, true)); in moveActivityToRootTaskOrOnTop()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DStartActivityTests.java392 runWithShellPermission(() -> in testStartActivitiesTaskOverlayStayOnTop()
457 runWithShellPermission(() -> in verifyStartActivitiesTaskOverlayWithLaunchFlags()
DActivityVisibilityTests.java398 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(taskId)); in testLaunchTaskOnHomeInLockTaskMode()
407 runWithShellPermission(() -> mAtm.stopSystemLockTaskMode()); in testLaunchTaskOnHomeInLockTaskMode()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DTaskFragmentOrganizerPolicyTest.java973 runWithShellPermission( in testApplyHierarchyOpsInLockTaskMode() method
1012 runWithShellPermission( in testApplyHierarchyOpsInLockTaskMode() method
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DCompatChangeTests.java1912 runWithShellPermission(() -> { in CloseableDeviceConfig() method
1921 runWithShellPermission(() -> DeviceConfig.setProperty(mNamespace, mFlagName, in close()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DSplashscreenTests.java526 runWithShellPermission(() -> launcherApps.startShortcut(shortcut, null, null)); in testShortcutChangeTheme()