Home | History | Annotate | Download | only in statusbar

Lines Matching refs:userId

79             final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
87 if (userId != mCurrentUserId && isCurrentProfile(userId)) {
101 Log.v(TAG, "userId " + mCurrentUserId + " is in the house");
261 public boolean isCurrentProfile(int userId) {
263 return userId == UserHandle.USER_ALL || mCurrentProfiles.get(userId) != null;
271 private boolean shouldTemporarilyHideNotifications(int userId) {
272 if (userId == UserHandle.USER_ALL) {
273 userId = mCurrentUserId;
275 return KeyguardUpdateMonitor.getInstance(mContext).isUserInLockdown(userId);
282 public boolean shouldHideNotifications(int userId) {
283 return isLockscreenPublicMode(userId) && !userAllowsNotificationsInPublic(userId)
284 || (userId != mCurrentUserId && shouldHideNotifications(mCurrentUserId))
285 || shouldTemporarilyHideNotifications(userId);
380 public void setLockscreenPublicMode(boolean publicMode, int userId) {
381 mLockscreenPublicMode.put(userId, publicMode);
384 public boolean isLockscreenPublicMode(int userId) {
385 if (userId == UserHandle.USER_ALL) {
388 return mLockscreenPublicMode.get(userId, false);
416 int userId = ent.notification.getUserId();
419 boolean notiUserWantsRedaction = !userAllowsPrivateNotificationsInPublic(userId);
485 final int userId = mCurrentProfiles.valueAt(i).id;
486 pw.print("" + userId + " ");