/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | CarUserManagerHelperTest.java | 465 assertThat(mCarUserManagerHelper.removeUser(mSystemUser, GUEST_USER_NAME)).isFalse(); in testCannotRemoveSystemUser() 473 doReturn(true).when(mUserManager).removeUser(idToRemove); in testAdminsCanRemoveOtherUsers() 477 assertThat(mCarUserManagerHelper.removeUser(userToRemove, GUEST_USER_NAME)).isTrue(); in testAdminsCanRemoveOtherUsers() 478 verify(mUserManager).removeUser(idToRemove); in testAdminsCanRemoveOtherUsers() 489 doReturn(true).when(mUserManager).removeUser(anyInt()); in testNonAdminsCanNotRemoveOtherUsers() 492 assertThat(mCarUserManagerHelper.removeUser(otherUser, GUEST_USER_NAME)).isFalse(); in testNonAdminsCanNotRemoveOtherUsers() 493 verify(mUserManager, never()).removeUser(otherUser.id); in testNonAdminsCanNotRemoveOtherUsers() 499 assertThat(mCarUserManagerHelper.removeUser(mSystemUser, GUEST_USER_NAME)).isFalse(); in testRemoveLastActiveUser() 504 assertThat(mCarUserManagerHelper.removeUser(adminInfo, GUEST_USER_NAME)) in testRemoveLastActiveUser() 521 mCarUserManagerHelper.removeUser(adminInfo, GUEST_USER_NAME); in testRemoveLastAdminUser() [all …]
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | RestrictedProfileSettings.java | 127 removeUser(); in onCreateDialog() 149 private void removeUser() { in removeUser() method in RestrictedProfileSettings 152 mUserManager.removeUser(mUser.getIdentifier()); in removeUser()
|
D | UserDetailsSettings.java | 175 removeUser(); in onCreateDialog() 210 void removeUser() { 211 mUserManager.removeUser(mUserInfo.id);
|
D | UserSettings.java | 725 mUserManager.removeUser(mRemovingUserId); in removeUserNow() 740 getContext().getSystemService(UserManager.class).removeUser(UserHandle.myUserId()); in removeThisUser()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | RestrictedProfileSettings.java | 127 removeUser(); in onCreateDialog() 149 private void removeUser() { in removeUser() method in RestrictedProfileSettings 152 mUserManager.removeUser(mUser.getIdentifier()); in removeUser()
|
D | UserDetailsSettings.java | 175 removeUser(); in onCreateDialog() 210 void removeUser() { 211 mUserManager.removeUser(mUserInfo.id);
|
D | UserSettings.java | 721 mUserManager.removeUser(mRemovingUserId); in removeUserNow() 736 getContext().getSystemService(UserManager.class).removeUser(UserHandle.myUserId()); in removeThisUser()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | ChooseNewAdminPreferenceControllerTest.java | 124 verify(mCarUserManagerHelper).removeUser(eq(TEST_ADMIN_USER), anyString()); in testAssignNewAdminAndRemoveOldAdmin_removeUserCalled() 129 when(mCarUserManagerHelper.removeUser(TEST_ADMIN_USER, in testAssignNewAdminAndRemoveOldAdmin_success_noErrorDialog() 140 when(mCarUserManagerHelper.removeUser(TEST_ADMIN_USER, in testAssignNewAdminAndRemoveOldAdmin_failure_errorDialog()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfileModel.java | 87 public void removeUser() { in removeUser() method in RestrictedProfileModel 94 mUserManager.removeUser(restrictedUserHandle); in removeUser()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowCarUserManagerHelper.java | 162 protected boolean removeUser(UserInfo userInfo, String guestUserName) { in removeUser() method in ShadowCarUserManagerHelper 163 return sMockInstance.removeUser(userInfo, guestUserName); in removeUser()
|
/packages/services/Car/tests/robotests/src/com/android/car/users/ |
D | CarUserManagerHelperRoboTest.java | 183 mHelper.removeUser(user1, "testGuest"); in testRemoveCurrentProcessUserSwitchesToGuestUser() 187 assertThat(shadowUserManager.removeUser(10)).isTrue(); in testRemoveCurrentProcessUserSwitchesToGuestUser()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 875 public boolean removeUser(UserInfo userInfo, String guestUserName) { in removeUser() method in CarUserManagerHelper 902 return mUserManager.removeUser(userInfo.id); in removeUser() 918 return mUserManager.removeUser(userInfo.id); in removeLastAdmin()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | RemoveUserFragment.java | 49 um.removeUser(userId); in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | RemoveUserFragment.java | 49 um.removeUser(userId); in onCreateDialog()
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | ChooseNewAdminPreferenceController.java | 92 if (!getCarUserManagerHelper().removeUser(mAdminInfo, in removeOldAdmin()
|
D | UserDetailsBaseFragment.java | 46 if (mCarUserManagerHelper.removeUser(
|
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/ |
D | ShadowUserManager.java | 111 public boolean removeUser(int userId) { in removeUser() method in ShadowUserManager
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPowerManagementServiceTest.java | 740 verify(mUserManager, times(1)).removeUser(userId); in verifyUserRemoved() 744 verify(mUserManager, never()).removeUser(userId); in verifyUserNotRemoved()
|
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/ |
D | TimeZoneUpdateHostTest.java | 251 device.removeUser(userId); in testInstallNewerRulesVersion_secondaryUser()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 260 mController.removeUser(d.getUserId()); in onPositiveButtonClick()
|
D | PreProvisioningController.java | 743 public void removeUser(int userProfileId) { in removeUser() method in PreProvisioningController
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | SecurityFragment.java | 396 mRestrictedProfile.removeUser(); in pinFragmentDone()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/ |
D | DeviceAdminAdd.java | 369 um.removeUser(userId); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminAdd.java | 418 um.removeUser(userId); in onCreate()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarPowerManagementService.java | 473 mUserManager.removeUser(targetUserId); in switchUserOnResumeIfNecessary()
|