You should know about the ELC (Eligibility in the Local Context) program for the University of California:
http://admission.universityofcalifornia.edu/freshman/california-residents/local-path/index.html
If you are one of the top 9% of students in your California high school (and you state that you are in the top 5%), and you take the minimum course requirements, you should be offered admission to at least one campus of the University of California, although not necessarily the ones you have listed, Berkeley and Davis.