Home
last modified time | relevance | path

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

/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/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()
1161 static boolean assignDefaultPhoto(Context context, int userId) { in assignDefaultPhoto() method in UserSettings
1183 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()