Aer Lingus is still an AAdvantage participant, and you may earn miles on them:
http://www.aa.com/apps/AAdvantage/Vi...artnersContent
However, the page on AA.com doesn't make any reference to code sharing - only that members may earn mileage (not Elite-qualifying, however) by purchasing an eligible fare.