/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 70 private static final int ROOT_UID = 0; field in LockdownVpnTracker 202 mNetService.setFirewallUidRule(FIREWALL_CHAIN_NONE, ROOT_UID, FIREWALL_RULE_ALLOW); in handleStateChangedLocked() 292 … mNetService.setFirewallUidRule(FIREWALL_CHAIN_NONE, ROOT_UID, FIREWALL_RULE_DEFAULT); in clearSourceRulesLocked()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 188 private static final int ROOT_UID = 0; field in ZygoteInit 314 if (reuid == ROOT_UID && regid == ROOT_GID) { in preloadClasses() 317 Os.setreuid(ROOT_UID, UNPRIVILEGED_UID); in preloadClasses() 389 Os.setreuid(ROOT_UID, ROOT_UID); in preloadClasses()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 96 mInjectedCallingUid = Process.ROOT_UID; in testRoot()
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 307 case Process.ROOT_UID: { in resolveCallingPackage()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | Trampoline.java | 88 && caller != Process.ROOT_UID) { in setBackupServiceActive()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 586 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in createSessionInternal() 874 if ((callingUid != Process.SHELL_UID) && (callingUid != Process.ROOT_UID)) { in uninstall() 950 if (callingUid == Process.ROOT_UID) { in isCallingUidOwner()
|
D | UserManagerService.java | 1551 || callingUid == Process.ROOT_UID in hasManageUsersPermission() 1565 || callingUid == Process.ROOT_UID in hasManageOrCreateUsersPermission() 1583 if (!UserHandle.isSameApp(uid, Process.SYSTEM_UID) && uid != Process.ROOT_UID) { in checkSystemOrRoot()
|
D | PackageInstallerSession.java | 254 final boolean isInstallerRoot = (installerUid == Process.ROOT_UID); in PackageInstallerSession()
|
D | ShortcutService.java | 1400 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
|
D | PackageManagerService.java | 7394 callingUid != Process.ROOT_UID && in dumpProfiles() 11369 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in installPackageAsUser() 15970 if (callingUid != Process.SYSTEM_UID && callingUid != Process.ROOT_UID) { in setRequiredForSystemUser()
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 70 public static final int ROOT_UID = 0; field in Process
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 186 if (uid == android.os.Process.ROOT_UID || uid == android.os.Process.SYSTEM_UID) { in getProvider()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 432 case Process.ROOT_UID: { in resolveCallingPackage()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 1211 if (callingUid == Process.SYSTEM_UID || callingUid == Process.ROOT_UID) { in isGlobalOrSecureSettingRestrictedForUser() 1256 || callingUid == Process.ROOT_UID) { in enforceRestrictedSystemSettingsMutationForCallingPackage()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2986 if (callingUid != Process.SHELL_UID && callingUid != Process.ROOT_UID) { in enforceShell() 6036 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in setUserProvisioningState() 6234 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceCanSetProfileOwnerLocked() 6255 boolean isAdb = callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in enforceCanSetDeviceOwnerLocked() 6297 if (!(isCallerWithSystemUid() || callingUid == Process.ROOT_UID)) { in enforceManageUsers() 6320 if (!(isCallerWithSystemUid() || callingUid == Process.ROOT_UID)) { in enforceSystemUserOrPermission()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsService.java | 140 Process.ROOT_UID, Process.SYSTEM_UID};
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3321 if (appId == Process.ROOT_UID || appId == Process.SYSTEM_UID) { in checkComponentPermission()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 3669 if (uid != Process.ROOT_UID) { in setStayOnSetting()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 17920 case Process.ROOT_UID: in broadcastIntentLocked() 18858 if (uid == Process.ROOT_UID) { in enforceWriteSettingsPermission()
|