usbaudio: Make the USB audio HAL actually work.

 * Set a default device if none is set.
 * Shush some logging.
 * Only use the mmap interface on QCOM devices.

Change-Id: I790a6733e85b169e645e020fa92608a0d4fea3c2
usbaudio: Provide a way to hardcode the card id

 * Some devices will have secondary sound cards for things like SPDIF.
 * Let's provide a way to hardcode the correct value for now until we
   have framework support for doing this correctly.

Change-Id: I6f3396692f1acc1602491e3a3befea8e04b6c9cf
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
hwcomposer: Add sourceTransform to hwc_layer_t

sourceTransform has the source buffer transform which can used to
apply rotation on displays whose orientation is fixed(HDMI).

CRs-fixed: 387357
Change-Id: I26eb2de76b3548634a80ca8b98547c6fdfe145ea
(cherry picked from commit f16aed381eb2a7232bf576c1d77cdad61be54419)
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
Merge "Irda: Added IrDA HAL Library" into jb4.3
Merge "usbaudio: Make the USB audio HAL actually work." into jb4.3
Merge "usbaudio: Provide a way to hardcode the card id" into jb4.3
Merge "Bluetooth: HID: Add support for Set Idle and Get Idle commands" into jb4.3
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
hwc: Enable orientation event for all targets

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

Change-Id: I6c1f517b9bc1f11266817883bf2c5ca7c497c5b7
libhardware: allow all platforms to disable external rotation

Change-Id: Ifa70b4232e5822936074f1272dce5498be471c9d
Fix our bt back to AOSP

Revert "Bluetooth: HID: Add support for Set Idle and Get Idle commands"

This reverts commit 20cf574a116b80e8bcffdeba89bc5498b69da362.

Revert "Bluetooth: Add BT_PROPERTY_REMOTE_TRUST_VALUE in BT property"

This reverts commit dc9308dad7f33e3c4e60f4d865e3378399e0ea52.

Revert "Bluetooth: Security: Handle authentication rejected error status"

This reverts commit 05eaa2ea5d50dc96f7272bbcc502fcd820b4bd36.
Added ifndef ICS_AUDIO_BLOB around non-existent functions (1/3)

For older audio blobs where is_source_active and is_stream_active_remotely
doesn't exist, receiving a notification and dumpsys crashes the audio service.

Change-Id: I162fc97fd0051121f1cd3e63832ce5b25d1d218e
Merge pull request #1 from SlimRoms/jb4.3

Update android_hardware_libhardware to fix build errors