Home
last modified time | relevance | path

Searched refs:ROOT_UID (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java70 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/
DZygoteInit.java188 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/
DShortcutManagerTest7.java96 mInjectedCallingUid = Process.ROOT_UID; in testRoot()
/frameworks/base/cmds/settings/src/com/android/commands/settings/
DSettingsCmd.java307 case Process.ROOT_UID: { in resolveCallingPackage()
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java88 && caller != Process.ROOT_UID) { in setBackupServiceActive()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java586 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()
DUserManagerService.java1551 || 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()
DPackageInstallerSession.java254 final boolean isInstallerRoot = (installerUid == Process.ROOT_UID); in PackageInstallerSession()
DShortcutService.java1400 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
DPackageManagerService.java7394 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/
DProcess.java70 public static final int ROOT_UID = 0; field in Process
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java186 if (uid == android.os.Process.ROOT_UID || uid == android.os.Process.SYSTEM_UID) { in getProvider()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java432 case Process.ROOT_UID: { in resolveCallingPackage()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1211 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/
DDevicePolicyManagerService.java2986 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/
DLockSettingsService.java140 Process.ROOT_UID, Process.SYSTEM_UID};
/frameworks/base/core/java/android/app/
DActivityManager.java3321 if (appId == Process.ROOT_UID || appId == Process.SYSTEM_UID) { in checkComponentPermission()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3669 if (uid != Process.ROOT_UID) { in setStayOnSetting()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java17920 case Process.ROOT_UID: in broadcastIntentLocked()
18858 if (uid == Process.ROOT_UID) { in enforceWriteSettingsPermission()