Home
last modified time | relevance | path

Searched refs:isCurrentUser (Results 1 – 5 of 5) 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/services/Mtp/src/com/android/mtp/
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.java116 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
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java217 if (mRestrictedProfile.isCurrentUser()) { in refresh()
394 return new RestrictedProfileModel(context).isCurrentUser(); in isRestrictedProfileInEffect()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java291 boolean isCurrentUser = UserId.CURRENT_USER.equals(userId); in openRoot()
292 if (isCurrentUser) { in openRoot()