Searched refs:setSwitchabilityStatus (Results 1 – 2 of 2) sorted by relevance
214 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_OK); in onResume_canSwitch_shouldEnableSwitchPref()225 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_USER_IN_CALL); in onResume_userInCall_shouldDisableSwitchPref()236 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_USER_SWITCH_DISALLOWED); in onResume_switchDisallowed_shouldDisableSwitchPref()247 mUserManager.setSwitchabilityStatus(UserManager.SWITCHABILITY_STATUS_SYSTEM_USER_LOCKED); in onResume_systemUserLocked_shouldDisableSwitchPref()472 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_OK); in onPreferenceClick_switchClicked_canSwitch_shouldSwitch()488 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_OK); in onPreferenceClick_switchToGuestClicked_canSwitch_shouldSwitch()503 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_USER_SWITCH_DISALLOWED); in onPreferenceClick_switchClicked_canNotSwitch_doNothing()
199 public void setSwitchabilityStatus(@UserManager.UserSwitchabilityResult int newStatus) { in setSwitchabilityStatus() method in ShadowUserManager