Searched refs:mRemoveUserPref (Results 1 – 2 of 2) sorted by relevance
104 private Preference mRemoveUserPref; field in UserDetailsSettingsTest144 doReturn(mRemoveUserPref).when(mFragment).findPreference(KEY_REMOVE_USER); in setUp()308 verify(mRemoveUserPref).setOnPreferenceClickListener(mFragment); in initialize_adminSelectsSecondaryUser_shouldShowRemovePreference()309 verify(mRemoveUserPref).setTitle(R.string.user_remove_user); in initialize_adminSelectsSecondaryUser_shouldShowRemovePreference()350 verify(mRemoveUserPref).setOnPreferenceClickListener(mFragment); in initialize_adminSelectsRestrictedUser_shouldSetupPreferences()371 verify(mRemoveUserPref).setOnPreferenceClickListener(mFragment); in initialize_adminSelectsGuest_shouldShowRemovePreference()372 verify(mRemoveUserPref).setTitle(R.string.user_exit_guest_title); in initialize_adminSelectsGuest_shouldShowRemovePreference()474 mFragment.mRemoveUserPref = mRemoveUserPref; in onPreferenceClick_switchClicked_canSwitch_shouldSwitch()490 mFragment.mRemoveUserPref = mRemoveUserPref; in onPreferenceClick_switchToGuestClicked_canSwitch_shouldSwitch()505 mFragment.mRemoveUserPref = mRemoveUserPref; in onPreferenceClick_switchClicked_canNotSwitch_doNothing()[all …]
87 Preference mRemoveUserPref; field in UserDetailsSettings118 mRemoveUserPref.setEnabled((mUserInfo.flags & UserInfo.FLAG_INITIALIZED) != 0); in onResume()124 if (preference == mRemoveUserPref) { in onPreferenceClick()242 mRemoveUserPref = findPreference(KEY_REMOVE_USER);285 mRemoveUserPref.setTitle(mGuestUserAutoCreated289 mRemoveUserPref.setEnabled((mUserInfo.flags & UserInfo.FLAG_INITIALIZED) != 0);294 mRemoveUserPref.setTitle(R.string.user_remove_user);301 mRemoveUserPref.setOnPreferenceClickListener(this);