I'm not sure about MIA, but at LAX you'll be restricted to the terminals that you're flying into/out of.
Here's a full list:
http://los-angeles-lax.worldairportg.../terminals.php
American is at Terminal 4 and Air Pacific is the Tom Bradley International terminal.