Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java563 UserPreference secondaryPref = userPrefs.get(1); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled() local
567 assertThat(secondaryPref.getUserId()).isEqualTo(INACTIVE_SECONDARY_USER_ID); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled()
568 assertThat(secondaryPref.getTitle()).isEqualTo(SECONDARY_USER_NAME); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled()
569 assertThat(secondaryPref.getIcon()).isNotNull(); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled()
570 assertThat(secondaryPref.getKey()).isEqualTo("id=" + INACTIVE_SECONDARY_USER_ID); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled()
571 assertThat(secondaryPref.isEnabled()).isEqualTo(true); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled()
572 assertThat(secondaryPref.isSelectable()).isEqualTo(true); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled()
573 assertThat(secondaryPref.getOnPreferenceClickListener()).isSameInstanceAs(mFragment); in updateUserList_existingSecondaryUser_shouldAddSecondaryUser_MultiUserIsEnabled()