Home
last modified time | relevance | path

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

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/users/
DRestrictedProfileModel.java40 private final UserInfo mCurrentUserInfo; field in RestrictedProfileModel
52 mCurrentUserInfo = mUserManager.getUserInfo(mContext.getUserId()); in RestrictedProfileModel()
95 return mCurrentUserInfo.isRestricted(); in isCurrentUser()
103 if (mCurrentUserInfo.isRestricted()) { in getUser()
104 return mCurrentUserInfo; in getUser()
118 if (!mCurrentUserInfo.isRestricted()) { in getOwnerUserId()
119 return mCurrentUserInfo.id; in getOwnerUserId()
120 } else if (mCurrentUserInfo.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in getOwnerUserId()
123 return mCurrentUserInfo.restrictedProfileParentId; in getOwnerUserId()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfileModel.java40 private final UserInfo mCurrentUserInfo; field in RestrictedProfileModel
52 mCurrentUserInfo = mUserManager.getUserInfo(mContext.getUserId()); in RestrictedProfileModel()
95 return mCurrentUserInfo.isRestricted(); in isCurrentUser()
103 if (mCurrentUserInfo.isRestricted()) { in getUser()
104 return mCurrentUserInfo; in getUser()
118 if (!mCurrentUserInfo.isRestricted()) { in getOwnerUserId()
119 return mCurrentUserInfo.id; in getOwnerUserId()
120 } else if (mCurrentUserInfo.restrictedProfileParentId == UserInfo.NO_PROFILE_GROUP_ID) { in getOwnerUserId()
123 return mCurrentUserInfo.restrictedProfileParentId; in getOwnerUserId()