camera: clean up wrapper code

* Clean up formatting, warnings, style, logging, etc.

Change-Id: Ie0757befa341e209e2b552b42bffee6b52d8df0a