Camera moduel API 2.4 and torch mode support

Minimal camera module API 2.4 support. Mainly adding set_torch_mode
support.

It also addresses an issue where cameraservice assumes all HAL3
devices should support torch mode.

Bug: 36233279
Bug: 68802239
Test: Pass android.hardware.camera2.cts.FlashlightTest
Change-Id: Idd6c80b503850e0ff711c1c827685128b5086ab7
(cherry picked from commit 172fcb0b38fa802c690aa4367d6e91ab209eb1e7)
7 files changed
tree: a8893e5c488b6afa911790826c30b7db05091c61
  1. common/
  2. external/
  3. guest/
  4. host/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. BUILD
  9. WORKSPACE