Home
last modified time | relevance | path

Searched refs:removeUserWhenPossible (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractor.kt226 manager.removeUserWhenPossible( in <lambda>()
246 manager.removeUserWhenPossible( in <lambda>()
256 manager.removeUserWhenPossible( in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DMasterClearReceiverTest.java229 when(mUserManager.removeUserWhenPossible(any(), anyBoolean())) in expectWipeNonSystemUser()
274 verify(mUserManager).removeUserWhenPossible(any(), anyBoolean()); in verifyWipeNonSystemUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractorTest.kt262 verify(manager).removeUserWhenPossible(ephemeralGuestUserHandle, false) in exit_guestWasEphemeral_itIsRemoved()
284 verify(manager).removeUserWhenPossible(guestUserHandle, false) in exit_forceRemoveGuest_itIsRemoved()
339 verify(manager).removeUserWhenPossible(guestUserHandle, false) in remove_returnsToTargetUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java562 assertThat(mUserManager.removeUserWhenPossible(user1.getUserHandle(), in testRemoveUserWhenPossible_restrictedReturnsError()
582 assertThat(mUserManager.removeUserWhenPossible(user1.getUserHandle(), in testRemoveUserWhenPossible_evenWhenRestricted()
597 assertThat(mUserManager.removeUserWhenPossible(UserHandle.SYSTEM, in testRemoveUserWhenPossible_systemUserReturnsError()
616 assertThat(mUserManager.removeUserWhenPossible(mainUser, in testRemoveUserWhenPossible_permanentAdminMainUserReturnsError()
631 assertThat(mUserManager.removeUserWhenPossible(UserHandle.of(Integer.MAX_VALUE), in testRemoveUserWhenPossible_invalidUserReturnsError()
644 assertThat(mUserManager.removeUserWhenPossible(user1.getUserHandle(), in testRemoveUserWhenPossible_currentUserSetEphemeral()
668 assertThat(mUserManager.removeUserWhenPossible(testUser.getUserHandle(), in testRemoveUserWhenPossible_currentUserSetEphemeral_duringUserSwitch()
689 assertThat(mUserManager.removeUserWhenPossible(testUser.getUserHandle(), in testRemoveUserWhenPossible_targetUserSetEphemeral_duringUserSwitch()
710 assertThat(mUserManager.removeUserWhenPossible(user1.getUserHandle(), in testRemoveUserWhenPossible_nonCurrentUserRemoved()
749 assertThat(mUserManager.removeUserWhenPossible(parentUser.getUserHandle(), in testRemoveUserWhenPossible_withProfiles()
/frameworks/base/core/java/android/os/
DIUserManager.aidl105 int removeUserWhenPossible(int userId, boolean overrideDevicePolicy); in removeUserWhenPossible() method
DUserManager.java6154 public @RemoveResult int removeUserWhenPossible(@NonNull UserHandle user, in removeUserWhenPossible() method in UserManager
6157 return mService.removeUserWhenPossible(user.getIdentifier(), overrideDevicePolicy); in removeUserWhenPossible()
/frameworks/base/services/core/java/com/android/server/
DMasterClearReceiver.java142 final int result = userManager.removeUserWhenPossible( in wipeUser()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java3171 return removeUserWhenPossible(um, userId); in runRemoveUser()
3234 private int removeUserWhenPossible(IUserManager um, @UserIdInt int userId) in removeUserWhenPossible() method in PackageManagerShellCommand
3237 int result = um.removeUserWhenPossible(userId, /* overrideDevicePolicy= */ false); in removeUserWhenPossible()
DUserManagerService.java6275 public @UserManager.RemoveResult int removeUserWhenPossible(@UserIdInt int userId,
/frameworks/base/core/api/
Dsystem-current.txt11279 …AGE_USERS, android.Manifest.permission.CREATE_USERS}) public int removeUserWhenPossible(@NonNull a…