/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 117 private static final int ROOT_UID = 0; field in ZygoteInit 261 if (reuid == ROOT_UID && regid == ROOT_GID) { in preloadClasses() 264 Os.setreuid(ROOT_UID, UNPRIVILEGED_UID); in preloadClasses() 336 Os.setreuid(ROOT_UID, ROOT_UID); in preloadClasses()
|
D | BatteryStatsHelper.java | 929 if (uid >= Process.ROOT_UID && uid < Process.FIRST_APPLICATION_UID) { in isTypeSystem()
|
/frameworks/base/core/java/android/net/metrics/ |
D | WakeupStats.java | 54 case Process.ROOT_UID: in countEvent()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 102 case android.os.Process.ROOT_UID: in checkUsageStatsPermission()
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 46 public static final int ROOT_UID = 0; field in Process
|
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 273 super(android.os.Process.ROOT_UID, 5, 300 * DateUtils.SECOND_IN_MILLIS); in BootThreshold()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 72 private static final int ROOT_UID = 0; field in LockdownVpnTracker
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 97 mInjectedCallingUid = Process.ROOT_UID; in testRoot()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 435 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in createSessionInternal() 736 if ((callingUid != Process.SHELL_UID) && (callingUid != Process.ROOT_UID)) { in uninstall() 808 if (callingUid == Process.ROOT_UID) { in isCallingUidOwner()
|
D | PackageInstallerSession.java | 332 final boolean isInstallerRoot = (mInstallerUid == Process.ROOT_UID); in needToAskForPermissionsLocked() 701 if (callingUid != Process.ROOT_UID && callingUid != mInstallerUid) { in assertCallerIsOwnerOrRootLocked()
|
D | UserManagerService.java | 1684 || callingUid == Process.ROOT_UID in hasManageUsersPermission() 1698 || callingUid == Process.ROOT_UID in hasManageOrCreateUsersPermission() 1716 if (!UserHandle.isSameApp(uid, Process.SYSTEM_UID) && uid != Process.ROOT_UID) { in checkSystemOrRoot()
|
D | PackageManagerService.java | 4148 || appId == Process.ROOT_UID) { in filterSharedLibPackageLPr() 4361 if (appId == Process.SYSTEM_UID || appId == Process.ROOT_UID in adjustPermissionProtectionFlagsLPr() 9751 if (uid != Process.SYSTEM_UID && uid != Process.ROOT_UID) { in enforceSystemOrRoot() 10330 callingUid != Process.ROOT_UID && in dumpProfiles() 14852 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in installPackageAsUser() 19441 && callingAppId != Process.ROOT_UID) { in resolveInternalPackageNameLPr() 19498 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID in isCallerAllowedToSilentlyUninstall() 25934 if (callingUid != uid && callingUid != Process.ROOT_UID in canRequestPackageInstallsInternal()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 173 when(mNormalBatterySipper.getUid()).thenReturn(Process.ROOT_UID); in testShouldHideSipper_TypeSystem_ReturnTrue()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 184 if (uid == android.os.Process.ROOT_UID || uid == android.os.Process.SYSTEM_UID in getProvider()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | Trampoline.java | 146 && caller != Process.ROOT_UID) { in setBackupServiceActive()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsService.java | 440 case Process.ROOT_UID: { in resolveCallingPackage()
|
D | SettingsProvider.java | 99 import static android.os.Process.ROOT_UID; 1553 if (appId == Process.SYSTEM_UID || appId == Process.ROOT_UID) { 1616 || appId == Process.ROOT_UID) { 1966 && (appId == SHELL_UID || appId == ROOT_UID));
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 461 case Process.ROOT_UID: { in resolveCallingPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | TrampolineTest.java | 190 TrampolineTestable.sCallingUid = Process.ROOT_UID; in setBackupServiceActive_callerRootUid_serviceCreated()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 180 Process.ROOT_UID, Process.SYSTEM_UID }; 1898 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 1027 (Process.myUid() == Process.ROOT_UID) ? "root" : "com.android.shell"); in runCreateUser()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 30 import static android.os.Process.ROOT_UID; 1684 if (callingUid != SHELL_UID && callingUid != ROOT_UID) { in enableSurfaceTrace() 1696 if (callingUid != SHELL_UID && callingUid != ROOT_UID && in disableSurfaceTrace()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3944 if (appId == Process.ROOT_UID || appId == Process.SYSTEM_UID) { in checkComponentPermission()
|
D | ContextImpl.java | 1687 if (appId == Process.ROOT_UID || appId == Process.SYSTEM_UID) { in checkPermission()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 3392 if (callingUid != Process.SHELL_UID && callingUid != Process.ROOT_UID) { in enforceShell() 7259 if (!(isCallerWithSystemUid() || callingUid == Process.ROOT_UID)) { in enforceManageUsers() 7275 if (!(isCallerWithSystemUid() || mInjector.binderGetCallingUid() == Process.ROOT_UID)) { in enforceSystemUserOrPermission() 10825 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isAdb()
|