Searched refs:SHELL_UID (Results 1 – 9 of 9) sorted by relevance
108 if (uid == Process.SHELL_UID) { in fromExternal()234 if ((uid == Process.SHELL_UID) && context.getSystemService(UserManager.class) in hasPermissionInternal()
185 if (callingAppId == android.os.Process.SHELL_UID in enforceShellRestrictions()
6304 if (uid != android.os.Process.SHELL_UID && isCallingPackageManager()) {
77 && caller != Process.SHELL_UID) { in checkDumpPermission()
519 if (callingUid != Process.SHELL_UID) {1518 if (Binder.getCallingUid() != Process.SHELL_UID1826 if (Binder.getCallingUid() != Process.SHELL_UID1843 if (Binder.getCallingUid() != Process.SHELL_UID2141 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceShellOnly()
42 constexpr uid_t SHELL_UID = 2000; variable47 return uid == SHELL_UID || uid == ROOT_UID; in shouldBypassMediaProvider()
66 case android.os.Process.SHELL_UID: in checkPermissionShell()
778 return Binder.getCallingUid() == Process.SHELL_UID in checkShellUid()
1408 || callingUid == Process.SHELL_UID || callingUid == Process.PHONE_UID) { in enforceCallerIsSystemOrRequestingPackage()