Searched refs:REMOVE_PROFILE_RESULT_SUCCESS (Results 1 – 5 of 5) sorted by relevance
70 public static final int REMOVE_PROFILE_RESULT_SUCCESS = 0; field in ProfileHelper90 REMOVE_PROFILE_RESULT_SUCCESS,185 if (result != REMOVE_PROFILE_RESULT_SUCCESS) { in removeThisProfileAndSwitchToGuest()193 return REMOVE_PROFILE_RESULT_SUCCESS; in removeThisProfileAndSwitchToGuest()203 return REMOVE_PROFILE_RESULT_SUCCESS; in removeProfile()273 if (removeUserResult != REMOVE_PROFILE_RESULT_SUCCESS) { in replaceLastAdmin()278 return REMOVE_PROFILE_RESULT_SUCCESS; in replaceLastAdmin()
93 if (removeUserResult != ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS) { in removeOldAdmin()
70 if (removeProfileResult == ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS) { in setUserInfo()
304 .isEqualTo(ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS); in testRemoveUser_isAdmin_canRemoveOtherUsers()345 .isEqualTo(ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS); in testRemoveUser_removesLastAdminUser_createsAndSwitchesToNewAdminUser()388 assertUserRemoved(ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS, guestUser, currentUser); in testRemoveUser_removeForegroundUser_callsSwitchToGuest()
151 .thenReturn(ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS); in testAssignNewAdminAndRemoveOldAdmin_success_noErrorDialog()