camera_metadata: add validation function to ensure structural sanity

This is particularly useful when accepting copied metadata from another process,
since it could put whatever it want into the binder parcel.

Bug: 8713951
Change-Id: I72b25b2bf96230eb995bb32e3bbd68de16e122cd
3 files changed
tree: 9aab96036997c844f42f6620c5cf9eb6732c3bc3
  1. audio_effects/
  2. audio_route/
  3. audio_utils/
  4. camera/
  5. CleanSpec.mk