If the probation officer or social worker determines that the child shall be retained in custody, he or she shall immediately file a petition pursuant to Section 332 with the clerk of the juvenile court, who shall set the matter for hearing on the detention hearing calendar. The probation officer or social worker shall serve notice as prescribed in this section.
Ca. Welf. and Inst. Code § 290.1