Searched refs:SHELL_UID (Results 1 – 17 of 17) sorted by relevance
105 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()
104 case android.os.Process.SHELL_UID: in checkUsageStatsPermission()
62 public static final int SHELL_UID = 2000; field in Process
444 case Process.SHELL_UID: { in resolveCallingPackage()
103 import static android.os.Process.SHELL_UID;1618 || appId == Process.SHELL_UID1969 && (appId == SHELL_UID || appId == ROOT_UID));
465 case Process.SHELL_UID: { in resolveCallingPackage()
609 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in createSessionInternal()898 if ((callingUid != Process.SHELL_UID) && (callingUid != Process.ROOT_UID)) { in uninstall()
1462 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
892 || callingUid == Process.SHELL_UID) { in resolveCallingAppEnforcingPermissions()
649 if (Binder.getCallingUid() == Process.SHELL_UID) { in enforceStatusBarOrShell()
1347 if (callingUid == Process.SHELL_UID && targetUserId >= UserHandle.USER_SYSTEM) {
65 import static android.os.Process.SHELL_UID;4162 if (Binder.getCallingUid() == SHELL_UID) { in enforceShellRestriction()18817 if (callingUid == SHELL_UID19434 if (userId == UserHandle.USER_ALL && callingUid == SHELL_UID) {19677 case SHELL_UID:
29 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()
4796 || callingUid == Process.SHELL_UID) { in resolveCallingUserIdEnforcingPermissionsLocked()4830 || callingUid == Process.SHELL_UID in isCallerInteractingAcrossUsers()
1731 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
2467 } else if (uid == Process.SHELL_UID) { in resolvePackageName()
3398 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()