Dual engine flame out leads to dual hydraulic failure and double generator failure in a twin. In this single hydraulic (with RAT) and limited electrics situation there is no way the autopilot is not going to be available. The flight path that will follow can be different in 777 from Airbus since AB is flight path stable and 777 is speed stable.