Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserDetailsSettingsTest.java93 private static final String KEY_REMOVE_USER = "remove_user"; field in UserDetailsSettingsTest
155 doReturn(mRemoveUserPref).when(mFragment).findPreference(KEY_REMOVE_USER); in setUp()
328 verify(mFragment, never()).removePreference(KEY_REMOVE_USER); in initialize_adminSelectsSecondaryUser_shouldShowRemovePreference()
363 verify(mFragment, never()).removePreference(KEY_REMOVE_USER); in initialize_adminSelectsRestrictedUser_shouldSetupPreferences()
394 verify(mFragment, never()).removePreference(KEY_REMOVE_USER); in initialize_adminSelectsGuest_shouldShowRemovePreference()
404 verify(mFragment).removePreference(KEY_REMOVE_USER); in initialize_nonAdmin_shouldNotShowRemovePreference()
414 verify(mFragment).removePreference(KEY_REMOVE_USER); in initialize_onMainUser_shouldNotShowRemovePreference()
425 verify(mFragment).removePreference(KEY_REMOVE_USER); in initialize_disallowRemoveUserRestriction_shouldNotShowRemovePreference()
/packages/apps/Settings/src/com/android/settings/users/
DUserDetailsSettings.java64 private static final String KEY_REMOVE_USER = "remove_user"; field in UserDetailsSettings
346 mRemoveUserPref = findPreference(KEY_REMOVE_USER);
371 removePreference(KEY_REMOVE_USER);
416 removePreference(KEY_REMOVE_USER);