I doubt it's a problem, but overall length must be 26" or more, too.
Oakland doesn't get its own set of laws on possession. But the Feds get their say on interstate transfer, and CA gets a say on in-state transfer, and both require you run the transfer through a CA-licensed FFL.