You have the right to be assisted by counsel if you are being interrogated in a custodial situation. If you are in jail, you are in a custodial situation.
This right is mentioned here because the cops can attempt to question you after counsel has been retained or appointed.
Hearing to set bail
The jail /sheriff must help you and your attorney contact a magistrate regarding bail setting
There are other statutes and cases in regard to bail.
Most counties in California have a bail schedule.
You are entitled to visit with an attorney after the arrest at either your request or that of a relative. Denial is a misdemeanor and the deputy may be sued for $500.00 PC 825(b)
First Court Appearance
You must be brought before a magistrate within 48 hours of arrest.
The 48 hours does not include weekends or holidays PC 825(a)
Your conversations with your attorney, religious advisor and medical personnel may not be recorded or listened to PC 636.
This means that the sheriff's court services staff or the department of corrections officers may not listen to your conversations with your attorney when at court.
The right to confidential communications with your attorney includes writings . In Re Jordan (1972) 7 Cal.3d 930
Potentially, the authorities may not listen in on any confidential communication between you and your spouse. You should look at North v. Superior Court (1972) 8 Cal.3d 301,309,; Thompson v. Department of Corrections (2001)25 Cal.4th 117 and Pena Code section 2600 and subsequent modifications.
Additional resources provided by the author
The government code respecting jails, honor farms and or work camps. California and federal appellate court opinions regarding prisoner rights