Searched refs:supportsSwitchTo (Results 1 – 9 of 9) sorted by relevance
229 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()
430 public boolean supportsSwitchTo() { in supportsSwitchTo() method in UserInfo458 return supportsSwitchTo(); in supportsSwitchToByUser()
151 if (info != null && info.isEnabled && info.supportsSwitchTo()) {
325 if (!userInfo.supportsSwitchTo() && userInfo.id != UserHandle.USER_SYSTEM) { in initIfNeeded()
1941 if (!targetUserInfo.supportsSwitchTo()) {
1064 method public boolean supportsSwitchTo();
4884 HSPLandroid/content/pm/UserInfo;->supportsSwitchTo()Z
4887 HSPLandroid/content/pm/UserInfo;->supportsSwitchTo()Z
13427 Landroid/content/pm/UserInfo;->supportsSwitchTo()Z