Searched refs:REMOVE_PROFILE_RESULT_SUCCESS (Results 1 – 5 of 5) sorted by relevance
78 public static final int REMOVE_PROFILE_RESULT_SUCCESS = 0; field in ProfileHelper98 REMOVE_PROFILE_RESULT_SUCCESS,194 if (result != REMOVE_PROFILE_RESULT_SUCCESS) { in removeThisProfileAndSwitchToGuest()202 return REMOVE_PROFILE_RESULT_SUCCESS; in removeThisProfileAndSwitchToGuest()212 return REMOVE_PROFILE_RESULT_SUCCESS; in removeProfile()305 if (removeUserResult != REMOVE_PROFILE_RESULT_SUCCESS) { in replaceLastAdmin()310 return REMOVE_PROFILE_RESULT_SUCCESS; in replaceLastAdmin()
94 if (removeUserResult != ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS) { in removeOldAdmin()
83 if (removeProfileResult == ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS) { in setUserInfo()
303 .isEqualTo(ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS); in testRemoveUser_isAdmin_canRemoveOtherUsers()344 .isEqualTo(ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS); in testRemoveUser_removesLastAdminUser_createsAndSwitchesToNewAdminUser()387 assertUserRemoved(ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS, guestUser, currentUser); in testRemoveUser_removeForegroundUser_callsSwitchToGuest()
152 .thenReturn(ProfileHelper.REMOVE_PROFILE_RESULT_SUCCESS); in testAssignNewAdminAndRemoveOldAdmin_success_noErrorDialog()