Home
last modified time | relevance | path

Searched refs:isCurrentUser (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfileModel.java61 if (isCurrentUser()) { in enterUser()
77 if (isCurrentUser()) { in exitUser()
98 public boolean isCurrentUser() { in isCurrentUser() method in RestrictedProfileModel
/packages/providers/MediaProvider/src/com/android/providers/media/
DMtpReceiver.java54 boolean isCurrentUser = UserHandle.myUserId() == ActivityManager.getCurrentUser(); in handleUsbState()
57 if (!isCurrentUser) in handleUsbState()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersPreferenceProvider.java122 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
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java190 if (mRestrictedProfile.isCurrentUser()) { in refresh()
419 return new RestrictedProfileModel(context).isCurrentUser(); in isRestrictedProfileInEffect()