Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserInfoTest.java177 userInfo.supportsSwitchTo()); in testSupportSwitchTo_partial()
185 userInfo.supportsSwitchTo()); in testSupportSwitchTo_disabled()
194 userInfo.supportsSwitchTo()); in testSupportSwitchTo_preCreated()
197 assertTrue("Switching to a full, real user should be allowed", userInfo.supportsSwitchTo()); in testSupportSwitchTo_preCreated()
204 assertFalse("Switching to a profiles should be disabled", userInfo.supportsSwitchTo()); in testSupportSwitchTo_profile()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java374 public boolean supportsSwitchTo() { in supportsSwitchTo() method in UserInfo
393 return (!hideSystemUser || id != UserHandle.USER_SYSTEM) && supportsSwitchTo(); in supportsSwitchToByUser()
/aosp12/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerService.java316 if (!userInfo.supportsSwitchTo() && userInfo.id != UserHandle.USER_SYSTEM) { in initIfNeeded()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java1760 if (!targetUserInfo.supportsSwitchTo()) {
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java937 if (users.get(i).supportsSwitchTo()) { in migrateOldData()
/aosp12/frameworks/base/core/api/
H A Dtest-current.txt886 method public boolean supportsSwitchTo();
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt4921 HSPLandroid/content/pm/UserInfo;->supportsSwitchTo()Z+]Landroid/content/pm/UserInfo;Landroid/conten…
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt4919 HSPLandroid/content/pm/UserInfo;->supportsSwitchTo()Z+]Landroid/content/pm/UserInfo;Landroid/conten…
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt16305 Landroid/content/pm/UserInfo;->supportsSwitchTo()Z