Lines Matching refs:targetUserId
975 void startUserInForeground(final int targetUserId) {
976 boolean success = startUser(targetUserId, /* foreground */ true);
1288 int targetUserId = unsafeConvertIncomingUserLocked(userId);
1309 allow = isSameProfileGroup(callingUserId, targetUserId);
1317 targetUserId = callingUserId;
1342 if (!allowAll && targetUserId < 0) {
1344 "Call does not support special user #" + targetUserId);
1347 if (callingUid == Process.SHELL_UID && targetUserId >= UserHandle.USER_SYSTEM) {
1348 if (hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES, targetUserId)) {
1350 + targetUserId + "\n " + Debug.getCallers(3));
1353 return targetUserId;
1531 int setTargetUserIdLocked(int targetUserId) {
1532 return mTargetUserId = targetUserId;
1566 boolean isSameProfileGroup(int callingUserId, int targetUserId) {
1567 if (callingUserId == targetUserId) {
1573 int targetProfile = mUserProfileGroupIdsSelfLocked.get(targetUserId,