Home | History | Annotate | Download | only in accounts

Lines Matching full:userinfo

34 import android.content.pm.UserInfo;
116 * The {@link UserInfo} of the profile.
118 public UserInfo userInfo;
157 final UserHandle managedProfile = mProfiles.valueAt(1).userInfo.getUserHandle();
209 intent.putExtra(EXTRA_USER, profileData.userInfo.getUserHandle());
215 final int userId = profileData.userInfo.id;
244 UserInfo userInfo = mUm.getUserInfo(UserHandle.myUserId());
245 updateProfileUi(userInfo, false /* no category needed */, preferenceScreen);
247 List<UserInfo> profiles = mUm.getProfiles(UserHandle.myUserId());
268 private void updateProfileUi(final UserInfo userInfo, boolean addCategory,
272 profileData.userInfo = userInfo;
275 if (userInfo.isManagedProfile()) {
278 String workGroupSummary = getWorkGroupSummary(context, userInfo);
292 if (userInfo.isEnabled()) {
294 userInfo.getUserHandle(), mUm, this);
295 if (!mUm.hasUserRestriction(DISALLOW_MODIFY_ACCOUNTS, userInfo.getUserHandle())) {
299 mProfiles.put(userInfo.id, profileData);
320 private String getWorkGroupSummary(Context context, UserInfo userInfo) {
322 ApplicationInfo adminApplicationInfo = Utils.getAdminApplicationInfo(context, userInfo.id);
360 if (profileData.userInfo.isEnabled()) {
362 profileData.authenticatorHelper, profileData.userInfo.getUserHandle());