Camera2: Add thermal adapter

Thermal adapter is a singleton class to abstract a
thermal daemon client. The adapter would notify
camera HAL of thermal events.

Based on thermal threshold and level, we may adjust
camera/camcorder FPS accordingly.

Change-Id: Ib5192243f5b20ea151bd18cdf743a04e926aaab9
7 files changed