Home
last modified time | relevance | path

Searched refs:SHELL_UID (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java115 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/
DRemoteProvisioningShellCommandTest.java139 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/
DAccessCheckDelegate.java297 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/
DAccessCheckDelegateHelper.java73 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/
DDomainVerificationEnforcer.java52 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/
DPrintManagerService.java23 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/
DMediaServerUtils.java69 if (uid == Process.ROOT_UID || uid == Process.SHELL_UID) { in enforcePackageName()
/frameworks/base/services/core/java/com/android/server/resources/
DResourcesManagerService.java67 if (callingUid != Process.ROOT_UID && callingUid != Process.SHELL_UID) {
/frameworks/base/services/core/java/com/android/server/slice/
DSliceShellCommand.java66 if (Binder.getCallingUid() != Process.SHELL_UID in runGetPermissions()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java476 || callingUid == Process.SHELL_UID) { in resolveCallingUserIdEnforcingPermissionsLocked()
514 || callingUid == Process.SHELL_UID in isCallerInteractingAcrossUsers()
536 if (Binder.getCallingUid() == Process.SHELL_UID) { in isRetrievalAllowingWindowLocked()
DAccessibilityShellCommand.java110 && callingUid != Process.SHELL_UID) { in runCallSystemAction()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java135 case Process.SHELL_UID: { in resolveCallingPackage()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtManagerService.java151 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/
DNetworkWatchlistService.java164 return callingUid == Process.SHELL_UID || callingUid == Process.ROOT_UID; in isCallerShell()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceBootTest.kt84 Process.SHELL_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java280 if (callingUid != android.os.Process.SHELL_UID in onShellCommand()
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java126 case android.os.Process.SHELL_UID: in checkUsageStatsPermission()
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionService.java362 if (callingUid != Process.SYSTEM_UID && callingUid != Process.SHELL_UID in enforceCallerPermissions()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayActorEnforcerTests.kt136 failure("shell") { callingUid = Process.SHELL_UID } in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java341 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/
DDevicePresenceProcessor.java29 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/
DUtils.java400 if (Binder.getCallingUid() == Process.SHELL_UID) { in checkPermissionOrShell()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java449 case Process.SHELL_UID: { in resolveCallingPackage()
/frameworks/base/services/contextualsearch/java/com/android/server/contextualsearch/
DContextualSearchManagerService.java389 if (!(Binder.getCallingUid() == Process.SHELL_UID in enforceOverridingPermission()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DFontManagerShellCommand.java82 if (callingUid != Process.ROOT_UID && callingUid != Process.SHELL_UID) { in onCommand()

123