Searched refs:supportsSwitchTo (Results 1 – 9 of 9) sorted by relevance
244 userInfo.supportsSwitchTo()); in testSupportSwitchTo_partial()252 userInfo.supportsSwitchTo()); in testSupportSwitchTo_disabled()261 userInfo.supportsSwitchTo()); in testSupportSwitchTo_preCreated()264 assertTrue("Switching to a full, real user should be allowed", userInfo.supportsSwitchTo()); in testSupportSwitchTo_preCreated()271 assertFalse("Switching to a profiles should be disabled", userInfo.supportsSwitchTo()); in testSupportSwitchTo_profile()
450 public boolean supportsSwitchTo() { in supportsSwitchTo() method in UserInfo480 return supportsSwitchTo(); in supportsSwitchToByUser()
153 if (info != null && info.isEnabled && info.supportsSwitchTo()) { in <lambda>()
326 if (!userInfo.supportsSwitchTo() && userInfo.id != UserHandle.USER_SYSTEM) { in initIfNeeded()
2166 if (!targetUserInfo.supportsSwitchTo()) {
1193 method public boolean supportsSwitchTo();
4806 HSPLandroid/content/pm/UserInfo;->supportsSwitchTo()Z
4809 HSPLandroid/content/pm/UserInfo;->supportsSwitchTo()Z
13427 Landroid/content/pm/UserInfo;->supportsSwitchTo()Z