Searched refs:getUserSwitchability (Results 1 – 9 of 9) sorted by relevance
84 int getUserSwitchability(int userId); in getUserSwitchability() method
2670 return mService.getUserSwitchability(mUserId) == SWITCHABILITY_STATUS_OK; in canSwitchUsers()2691 public @UserSwitchabilityResult int getUserSwitchability() { in getUserSwitchability() method in UserManager2692 return getUserSwitchability(UserHandle.of(getContextUserIfAppropriate())); in getUserSwitchability()2708 public @UserSwitchabilityResult int getUserSwitchability(UserHandle userHandle) { in getUserSwitchability() method in UserManager2710 return mService.getUserSwitchability(userHandle.getIdentifier()); in getUserSwitchability()
97 whenever(manager.getUserSwitchability(any())) in <lambda>()
779 manager.getUserSwitchability(UserHandle.of(selectedUserId)) in <lambda>()
1007 whenever(manager.getUserSwitchability(any())) in <lambda>()
1505 int userSwitchable = mUserManager.getUserSwitchability(); in testGetUserSwitchability()
2428 final int userSwitchable = userManager.getUserSwitchability(UserHandle.of(userId));
2733 public @UserManager.UserSwitchabilityResult int getUserSwitchability(int userId) { in getUserSwitchability() method in UserManagerService
11258 …ANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public int getUserSwitchability();