Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserDetailsSettingsTest.java218 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_OK); in onResume_canSwitch_shouldEnableSwitchPref()
229 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_USER_IN_CALL); in onResume_userInCall_shouldDisableSwitchPref()
240 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_USER_SWITCH_DISALLOWED); in onResume_switchDisallowed_shouldDisableSwitchPref()
251 mUserManager.setSwitchabilityStatus(UserManager.SWITCHABILITY_STATUS_SYSTEM_USER_LOCKED); in onResume_systemUserLocked_shouldDisableSwitchPref()
476 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_OK); in onPreferenceClick_switchClicked_canSwitch_shouldSwitch()
492 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_OK); in onPreferenceClick_switchToGuestClicked_canSwitch_shouldSwitch()
507 mUserManager.setSwitchabilityStatus(SWITCHABILITY_STATUS_USER_SWITCH_DISALLOWED); in onPreferenceClick_switchClicked_canNotSwitch_doNothing()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUserManager.java207 public void setSwitchabilityStatus(@UserManager.UserSwitchabilityResult int newStatus) { in setSwitchabilityStatus() method in ShadowUserManager