Legality of carrying within apartment building in LA.

I’m a resident of Los Angeles County and live in the North Hollywood area. I live in a nice 400 or so unit building but the area around my building has completely gone to shit. My building has super lax security and often times I’ll find transient types wandering around in the garage and some times even on resident floors. I have a wife and small child and it bothers me knowing that our home dwelling isn’t completely secure.

What’s the legality of me carrying my gun within my building and garage? God forbid I got into an incident in my garage, would that be like getting into a situation within my home or in a public place?