Home
last modified time | relevance | path

Searched refs:SHELL_UID (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java105 mInjectedCallingUid = Process.SHELL_UID; in testRestConfig()
114 mInjectedCallingUid = Process.SHELL_UID; in testOverrideConfig()
131 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling()
152 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_not_running()
183 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_running()
204 mInjectedCallingUid = Process.SHELL_UID; in testResetAllThrottling()
235 mInjectedCallingUid = Process.SHELL_UID; in testLauncherCommands()
275 mInjectedCallingUid = Process.SHELL_UID; in testUnloadUser()
315 mInjectedCallingUid = Process.SHELL_UID; in testClearShortcuts()
328 mInjectedCallingUid = Process.SHELL_UID; in testClearShortcuts()
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java104 case android.os.Process.SHELL_UID: in checkUsageStatsPermission()
/frameworks/base/core/java/android/os/
DProcess.java62 public static final int SHELL_UID = 2000; field in Process
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java444 case Process.SHELL_UID: { in resolveCallingPackage()
DSettingsProvider.java103 import static android.os.Process.SHELL_UID;
1618 || appId == Process.SHELL_UID
1969 && (appId == SHELL_UID || appId == ROOT_UID));
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java465 case Process.SHELL_UID: { in resolveCallingPackage()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java609 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in createSessionInternal()
898 if ((callingUid != Process.SHELL_UID) && (callingUid != Process.ROOT_UID)) { in uninstall()
DShortcutService.java1462 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java892 || callingUid == Process.SHELL_UID) { in resolveCallingAppEnforcingPermissions()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java649 if (Binder.getCallingUid() == Process.SHELL_UID) { in enforceStatusBarOrShell()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1347 if (callingUid == Process.SHELL_UID && targetUserId >= UserHandle.USER_SYSTEM) {
DActivityManagerService.java65 import static android.os.Process.SHELL_UID;
4162 if (Binder.getCallingUid() == SHELL_UID) { in enforceShellRestriction()
18817 if (callingUid == SHELL_UID
19434 if (userId == UserHandle.USER_ALL && callingUid == SHELL_UID) {
19677 case SHELL_UID:
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java29 import static android.os.Process.SHELL_UID;
1644 if (callingUid != SHELL_UID && callingUid != ROOT_UID) { in enableSurfaceTrace()
1656 if (callingUid != SHELL_UID && callingUid != ROOT_UID && in disableSurfaceTrace()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java4796 || callingUid == Process.SHELL_UID) { in resolveCallingUserIdEnforcingPermissionsLocked()
4830 || callingUid == Process.SHELL_UID in isCallerInteractingAcrossUsers()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java1731 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
DAppOpsService.java2467 } else if (uid == Process.SHELL_UID) { in resolvePackageName()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3398 if (callingUid != Process.SHELL_UID && callingUid != Process.ROOT_UID) { in enforceShell()
6277 .grantUriPermissionFromIntent(Process.SHELL_UID, in shareBugreportWithDeviceOwnerIfExists()
10748 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isAdb()