Searched refs:mRemoveUserPref (Results 1 – 2 of 2) sorted by relevance
112 private Preference mRemoveUserPref; field in UserDetailsSettingsTest155 doReturn(mRemoveUserPref).when(mFragment).findPreference(KEY_REMOVE_USER); in setUp()326 verify(mRemoveUserPref).setOnPreferenceClickListener(mFragment); in initialize_adminSelectsSecondaryUser_shouldShowRemovePreference()327 verify(mRemoveUserPref).setTitle(R.string.user_remove_user); in initialize_adminSelectsSecondaryUser_shouldShowRemovePreference()370 verify(mRemoveUserPref).setOnPreferenceClickListener(mFragment); in initialize_adminSelectsRestrictedUser_shouldSetupPreferences()392 verify(mRemoveUserPref).setOnPreferenceClickListener(mFragment); in initialize_adminSelectsGuest_shouldShowRemovePreference()393 verify(mRemoveUserPref).setTitle(com.android.settingslib.R.string.guest_exit_guest); in initialize_adminSelectsGuest_shouldShowRemovePreference()484 mFragment.mRemoveUserPref = mRemoveUserPref; in onPreferenceClick_switchClicked_canSwitch_shouldSwitch()500 mFragment.mRemoveUserPref = mRemoveUserPref; in onPreferenceClick_switchToRestrictedClicked_canSwitch_shouldSwitch()516 mFragment.mRemoveUserPref = mRemoveUserPref; in onPreferenceClick_switchToGuestClicked_canSwitch_shouldSwitch()[all …]
98 Preference mRemoveUserPref; field in UserDetailsSettings131 mRemoveUserPref.setEnabled((mUserInfo.flags & UserInfo.FLAG_INITIALIZED) != 0); in onResume()140 if (preference == mRemoveUserPref) { in onPreferenceClick()346 mRemoveUserPref = findPreference(KEY_REMOVE_USER);395 mRemoveUserPref.setTitle(mGuestUserAutoCreated399 mRemoveUserPref.setEnabled((mUserInfo.flags & UserInfo.FLAG_INITIALIZED) != 0);407 mRemoveUserPref.setTitle(R.string.user_remove_user);419 mRemoveUserPref.setOnPreferenceClickListener(this);