Home
last modified time | relevance | path

Searched refs:assignDefaultPhoto (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java471 if (newUserInfo != null && !assignDefaultPhoto(getActivity(), newUserInfo.id)) { in createRestrictedProfile()
479 if (newUserInfo != null && !assignDefaultPhoto(getActivity(), newUserInfo.id)) { in createTrustedUser()
1164 static boolean assignDefaultPhoto(Context context, int userId) { in assignDefaultPhoto() method in UserSettings
1186 assignDefaultPhoto(context, userId); in copyMeProfilePhoto()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java467 if (newUserInfo != null && !assignDefaultPhoto(getActivity(), newUserInfo.id)) { in createRestrictedProfile()
475 if (newUserInfo != null && !assignDefaultPhoto(getActivity(), newUserInfo.id)) { in createTrustedUser()
1160 static boolean assignDefaultPhoto(Context context, int userId) { in assignDefaultPhoto() method in UserSettings
1182 assignDefaultPhoto(context, userId); in copyMeProfilePhoto()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java153 assertThat(UserSettings.assignDefaultPhoto(null, 0)).isFalse(); in testAssignDefaultPhoto_ContextNull_ReturnFalseAndNotCrash()