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
usbaudio: fix for out->dev->lock remains locked in error case

-out->dev->lock remains locked in error case in out_write()
-Added pthread_mutex_unlock() in the error case

Change-Id: Ibbbd5ced1f9d469cfba3b33a94414d0b94affa8f
CRs-Fixed: 522054
Bluetooth: Add support for set_priority for HID Host

This patch adds support for set_priority for HID Host. With this new
method, btif layer would be informed of remote HID Device priority
and would help in early rejection of HID incoming connection in case
User on DUT has unchecked Input device from Application.

Change-Id: I0c1ac7c8ad010b8d7e8aa5653e69568a45f4af92
CRs-Fixed: 532234
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2