/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 | 209 if (callingUid != android.os.Process.SHELL_UID in onShellCommand()
|
/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/net/watchlist/ |
D | NetworkWatchlistService.java | 164 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
|
/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; 1864 || appId == Process.SHELL_UID 2194 && (appId == SHELL_UID || appId == ROOT_UID)); 2272 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 | 481 if ((callingUid == Process.SHELL_UID) || (callingUid == Process.ROOT_UID)) { in createSessionInternal() 635 || callingUid == Process.SHELL_UID; in isDowngradeAllowedForCaller() 822 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/java/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 643 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; 1655 if (callingUid == Process.SHELL_UID && targetUserId >= UserHandle.USER_SYSTEM) { 1934 if (Binder.getCallingUid() == SHELL_UID) {
|
D | ActivityManagerService.java | 65 import static android.os.Process.SHELL_UID; 14645 if (callingUid == SHELL_UID in collectReceiverComponents() 15304 if (userId == UserHandle.USER_ALL && callingUid == SHELL_UID) { in broadcastIntentLocked() 15546 case SHELL_UID: in verifyBroadcastLocked() 15811 return callingUid == SHELL_UID || callingUid == ROOT_UID; in isCallerShell() 18458 if (uid == SHELL_UID || uid == ROOT_UID) { in getStorageMountMode() 18838 if (UserHandle.getCallingAppId() != Process.SHELL_UID in startDelegateShellPermissionIdentity() 18890 if (UserHandle.getCallingAppId() != Process.SHELL_UID in stopDelegateShellPermissionIdentity() 18925 return superImpl.apply(code, Process.SHELL_UID, in checkOperation() 18940 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 | 503 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 | 3704 || callingUid == Process.SHELL_UID) { in resolveCallingUserIdEnforcingPermissionsLocked() 3738 || callingUid == Process.SHELL_UID in isCallerInteractingAcrossUsers() 3748 if (Binder.getCallingUid() == Process.SHELL_UID) { in isRetrievalAllowingWindowLocked()
|