/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 115 mInjectedCallingUid = Process.SHELL_UID; in testRestConfig() 124 mInjectedCallingUid = Process.SHELL_UID; in testOverrideConfig() 141 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling() 162 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_not_running() 193 mInjectedCallingUid = Process.SHELL_UID; in testResetThrottling_user_running() 214 mInjectedCallingUid = Process.SHELL_UID; in testResetAllThrottling() 245 mInjectedCallingUid = Process.SHELL_UID; in testLauncherCommands() 273 mInjectedCallingUid = Process.SHELL_UID; in testUnloadUser() 313 mInjectedCallingUid = Process.SHELL_UID; in testClearShortcuts() 326 mInjectedCallingUid = Process.SHELL_UID; in testClearShortcuts() [all …]
|
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/ |
D | RemoteProvisioningShellCommandTest.java | 139 mContext, Process.SHELL_UID, injector); in list_zeroInstances() 152 mContext, Process.SHELL_UID, injector); in list_oneInstances() 166 mContext, Process.SHELL_UID, injector); in list_twoInstances() 190 mContext, Process.SHELL_UID, injector); in csr_hwVersion1_withChallenge() 223 mContext, Process.SHELL_UID, injector); in csr_hwVersion2_withChallenge() 251 mContext, Process.SHELL_UID, injector); in csr_hwVersion3_withoutChallenge() 271 mContext, Process.SHELL_UID, injector); in csr_hwVersion3_withChallenge() 316 mContext, Process.SHELL_UID, injector); in certify_sameOrderAsReceived() 350 mContext, Process.SHELL_UID, injector); in certify_noBlankLineBeforeTrailer()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | AccessCheckDelegate.java | 297 if (uid == mDelegateAndOwnerUid && uid != Process.SHELL_UID) { in checkUidPermission() 301 return checkUidPermission(Process.SHELL_UID, permissionName, in checkUidPermission() 324 Process.SHELL_UID); in checkOperation() 340 Process.SHELL_UID); in checkAudioOperation() 359 Process.SHELL_UID); in noteOperation() 380 UserHandle.getUserId(attributionSource.getUid()), Process.SHELL_UID); in noteProxyOperation() 408 Process.SHELL_UID); in startOperation() 435 attributionSource.getUid()), Process.SHELL_UID); in startProxyOperation() 462 attributionSource.getUid()), Process.SHELL_UID); in finishProxyOperation() 485 UserHandle.getUid(UserHandle.getUserId(uid), Process.SHELL_UID); in finishOperation()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AccessCheckDelegateHelper.java | 73 if (UserHandle.getCallingAppId() != Process.SHELL_UID in startDelegateShellPermissionIdentity() 107 if (UserHandle.getCallingAppId() != Process.SHELL_UID in stopDelegateShellPermissionIdentity() 130 if (UserHandle.getCallingAppId() != Process.SHELL_UID in getDelegatedShellPermissions()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationEnforcer.java | 52 case Process.SHELL_UID: in assertInternal() 68 case Process.SHELL_UID: in assertApprovedQuerent() 96 case Process.SHELL_UID: in assertApprovedVerifier()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 23 import static android.os.Process.SHELL_UID; 799 if (callingUid != SHELL_UID && callingUid != ROOT_UID) { in getBindInstantServiceAllowed() 800 throw new SecurityException("Can only be called by uid " + SHELL_UID in getBindInstantServiceAllowed() 819 if (callingUid != SHELL_UID && callingUid != ROOT_UID) { in setBindInstantServiceAllowed() 820 throw new SecurityException("Can only be called by uid " + SHELL_UID in setBindInstantServiceAllowed() 1116 if (appId == callingAppId || callingAppId == SHELL_UID in resolveCallingAppEnforcingPermissions()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaServerUtils.java | 69 if (uid == Process.ROOT_UID || uid == Process.SHELL_UID) { in enforcePackageName()
|
/frameworks/base/services/core/java/com/android/server/resources/ |
D | ResourcesManagerService.java | 67 if (callingUid != Process.ROOT_UID && callingUid != Process.SHELL_UID) {
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceShellCommand.java | 66 if (Binder.getCallingUid() != Process.SHELL_UID in runGetPermissions()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicy.java | 476 || callingUid == Process.SHELL_UID) { in resolveCallingUserIdEnforcingPermissionsLocked() 514 || callingUid == Process.SHELL_UID in isCallerInteractingAcrossUsers() 536 if (Binder.getCallingUid() == Process.SHELL_UID) { in isRetrievalAllowingWindowLocked()
|
D | AccessibilityShellCommand.java | 110 && callingUid != Process.SHELL_UID) { in runCallSystemAction()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 135 case Process.SHELL_UID: { in resolveCallingPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 151 if (callingUid != Process.SHELL_UID) { in checkShellPermissions() 279 … if (callingUid != Process.SHELL_UID && !checkAndroidPermissions(callingUid, callingPackage)) { in isRuntimeProfilingEnabled()
|
/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/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageManagerServiceBootTest.kt | 84 Process.SHELL_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerService.java | 280 if (callingUid != android.os.Process.SHELL_UID in onShellCommand()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 126 case android.os.Process.SHELL_UID: in checkUsageStatsPermission()
|
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/ |
D | GrammaticalInflectionService.java | 362 if (callingUid != Process.SYSTEM_UID && callingUid != Process.SHELL_UID in enforceCallerPermissions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayActorEnforcerTests.kt | 136 failure("shell") { callingUid = Process.SHELL_UID } in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 341 if (callingUid == Process.SHELL_UID) { in enforceShellRestriction() 1298 return uid == Process.SYSTEM_UID || uid == Process.ROOT_UID || uid == Process.SHELL_UID; in isSystemOrRootOrShell() 1328 return uid == Process.ROOT_UID || uid == Process.SHELL_UID; in isRootOrShell()
|
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/ |
D | DevicePresenceProcessor.java | 29 import static android.os.Process.SHELL_UID; 958 if (callingUid == SHELL_UID || callingUid == ROOT_UID) return; in enforceCallerShellOrRoot()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | Utils.java | 400 if (Binder.getCallingUid() == Process.SHELL_UID) { in checkPermissionOrShell()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsService.java | 449 case Process.SHELL_UID: { in resolveCallingPackage()
|
/frameworks/base/services/contextualsearch/java/com/android/server/contextualsearch/ |
D | ContextualSearchManagerService.java | 389 if (!(Binder.getCallingUid() == Process.SHELL_UID in enforceOverridingPermission()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerShellCommand.java | 82 if (callingUid != Process.ROOT_UID && callingUid != Process.SHELL_UID) { in onCommand()
|