Home
last modified time | relevance | path

Searched refs:DISALLOW_USER_SWITCH (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java92 assertTrue(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_USER_SWITCH)); in testCanDeviceOwnerChange()
102 UserManager.DISALLOW_USER_SWITCH, user)); in testCanProfileOwnerChange()
116 UserManager.DISALLOW_USER_SWITCH, user)); in testCanProfileOwnerChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DMultiUserSwitch.java107 || mUserManager.hasUserRestriction(UserManager.DISALLOW_USER_SWITCH) in isMultiUserEnabled()
/frameworks/base/core/java/android/os/
DUserManager.java988 public static final String DISALLOW_USER_SWITCH = "no_user_switch"; field in UserManager
1300 boolean isUserSwitchDisallowed = hasUserRestriction(DISALLOW_USER_SWITCH); in canSwitchUsers()
1332 if (hasUserRestriction(DISALLOW_USER_SWITCH)) { in getUserSwitchability()
2954 if (hasUserRestriction(DISALLOW_USER_SWITCH)) { in isUserSwitcherEnabled()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java128 UserManager.DISALLOW_USER_SWITCH,
173 UserManager.DISALLOW_USER_SWITCH,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...