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
Bluetooth: HID: Add support for Set Idle and Get Idle commands

This patch adds the relevant callback prototyps for Set Idle and
Get Idle which is used for setting idle time on HID devices.

Change-Id: I4c528a510edd847bc6121ce0b875ae313f090b9c
CRs-Fixed: 522511
Bluetooth: Add BT_PROPERTY_REMOTE_TRUST_VALUE in BT property

Add the above property for device trust feature in bluetooth.

Change-Id: Ieab0dd140ac6080551f162a0517552bd469204f2
CRs-fixed: 523135
libhardware: allow all platforms to disable external rotation

Change-Id: Ifa70b4232e5822936074f1272dce5498be471c9d
hwc: Enable orientation event for all targets

 * This is useful all targets, so remove the QCOM ifdef.

Change-Id: I6c1f517b9bc1f11266817883bf2c5ca7c497c5b7
Merge "hwc: Enable orientation event for all targets" into cm-10.2
Update for ICS Audio blobs

Change-Id: Ib3e20a663b963d39b67c4376b2065561eeea21ed