Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java466 UserInfo newUserInfo = mUserManager.createRestrictedProfile(mAddingUserName); in createRestrictedProfile() local
467 if (newUserInfo != null && !assignDefaultPhoto(getActivity(), newUserInfo.id)) { in createRestrictedProfile()
470 return newUserInfo; in createRestrictedProfile()
474 UserInfo newUserInfo = mUserManager.createUser(mAddingUserName, 0); in createTrustedUser() local
475 if (newUserInfo != null && !assignDefaultPhoto(getActivity(), newUserInfo.id)) { in createTrustedUser()
478 return newUserInfo; in createTrustedUser()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java470 UserInfo newUserInfo = mUserManager.createRestrictedProfile(mAddingUserName); in createRestrictedProfile() local
471 if (newUserInfo != null && !assignDefaultPhoto(getActivity(), newUserInfo.id)) { in createRestrictedProfile()
474 return newUserInfo; in createRestrictedProfile()
478 UserInfo newUserInfo = mUserManager.createUser(mAddingUserName, 0); in createTrustedUser() local
479 if (newUserInfo != null && !assignDefaultPhoto(getActivity(), newUserInfo.id)) { in createTrustedUser()
482 return newUserInfo; in createTrustedUser()