Searched refs:isCurrentUser (Results 1 – 4 of 4) sorted by relevance
61 if (isCurrentUser()) { in enterUser()77 if (isCurrentUser()) { in exitUser()98 public boolean isCurrentUser() { in isCurrentUser() method in RestrictedProfileModel
54 boolean isCurrentUser = UserHandle.myUserId() == ActivityManager.getCurrentUser(); in handleUsbState()57 if (!isCurrentUser) in handleUsbState()
122 isCurrentUser(userInfo) ? R.string.signed_in_admin_user : R.string.user_admin); in createUserPreference()144 private boolean isCurrentUser(UserInfo userInfo) { in isCurrentUser() method in UsersPreferenceProvider
190 if (mRestrictedProfile.isCurrentUser()) { in refresh()419 return new RestrictedProfileModel(context).isCurrentUser(); in isRestrictedProfileInEffect()