Things like cam will fly as long as the vehicle passes the sniffer. Anything obviously aftermarket that draws attention must be approved by CARB. Some things, like heads, if painted to retain a stock appearance, without a logo etched in the side, would probably fly under the radar.
There are also scenarios where a visual inspection is not required and it is all about the sniffer test, which IMO is the way it should be.