I've had multiple people throw stuff at me from cars, I've had a teenager take a swing at me with a baseball bat from the curb, I've had a car stalk me for eight blocks driving inches from my back tire late at night. This is mostly West Oakland and the parts of of North Oakland along Adeline that gets you up to Berkeley -- I can't really comment on East Oakland or the hills. YMMV, of course.