Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java525 UserPreference userPref = captor.getAllValues().get(1); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference() local
526 assertThat(userPref.getUserId()).isEqualTo(INACTIVE_SECONDARY_USER_ID); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
527 assertThat(userPref.getTitle()).isEqualTo(SECONDARY_USER_NAME); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
528 assertThat(userPref.getIcon()).isNotNull(); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
529 assertThat(userPref.getKey()).isEqualTo("id=" + INACTIVE_SECONDARY_USER_ID); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
530 assertThat(userPref.isEnabled()).isEqualTo(true); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
531 assertThat(userPref.isSelectable()).isEqualTo(true); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
532 assertThat(userPref.getOnPreferenceClickListener()).isSameInstanceAs(mFragment); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
585 UserPreference userPref = captor.getAllValues().get(1); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference() local
586 assertThat(userPref.getUserId()).isEqualTo(INACTIVE_RESTRICTED_USER_ID); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference()
[all …]