Home
last modified time | relevance | path

Searched refs:currentUserInfo (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusbar/
DUserNameViewController.java164 UserInfo currentUserInfo = mUserManager.getUserInfo(userId); in updateUser() local
168 mUserNameViews.get(i).setText(currentUserInfo.name); in updateUser()
172 if (mLastUserName == null || !mLastUserName.equals(currentUserInfo.name)) { in updateUser()
173 mLastUserName = currentUserInfo.name; in updateUser()
174 mUserIconProvider.setRoundedUserIcon(currentUserInfo, mContext); in updateUser()
178 updateUserIcon(mUserIconViews.get(i), currentUserInfo); in updateUser() local
182 private void updateUserIcon(ImageView userIconView, UserInfo currentUserInfo) { in updateUserIcon() argument
183 Drawable circleIcon = mUserIconProvider.getRoundedUserIcon(currentUserInfo, mContext); in updateUserIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinStorage.java54 UserInfo currentUserInfo = um.getUserInfo(context.getUserId()); in newInstance() local
56 final int ownerUserId = findRestrictedProfileParent(currentUserInfo); in newInstance()
207 private static int findRestrictedProfileParent(UserInfo currentUserInfo) { in findRestrictedProfileParent() argument
210 if (!currentUserInfo.isRestricted()) { in findRestrictedProfileParent()
211 ownerUserId = currentUserInfo.id; in findRestrictedProfileParent()
212 } else if (currentUserInfo.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in findRestrictedProfileParent()
215 ownerUserId = currentUserInfo.restrictedProfileParentId; in findRestrictedProfileParent()