Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DIUserManager.aidl84 int getUserSwitchability(int userId); in getUserSwitchability() method
DUserManager.java2670 return mService.getUserSwitchability(mUserId) == SWITCHABILITY_STATUS_OK; in canSwitchUsers()
2691 public @UserSwitchabilityResult int getUserSwitchability() { in getUserSwitchability() method in UserManager
2692 return getUserSwitchability(UserHandle.of(getContextUserIfAppropriate())); in getUserSwitchability()
2708 public @UserSwitchabilityResult int getUserSwitchability(UserHandle userHandle) { in getUserSwitchability() method in UserManager
2710 return mService.getUserSwitchability(userHandle.getIdentifier()); in getUserSwitchability()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/
DUserSwitcherViewModelTest.kt97 whenever(manager.getUserSwitchability(any())) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractor.kt779 manager.getUserSwitchability(UserHandle.of(selectedUserId)) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractorTest.kt1007 whenever(manager.getUserSwitchability(any())) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1505 int userSwitchable = mUserManager.getUserSwitchability(); in testGetUserSwitchability()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2428 final int userSwitchable = userManager.getUserSwitchability(UserHandle.of(userId));
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2733 public @UserManager.UserSwitchabilityResult int getUserSwitchability(int userId) { in getUserSwitchability() method in UserManagerService
/frameworks/base/core/api/
Dsystem-current.txt11258 …ANAGE_USERS, android.Manifest.permission.INTERACT_ACROSS_USERS}) public int getUserSwitchability();