Home
last modified time | relevance | path

Searched refs:callerUserId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java130 final int callerUserId = mInjector.getCallingUserId(); in startActivityAsUser() local
135 callingPackage, callerUserId); in startActivityAsUser()
165 if (callerUserId != userId) { in startActivityAsUser()
172 if (!isSameProfileGroup(callerUserId, userId)) { in startActivityAsUser()
213 final int callerUserId = mInjector.getCallingUserId(); in startActivityAsUserByIntent() local
217 callingPackage, callerUserId); in startActivityAsUserByIntent()
218 if (callerUserId != userId && !allowedTargetUsers.contains(UserHandle.of(userId))) { in startActivityAsUserByIntent()
231 if (callerUserId != userId) { in startActivityAsUserByIntent()
736 private boolean isSameProfileGroup(@UserIdInt int callerUserId, @UserIdInt int userId) {
738 mInjector.getUserManager().isSameProfileGroup(callerUserId, userId));
DComputer.java241 boolean isSameProfileGroup(@UserIdInt int callerUserId, @UserIdInt int userId); in isSameProfileGroup() argument
DComputerEngine.java2493 public final boolean isSameProfileGroup(@UserIdInt int callerUserId, in isSameProfileGroup() argument
2497 return UserManagerService.getInstance().isSameProfileGroup(callerUserId, userId); in isSameProfileGroup()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java932 int callerUserId = UserHandle.getCallingUserId(); in addOnSubscriptionsChangedListener() local
936 + " myUserId=" + UserHandle.myUserId() + " callerUserId=" + callerUserId in addOnSubscriptionsChangedListener()
988 int callerUserId = UserHandle.getCallingUserId(); in addOnOpportunisticSubscriptionsChangedListener() local
992 + " myUserId=" + UserHandle.myUserId() + " callerUserId=" + callerUserId in addOnOpportunisticSubscriptionsChangedListener()
1108 int callerUserId = UserHandle.getCallingUserId(); in listen() local
1113 + " callerUserId=" + callerUserId; in listen()
3168 int callerUserId = UserHandle.getCallingUserId(); in addCarrierPrivilegesCallback() local
3177 + " myUserId=" + UserHandle.myUserId() + " callerUserId=" + callerUserId in addCarrierPrivilegesCallback()
3317 final int callerUserId = UserHandle.getCallingUserId(); in addCarrierConfigChangeListener() local
3321 + " myUserId=" + UserHandle.myUserId() + " callerUerId" + callerUserId in addCarrierConfigChangeListener()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java971 int callerUserId = UserHandle.getUserId(callerUid); in enforceCrossUserPermissions() local
973 if (targetUser.getIdentifier() != callerUserId) { in enforceCrossUserPermissions()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8814 int callerUserId = Binder.getCallingUserHandle().getIdentifier();
8815 int targetUserId = parent ? getProfileParentId(callerUserId) : callerUserId;
8837 callerUserId);
8842 callerUserId);
11598 final int callerUserId = caller.getUserId();
11612 RoleManager.ROLE_DIALER, packageName, 0, UserHandle.of(callerUserId),
11629 if (isManagedProfile(callerUserId)) {
11634 final ActiveAdmin admin = getProfileOwnerOrDeviceOwnerLocked(callerUserId);
11637 saveSettingsLocked(callerUserId);