Home
last modified time | relevance | path

Searched refs:mUserSwitcherEnabled (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/users/
DUserCapabilities.java39 boolean mUserSwitcherEnabled; field in UserCapabilities
85 mUserSwitcherEnabled = userManager.isUserSwitcherEnabled(); in updateAddUserCapabilities()
134 ", mUserSwitcherEnabled=" + mUserSwitcherEnabled + in toString()
DAddUserWhenLockedPreferenceController.java47 restrictedSwitchPreference.setVisible(mUserCaps.mUserSwitcherEnabled); in updateState()
58 return mUserCaps.mUserSwitcherEnabled ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
DGuestTelephonyPreferenceController.java49 return mUserCaps.mUserSwitcherEnabled ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
77 preference.setVisible(isAvailable() && mUserCaps.mUserSwitcherEnabled in updateState()
DRemoveGuestOnExitPreferenceController.java75 restrictedSwitchPreference.setVisible(mUserCaps.mUserSwitcherEnabled); in updateState()
92 return mUserCaps.mUserSwitcherEnabled ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
DMultiUserTopIntroPreferenceController.java42 return (mUserCaps.mEnabled && !mUserCaps.mUserSwitcherEnabled) in getAvailabilityStatus()
DMultiUserSwitchBarController.java54 mSwitchBar.setChecked(mUserCapabilities.mUserSwitcherEnabled); in MultiUserSwitchBarController()
DUserSettings.java1201 if (mUserCaps.mUserSwitcherEnabled) {
1426 if (mUserCaps.mUserSwitcherEnabled) {
1456 && mUserCaps.mUserSwitcherEnabled) {
1499 && mUserCaps.mUserSwitcherEnabled) {
/packages/apps/Settings/tests/unit/src/com/android/settings/users/
DMultiUserTopIntroPreferenceControllerTest.java50 mController.mUserCaps.mUserSwitcherEnabled = false; in getAvailabilityStatus_multiUserOff_shouldReturnEnabled()
59 mController.mUserCaps.mUserSwitcherEnabled = true; in getAvailabilityStatus_multiUserOn_shouldReturnDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserCapabilitiesTest.java90 assertThat(userCapabilities.mUserSwitcherEnabled).isFalse(); in userSwitchEnabled_off()
100 assertThat(userCapabilities.mUserSwitcherEnabled).isTrue(); in userSwitchEnabled_on()
DUserSettingsTest.java151 mUserCapabilities.mUserSwitcherEnabled = true; in setUp()
467 mUserCapabilities.mUserSwitcherEnabled = false; in updateUserList_userSwitcherDisabled_shouldNotShowAddUser()
478 mUserCapabilities.mUserSwitcherEnabled = false; in updateUserList_userSwitcherDisabled_shouldNotShowAddGuest()
538 mUserCapabilities.mUserSwitcherEnabled = false; in updateUserList_existingSecondaryUser_shouldAddOnlyCurrUser_MultiUserIsDisabled()
DUserDetailsSettingsTest.java134 mUserCapabilities.mUserSwitcherEnabled = true; in setUp()