/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 120 private static final int ROOT_UID = 0; field in ZygoteInit 262 if (reuid == ROOT_UID && regid == ROOT_GID) { in preloadClasses() 265 Os.setreuid(ROOT_UID, UNPRIVILEGED_UID); in preloadClasses() 343 Os.setreuid(ROOT_UID, ROOT_UID); in preloadClasses()
|
/frameworks/base/core/java/android/net/metrics/ |
D | WakeupStats.java | 65 case Process.ROOT_UID: in countEvent()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 22 import static android.os.Process.ROOT_UID; 737 if (callingUid != SHELL_UID && callingUid != ROOT_UID) { in getBindInstantServiceAllowed() 739 + " or " + ROOT_UID); in getBindInstantServiceAllowed() 757 if (callingUid != SHELL_UID && callingUid != ROOT_UID) { in setBindInstantServiceAllowed() 759 + " or " + ROOT_UID); in setBindInstantServiceAllowed()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceShellCommand.java | 67 && Binder.getCallingUid() != Process.ROOT_UID) { in runGetPermissions()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 311 if (appId == Process.SYSTEM_UID || appId == Process.ROOT_UID) { in checkPrivilegedReadPermissionOrCarrierPrivilegePermission() 684 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceShellOnly()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerService.java | 209 && callingUid != android.os.Process.ROOT_UID) { in onShellCommand()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | NetworkWatchlistService.java | 164 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 118 case android.os.Process.ROOT_UID: in checkUsageStatsPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 487 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in createSessionInternal() 640 return callingUid == Process.SYSTEM_UID || callingUid == Process.ROOT_UID in isDowngradeAllowedForCaller() 823 if ((callingUid != Process.SHELL_UID) && (callingUid != Process.ROOT_UID)) { in uninstall() 929 if (callingUid == Process.ROOT_UID) { in isCallingUidOwner()
|
D | PackageInstallerSession.java | 395 final boolean isInstallerRoot = (mInstallerUid == Process.ROOT_UID); in needToAskForPermissionsLocked() 731 case android.os.Process.ROOT_UID: in doWriteInternal() 816 if (callingUid != Process.ROOT_UID && callingUid != mInstallerUid) { in assertCallerIsOwnerOrRootLocked()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DeviceConfigService.java | 283 case Process.ROOT_UID: { in resolveCallingPackage()
|
D | SettingsService.java | 434 case Process.ROOT_UID: { in resolveCallingPackage()
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 258 || query.callingUid == Process.ROOT_UID) { in checkLocationPermission()
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 43 public static final int ROOT_UID = 0; field in Process
|
D | UserHandle.java | 117 public static final int AID_ROOT = android.os.Process.ROOT_UID;
|
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 328 super(android.os.Process.ROOT_UID, TRIGGER_COUNT, BOOT_TRIGGER_WINDOW_MILLIS); in BootThreshold()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 97 mInjectedCallingUid = Process.ROOT_UID; in testRoot()
|
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/ |
D | Telecom.java | 426 return Process.ROOT_UID == Process.myUid(); in callerIsRoot()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 233 if (uid == android.os.Process.ROOT_UID || uid == android.os.Process.SYSTEM_UID in getProvider()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 174 when(mNormalBatterySipper.getUid()).thenReturn(Process.ROOT_UID); in testShouldHideSipper_TypeSystem_ReturnTrue()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | TrampolineTest.java | 283 TrampolineTestable.sCallingUid = Process.ROOT_UID; in setBackupServiceActive_forSystemUserAndCallerRootUid_serviceCreated() 317 TrampolineTestable.sCallingUid = Process.ROOT_UID; in setBackupServiceActive_forManagedProfileAndCallerRootUid_serviceCreated()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 484 case Process.ROOT_UID: { in resolveCallingPackage()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | Trampoline.java | 308 if (caller != Process.SYSTEM_UID && caller != Process.ROOT_UID) { in enforcePermissionsOnUser()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerService.java | 30 import static android.os.Process.ROOT_UID; 1034 if ((callingAppId == SYSTEM_UID) || (callingAppId == ROOT_UID)) { in checkGrantUriPermission()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1304 case Process.ROOT_UID: in validateExtras() 1640 if (callingUid != Process.SHELL_UID && callingUid != Process.ROOT_UID) { in enforceShell()
|