Searched refs:isCurrentUser (Results 1 – 5 of 5) 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()
116 isCurrentUser(userInfo) ? R.string.signed_in_admin_user : R.string.user_admin); in createUserPreference()138 private boolean isCurrentUser(UserInfo userInfo) { in isCurrentUser() method in UsersPreferenceProvider
217 if (mRestrictedProfile.isCurrentUser()) { in refresh()394 return new RestrictedProfileModel(context).isCurrentUser(); in isRestrictedProfileInEffect()
291 boolean isCurrentUser = UserId.CURRENT_USER.equals(userId); in openRoot()292 if (isCurrentUser) { in openRoot()