Flying into the UAE, you only have to go through the immigration line once where your biometrics are taken, after that, you can use the E-Gate. As for Qatar, unless you are a Qatari or Resident, they force you to use the immigration officer, even if you've pre-paid the visa and have had your biometrics checked previously.