From June 2010 to June 2012 Samsung sold 21.25 million phones for $7.5 billion in revenue. The company also sold 1.4 million tables for $644 million in revenue. Its most popular phones were the Galaxy Prevail (2.25 mil), Epic 4G (1.89 mil), and the Epic 4G Touch (1.67 mil). Combining all models of the Galaxy S II, Samsung sold 4.1 million units of that device.
From 2007 to 2Q12, Apple sold 85 million iPhones for $50 billion in revenue, 46 million iPod touches for $10.3 billion in revenue, and 34 million iPads for $19 billion in revenue.
A much more detailed breakdown can be seen in the charts below.