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.java89 private static final String KEY_REMOVE_USER = "remove_user"; field in UserDetailsSettingsTest
144 doReturn(mRemoveUserPref).when(mFragment).findPreference(KEY_REMOVE_USER); in setUp()
310 verify(mFragment, never()).removePreference(KEY_REMOVE_USER); in initialize_adminSelectsSecondaryUser_shouldShowRemovePreference()
343 verify(mFragment, never()).removePreference(KEY_REMOVE_USER); in initialize_adminSelectsRestrictedUser_shouldSetupPreferences()
373 verify(mFragment, never()).removePreference(KEY_REMOVE_USER); in initialize_adminSelectsGuest_shouldShowRemovePreference()
383 verify(mFragment).removePreference(KEY_REMOVE_USER); in initialize_nonAdmin_shouldNotShowRemovePreference()
394 verify(mFragment).removePreference(KEY_REMOVE_USER); in initialize_disallowRemoveUserRestriction_shouldNotShowRemovePreference()
/packages/apps/Settings/src/com/android/settings/users/
DUserDetailsSettings.java63 private static final String KEY_REMOVE_USER = "remove_user"; field in UserDetailsSettings
242 mRemoveUserPref = findPreference(KEY_REMOVE_USER);
259 removePreference(KEY_REMOVE_USER);
298 removePreference(KEY_REMOVE_USER);