The aircraft, an Airbus A319 carrying 150 passengers, had issued a “FULL EMERGENCY” signal after smoke was detected in the cockpit.