American Airlines passengers have to wear masks throughout their journey – in all areas of the terminal controlled by the airline as well as on board (many airports require masks, too). Cabin crew have to wear masks as well throughout the flight. However pilots are allowed to take off their masks inside the cockpit.
Multiple pilots have reported being taken off of trips, forfeiting pay because they refuse to fly with another crewmember up front who won’t wear a mask.