QCamera2: HAL3: Validate usage flags for configure_streams

If usage flag has combined bits from different consumers, fail
configure_streams if camera device doesn't support it.

Camera device take into consideration of below 3 factors:
- stream format
- stream dataspace, and
- HAL interface restriction

Test: Camera CTS
Bug: 33777818
Change-Id: Ie2b2ad44de74ad908269bc23c8ce8ce065153a8f
7 files changed
tree: 81a5f1deb9bc39ac0f5ae153621674e2122513a1
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk