Power: Add multimedia hints

Add hints for video encode and decode use cases. These
hints are sent when the relevant use case starts and ends.
Clients can also send metadata along with the hint to provide
context to the power HAL so that it can make more informed
decisions about how to tweak system-level parameters.

Bug: 9325608
Change-Id: I4731acbe50a7401a95ec9231c4e1a4795098fcd4
Signed-off-by: Iliyan Malchev <malchev@google.com>
libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE

Bug: 9581070
Change-Id: Ifb47ed0d4fc201732ca6593d41317ec356ead2ba
Signed-off-by: Iliyan Malchev <malchev@google.com>
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
Enable native HAL tests to work for camera3 devices

Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
Merge tag 'android-4.3_r2.2' of https://android.googlesource.com/platform/hardware/libhardware into cm-10.2

Android 4.3 release 2.2

Change-Id: I224a6f5c72e7def81f4c7b89bdaf44bf1a920643
Irda: Added IrDA HAL Library

This HAL is supposed to be generic in the long term, and at the
very least, works on other Samsung devices such as n80xx.

Change-Id: I6521f4b4fd4822381d941a83581d4bce942e41a8
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2