Searched refs:stopUserAndCheckResult (Results 1 – 1 of 1) sorted by relevance
142 stopUserAndCheckResult(userHandle, UserManager.USER_OPERATION_ERROR_CURRENT_USER); in testCreateAndManageUser_CannotStopCurrentUser()181 () -> stopUserAndCheckResult(userHandle, UserManager.USER_OPERATION_SUCCESS)); in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()463 private void stopUserAndCheckResult(UserHandle userHandle, int expectedResult) { in stopUserAndCheckResult() method in CreateAndManageUserTest478 () -> stopUserAndCheckResult(userHandle, UserManager.USER_OPERATION_SUCCESS)); in stopUserAndWaitForBroadcasts()