Searched refs:mUserSwitcherEnabled (Results 1 – 11 of 11) sorted by relevance
39 boolean mUserSwitcherEnabled; field in UserCapabilities85 mUserSwitcherEnabled = userManager.isUserSwitcherEnabled(); in updateAddUserCapabilities()134 ", mUserSwitcherEnabled=" + mUserSwitcherEnabled + in toString()
47 restrictedSwitchPreference.setVisible(mUserCaps.mUserSwitcherEnabled); in updateState()58 return mUserCaps.mUserSwitcherEnabled ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
49 return mUserCaps.mUserSwitcherEnabled ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()77 preference.setVisible(isAvailable() && mUserCaps.mUserSwitcherEnabled in updateState()
75 restrictedSwitchPreference.setVisible(mUserCaps.mUserSwitcherEnabled); in updateState()92 return mUserCaps.mUserSwitcherEnabled ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
42 return (mUserCaps.mEnabled && !mUserCaps.mUserSwitcherEnabled) in getAvailabilityStatus()
54 mSwitchBar.setChecked(mUserCapabilities.mUserSwitcherEnabled); in MultiUserSwitchBarController()
1201 if (mUserCaps.mUserSwitcherEnabled) {1426 if (mUserCaps.mUserSwitcherEnabled) {1456 && mUserCaps.mUserSwitcherEnabled) {1499 && mUserCaps.mUserSwitcherEnabled) {
50 mController.mUserCaps.mUserSwitcherEnabled = false; in getAvailabilityStatus_multiUserOff_shouldReturnEnabled()59 mController.mUserCaps.mUserSwitcherEnabled = true; in getAvailabilityStatus_multiUserOn_shouldReturnDisabled()
90 assertThat(userCapabilities.mUserSwitcherEnabled).isFalse(); in userSwitchEnabled_off()100 assertThat(userCapabilities.mUserSwitcherEnabled).isTrue(); in userSwitchEnabled_on()
151 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()
134 mUserCapabilities.mUserSwitcherEnabled = true; in setUp()