Some UCs advisers will encourage you to take more related classes at your community college if you have space as it may open up alternate majors and minors at your eventual UC later on. One consideration to take though is to try and finish your major prerequisites by the end of the fall prior to your transfer so that your transcript will have final grades instead of planned/in-progress at the time of consideration.
If I remember correctly, you are a Comp Sci applicant? It’s one of the majors that relies on completion of prerequisites (using Assist.org or the campus specific major pages) for admission evaluation so that plays much more heavily then your end units completed. For comparisons sake though, UCLA publishes that the average Comp Sci applicant had 115 quarter units completed. (https://www.admissions.ucla.edu/prospect/adm_tr/Tr_Prof14_mjr.htm)
With regards to AP scores, review the [official site](University of California Counselors) as well as the respective campus specific page for details as they may not be counted for class equivalency depending on score and campus. The CCC and CSU policies are much more lenient than the UCs.