Not necessarily so Brian. Warranty isn't a revenue stream, although many dealers try and make it one. Warranty is there to cover the costs without making profit, this is why retail work always bests warranty in workshop priorities.
Depending on the manufacturer, anything up to retail labour rates are paid but most pay enough to cover the workshop costs. You're correct about parts being reimbursed at cost, again this is due to warranty not being a revenue stream but a means to address faulty materials or workmanship at no cost to the owner while covering the workshop costs.
Any dealer that refuses warranty work to be done risks losing their dealer status from the manufacturer and legal action from the individual.

