Searched refs:mAddUserPreference (Results 1 – 1 of 1) sorted by relevance
111 private RestrictedPreference mAddUserPreference; field in UserSettingsTest162 mFragment.mAddUser = mAddUserPreference; in setUp()262 doReturn(true).when(mAddUserPreference).isEnabled(); in updateUserList_canAddUserAndSwitchUser_shouldShowAddUser()267 verify(mAddUserPreference).setVisible(true); in updateUserList_canAddUserAndSwitchUser_shouldShowAddUser()268 verify(mAddUserPreference).setSummary(null); in updateUserList_canAddUserAndSwitchUser_shouldShowAddUser()269 verify(mAddUserPreference).setEnabled(true); in updateUserList_canAddUserAndSwitchUser_shouldShowAddUser()270 verify(mAddUserPreference).setDisabledByAdmin(null); in updateUserList_canAddUserAndSwitchUser_shouldShowAddUser()271 verify(mAddUserPreference).setSelectable(true); in updateUserList_canAddUserAndSwitchUser_shouldShowAddUser()292 doReturn(true).when(mAddUserPreference).isEnabled(); in updateUserList_cannotSwitchUser_shouldDisableAddUser()298 verify(mAddUserPreference).setVisible(true); in updateUserList_cannotSwitchUser_shouldDisableAddUser()[all …]