Searched refs:SHELL_UID (Results 1 – 8 of 8) sorted by relevance
107 if (uid == Process.SHELL_UID) { in fromExternal()231 if ((uid == Process.SHELL_UID) && context.getSystemService(UserManager.class) in hasPermissionInternal()
185 if (callingAppId == android.os.Process.SHELL_UID in enforceShellRestrictions()
502 if (callingUid != Process.SHELL_UID) {1501 if (Binder.getCallingUid() != Process.SHELL_UID1809 if (Binder.getCallingUid() != Process.SHELL_UID1826 if (Binder.getCallingUid() != Process.SHELL_UID2124 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceShellOnly()
77 && caller != Process.SHELL_UID) { in checkDumpPermission()
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()
741 return Binder.getCallingUid() == Process.SHELL_UID in checkShellUid()
1204 || callingUid == Process.SHELL_UID || callingUid == Process.PHONE_UID) { in enforceCallerIsSystemOrRequestingPackage()