/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 106 mInjectedCallingUid = Process.SHELL_UID; in testRestConfig() 115 mInjectedCallingUid = Process.SHELL_UID; in testOverrideConfig() 132 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling() 153 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_not_running() 184 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_running() 205 mInjectedCallingUid = Process.SHELL_UID; in testResetAllThrottling() 236 mInjectedCallingUid = Process.SHELL_UID; in testLauncherCommands() 276 mInjectedCallingUid = Process.SHELL_UID; in testUnloadUser() 316 mInjectedCallingUid = Process.SHELL_UID; in testClearShortcuts() 329 mInjectedCallingUid = Process.SHELL_UID; in testClearShortcuts()
|
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 41 public static final String SHELL_UID = "2000"; // Use shell, even if rooted. field in Utils 93 useShellUid ? SHELL_UID : "", in getReportList() 104 + (useShellUid ? ("uid=" + SHELL_UID + ", ") : "") in getReportList()
|
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/ |
D | LocalDrive.java | 176 Utils.SHELL_UID, String.valueOf(configId)); in updateConfig() 212 Utils.CMD_UPDATE_CONFIG, Utils.SHELL_UID, String.valueOf(configId)); in updateConfig() 313 Utils.SHELL_UID, String.valueOf(configId)); in cmdRemove()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 23 import static android.os.Process.SHELL_UID; 737 if (callingUid != SHELL_UID && callingUid != ROOT_UID) { in getBindInstantServiceAllowed() 738 throw new SecurityException("Can only be called by uid " + SHELL_UID in getBindInstantServiceAllowed() 757 if (callingUid != SHELL_UID && callingUid != ROOT_UID) { in setBindInstantServiceAllowed() 758 throw new SecurityException("Can only be called by uid " + SHELL_UID in setBindInstantServiceAllowed() 1045 if (appId == callingAppId || callingAppId == SHELL_UID in resolveCallingAppEnforcingPermissions()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceShellCommand.java | 66 if (Binder.getCallingUid() != Process.SHELL_UID in runGetPermissions()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerService.java | 208 if (callingUid != android.os.Process.SHELL_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 | 120 case android.os.Process.SHELL_UID: in checkUsageStatsPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 142 if (callingUid != Process.SHELL_UID) { in checkShellPermissions() 312 … if (callingUid != Process.SHELL_UID && !checkAndroidPermissions(callingUid, callingPackage)) { in isRuntimeProfilingEnabled()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DeviceConfigService.java | 287 case Process.SHELL_UID: { in resolveCallingPackage()
|
D | SettingsService.java | 438 case Process.SHELL_UID: { in resolveCallingPackage()
|
D | SettingsProvider.java | 21 import static android.os.Process.SHELL_UID; 1872 || appId == Process.SHELL_UID 2202 && (appId == SHELL_UID || appId == ROOT_UID)); 2280 case Process.SHELL_UID: {
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 58 public static final int SHELL_UID = 2000; field in Process
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 487 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in createSessionInternal() 641 || callingUid == Process.SHELL_UID; in isDowngradeAllowedForCaller() 823 if ((callingUid != Process.SHELL_UID) && (callingUid != Process.ROOT_UID)) { in uninstall()
|
D | PackageManagerServiceUtils.java | 378 if (callingUid == Process.SHELL_UID) { in enforceShellRestriction()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 684 if (callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID) { in enforceShellOnly()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 488 case Process.SHELL_UID: { in resolveCallingPackage()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 28 import static android.os.Process.SHELL_UID; 1700 if (callingUid == Process.SHELL_UID && targetUserId >= UserHandle.USER_SYSTEM) { 1979 if (Binder.getCallingUid() == SHELL_UID) {
|
D | ActivityManagerService.java | 66 import static android.os.Process.SHELL_UID; 14729 if (callingUid == SHELL_UID in collectReceiverComponents() 15393 if (userId == UserHandle.USER_ALL && callingUid == SHELL_UID) { in broadcastIntentLocked() 15635 case SHELL_UID: in verifyBroadcastLocked() 15904 return callingUid == SHELL_UID || callingUid == ROOT_UID; in isCallerShell() 18566 if (uid == SHELL_UID || uid == ROOT_UID) { in getStorageMountMode() 18951 if (UserHandle.getCallingAppId() != Process.SHELL_UID in startDelegateShellPermissionIdentity() 19003 if (UserHandle.getCallingAppId() != Process.SHELL_UID in stopDelegateShellPermissionIdentity() 19038 return superImpl.apply(code, Process.SHELL_UID, in checkOperation() 19053 return superImpl.apply(code, usage, Process.SHELL_UID, in checkAudioOperation() [all …]
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 123 if (UserHandle.getCallingAppId() == android.os.Process.SHELL_UID in enforceShellRestrictions()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1305 case Process.SHELL_UID: in validateExtras() 1640 if (callingUid != Process.SHELL_UID && callingUid != Process.ROOT_UID) { in enforceShell()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 507 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID;
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 1234 final boolean shellCaller = callingUid == 0 || callingUid == Process.SHELL_UID; in setAppStandbyBucket() 1299 final boolean shellCaller = callingUid == 0 || callingUid == Process.SHELL_UID; in setAppStandbyBuckets()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 1007 if (Binder.getCallingUid() == Process.SHELL_UID) { in enforceStatusBarOrShell()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 3706 || callingUid == Process.SHELL_UID) { in resolveCallingUserIdEnforcingPermissionsLocked() 3740 || callingUid == Process.SHELL_UID in isCallerInteractingAcrossUsers() 3750 if (Binder.getCallingUid() == Process.SHELL_UID) { in isRetrievalAllowingWindowLocked()
|