Yes, but if you are a native speaker of that language, they can require additional proof of a “foreign” language completion.
Way back in the last century, when I was in my California high school, the guidance counselors were aware that I was a native speaker of Spanish, given my cultural background.
They indicated that I probably would pass the AP Spanish test, but that the UC’s probably wouldn’t accept the test results, given my background. The high school wanted to make sure that I was accepted, so I was required to take a language other than English or Spanish. I took two years of French.
If you are a native speaker and plan to take an AP test, in your home language, you might be stuck. Ask your guidance counselor.
From the website:
“The “e” subject requirement for freshman admission requires two years of a language other than English. In some cases, this will satisfy a student’s language requirement for their UC program. In many cases, however, additional study is necessary at the college level.”
If you are a non-resident of California, remember that you will pay full fees of $67K per year.