Cal. Penal Code § 999e
(a) An individual who is under arrest for the commission or attempted commission of one or more of the felonies listed in paragraph (1) and who is either being prosecuted for three or more separate offenses not arising out of the same transaction involving one or more of those felonies, or has been convicted during the preceding 10 years for any felony listed in paragraph (2) of this subdivision, or at least two convictions during the preceding 10 years for any felony listed in paragraph (3) of this subdivision shall be the subject of career criminal prosecution efforts.
(3) Grand theft, grand theft auto, receiving stolen property, robbery of the second degree, burglary of the second degree, kidnapping as defined in Section 207, assault with a deadly weapon or instrument, or any unlawful act relating to controlled substances in violation of Section 11351 or 11352 of the Health and Safety Code.
For purposes of this chapter, the 10-year periods specified in this section shall be exclusive of any time which the arrested person has served in state prison.