Lines Matching refs:userId
341 return r.userId == mCurrentUser
479 final int userId = UserHandle.getUserId(info.applicationInfo.uid);
484 if (task.userId != userId) {
490 if (r == null || r.finishing || r.userId != userId ||
536 final int userId = UserHandle.getUserId(info.applicationInfo.uid);
540 if (task.userId != mCurrentUser) {
546 if (!r.finishing && r.intent.getComponent().equals(cls) && r.userId == userId) {
561 final void switchUserLocked(int userId) {
562 if (mCurrentUser == userId) {
565 mCurrentUser = userId;
567 // Move userId's tasks to the top.
571 if (task.userId == userId) {
758 prev.userId, System.identityHashCode(prev),
823 r.userId, System.identityHashCode(r), r.shortComponentName,
1330 if (mService.mStartedUsers.get(next.userId) == null) {
1332 + ": user " + next.userId + " is stopped");
1456 next.packageName, false, next.userId); /* TODO: Verify if correct userid */
1590 next.userId, System.identityHashCode(next),
1679 if (task.userId != mCurrentUser) {
1682 if (mTaskHistory.get(stackNdx).userId != mCurrentUser) {
1720 r.userId, r.info.configChanges);
1781 (r.info.flags & ActivityInfo.FLAG_SHOW_ON_LOCK_SCREEN) != 0, r.userId,
1825 (r.info.flags & ActivityInfo.FLAG_SHOW_ON_LOCK_SCREEN) != 0, r.userId,
2410 r.userId, System.identityHashCode(r),
2597 destIntent.getComponent(), 0, srec.userId);
2783 r.userId, System.identityHashCode(r),
2958 r.userId, System.identityHashCode(r),
3075 EventLog.writeEvent(EventLogTags.AM_TASK_TO_FRONT, tr.userId, tr.taskId);
3179 r.userId, System.identityHashCode(r), task.taskId,
3320 : EventLogTags.AM_RELAUNCH_ACTIVITY, r.userId, System.identityHashCode(r),
3379 boolean forceStopPackageLocked(String name, boolean doit, boolean evenPersistent, int userId) {
3388 || (name == null && r.userId == userId);
3389 if ((userId == UserHandle.USER_ALL || r.userId == userId)