Searched refs:removeUserWhenPossible (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | GuestUserInteractor.kt | 226 manager.removeUserWhenPossible( in <lambda>() 246 manager.removeUserWhenPossible( in <lambda>() 256 manager.removeUserWhenPossible( in <lambda>()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | MasterClearReceiverTest.java | 229 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/ |
D | GuestUserInteractorTest.kt | 262 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/ |
D | UserManagerTest.java | 562 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/ |
D | IUserManager.aidl | 105 int removeUserWhenPossible(int userId, boolean overrideDevicePolicy); in removeUserWhenPossible() method
|
D | UserManager.java | 6154 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/ |
D | MasterClearReceiver.java | 142 final int result = userManager.removeUserWhenPossible( in wipeUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 3171 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()
|
D | UserManagerService.java | 6275 public @UserManager.RemoveResult int removeUserWhenPossible(@UserIdInt int userId,
|
/frameworks/base/core/api/ |
D | system-current.txt | 11279 …AGE_USERS, android.Manifest.permission.CREATE_USERS}) public int removeUserWhenPossible(@NonNull a…
|