Home
last modified time | relevance | path

Searched refs:UserPreference (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java109 private UserPreference mMePreference;
419 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_shouldAddAdminUserPreference()
421 UserPreference adminPref = captor.getValue(); in updateUserList_shouldAddAdminUserPreference()
431 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingGuest_shouldAddGuestUserPreference()
434 UserPreference guestPref = captor.getAllValues().get(1); in updateUserList_existingGuest_shouldAddGuestUserPreference()
450 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
453 UserPreference userPref = captor.getAllValues().get(1); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
469 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference()
472 UserPreference userPref = captor.getAllValues().get(1); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference()
489 ArgumentCaptor<UserPreference> captor = ArgumentCaptor.forClass(UserPreference.class); in updateUserList_existingManagedUser_shouldNotAddUserPreference()
[all …]
DUserPreferenceTest.java41 private UserPreference mUserPreference;
47 mUserPreference = new UserPreference(mContext, null /* attrs */, UserHandle.USER_CURRENT); in setUp()
DUserDetailsSettingsTest.java578 mFragment.onPreferenceClick(mock(UserPreference.class)); in onPreferenceClick_unknownPreferenceClicked_doNothing()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java34 public class UserPreference extends RestrictedPreference { class
39 public static final Comparator<UserPreference> SERIAL_NUMBER_COMPARATOR =
60 public UserPreference(Context context, AttributeSet attrs) { in UserPreference() method in UserPreference
64 UserPreference(Context context, AttributeSet attrs, int userId) { in UserPreference() method in UserPreference
DUserSettings.java161 UserPreference mMePreference;
285 mMePreference = new UserPreference(getPrefContext(), null /* attrs */, myUserId); in onCreate()
930 final ArrayList<UserPreference> userPreferences = new ArrayList<>();
941 UserPreference pref;
946 pref = new UserPreference(prefContext, null, user.id);
1002 UserPreference pref = new UserPreference(getPrefContext(), null,
1003 UserPreference.USERID_UNKNOWN);
1012 Collections.sort(userPreferences, UserPreference.SERIAL_NUMBER_COMPARATOR);
1048 for (UserPreference userPreference : userPreferences) {
1174 } else if (pref instanceof UserPreference) {
[all …]