At UCD, you cannot use AP credit for GE (general education) requirements. You might be able to use AP to get out of an entry level course for your major but, for the most part, AP credits are elective units.
https://www.ucdavis.edu/admissions/undergraduate/apply/advanced-placement-exam/
At UCD, your number of AP units does not have an impact on registration priority.
https://registrar.ucdavis.edu/registration/register/pass-times