Home
last modified time | relevance | path

Searched refs:supportsSwitchTo (Results 1 – 9 of 9) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserInfoTest.java229 userInfo.supportsSwitchTo()); in testSupportSwitchTo_partial()
237 userInfo.supportsSwitchTo()); in testSupportSwitchTo_disabled()
246 userInfo.supportsSwitchTo()); in testSupportSwitchTo_preCreated()
249 assertTrue("Switching to a full, real user should be allowed", userInfo.supportsSwitchTo()); in testSupportSwitchTo_preCreated()
256 assertFalse("Switching to a profiles should be disabled", userInfo.supportsSwitchTo()); in testSupportSwitchTo_profile()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java430 public boolean supportsSwitchTo() { in supportsSwitchTo() method in UserInfo
458 return supportsSwitchTo(); in supportsSwitchToByUser()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
H A DGuestUserInteractor.kt151 if (info != null && info.isEnabled && info.supportsSwitchTo()) {
/aosp14/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerService.java325 if (!userInfo.supportsSwitchTo() && userInfo.id != UserHandle.USER_SYSTEM) { in initIfNeeded()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java1941 if (!targetUserInfo.supportsSwitchTo()) {
/aosp14/frameworks/base/core/api/
H A Dtest-current.txt1064 method public boolean supportsSwitchTo();
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt4884 HSPLandroid/content/pm/UserInfo;->supportsSwitchTo()Z
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt4887 HSPLandroid/content/pm/UserInfo;->supportsSwitchTo()Z
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt13427 Landroid/content/pm/UserInfo;->supportsSwitchTo()Z