Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java120 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/
DWakeupStats.java65 case Process.ROOT_UID: in countEvent()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java22 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/
DSliceShellCommand.java67 && Binder.getCallingUid() != Process.ROOT_UID) { in runGetPermissions()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java311 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/
DContentSuggestionsManagerService.java209 && callingUid != android.os.Process.ROOT_UID) { in onShellCommand()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DNetworkWatchlistService.java164 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java118 case android.os.Process.ROOT_UID: in checkUsageStatsPermission()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java487 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()
DPackageInstallerSession.java395 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/
DDeviceConfigService.java283 case Process.ROOT_UID: { in resolveCallingPackage()
DSettingsService.java434 case Process.ROOT_UID: { in resolveCallingPackage()
/frameworks/base/telephony/common/android/telephony/
DLocationAccessPolicy.java258 || query.callingUid == Process.ROOT_UID) { in checkLocationPermission()
/frameworks/base/core/java/android/os/
DProcess.java43 public static final int ROOT_UID = 0; field in Process
DUserHandle.java117 public static final int AID_ROOT = android.os.Process.ROOT_UID;
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java328 super(android.os.Process.ROOT_UID, TRIGGER_COUNT, BOOT_TRIGGER_WINDOW_MILLIS); in BootThreshold()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java97 mInjectedCallingUid = Process.ROOT_UID; in testRoot()
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/
DTelecom.java426 return Process.ROOT_UID == Process.myUid(); in callerIsRoot()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java233 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/
DBatteryStatsHelperTest.java174 when(mNormalBatterySipper.getUid()).thenReturn(Process.ROOT_UID); in testShouldHideSipper_TypeSystem_ReturnTrue()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java283 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/
DContent.java484 case Process.ROOT_UID: { in resolveCallingPackage()
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java308 if (caller != Process.SYSTEM_UID && caller != Process.ROOT_UID) { in enforcePermissionsOnUser()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java30 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/
DContentService.java1304 case Process.ROOT_UID: in validateExtras()
1640 if (callingUid != Process.SHELL_UID && callingUid != Process.ROOT_UID) { in enforceShell()

12