What sensor(s) does the ecm read to determine how much airflow you need?

Maf? but what about when its in map only mode?