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.java453 UserPreference userPref = captor.getAllValues().get(1); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference() local
454 assertThat(userPref.getUserId()).isEqualTo(INACTIVE_SECONDARY_USER_ID); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
455 assertThat(userPref.getTitle()).isEqualTo(SECONDARY_USER_NAME); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
456 assertThat(userPref.getIcon()).isNotNull(); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
457 assertThat(userPref.getKey()).isEqualTo("id=" + INACTIVE_SECONDARY_USER_ID); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
458 assertThat(userPref.isEnabled()).isEqualTo(true); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
459 assertThat(userPref.isSelectable()).isEqualTo(true); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
460 assertThat(userPref.getOnPreferenceClickListener()).isSameInstanceAs(mFragment); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()
472 UserPreference userPref = captor.getAllValues().get(1); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference() local
473 assertThat(userPref.getUserId()).isEqualTo(INACTIVE_RESTRICTED_USER_ID); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference()
[all …]