Searched refs:UserPreference (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserSettingsTest.java | 109 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 …]
|
D | UserPreferenceTest.java | 41 private UserPreference mUserPreference; 47 mUserPreference = new UserPreference(mContext, null /* attrs */, UserHandle.USER_CURRENT); in setUp()
|
D | UserDetailsSettingsTest.java | 578 mFragment.onPreferenceClick(mock(UserPreference.class)); in onPreferenceClick_unknownPreferenceClicked_doNothing()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserPreference.java | 34 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
|
D | UserSettings.java | 161 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 …]
|