Camera2 Test: Skip CameraModuleTest for HAL V1 devices

Bug: 10971907
Change-Id: Ia3aa0e370d7eb5de6bb1fb7ff48a71ea5605fa17
Update HWC documentation for virtual displays

Bug: 8316155
Change-Id: I56598551b07082bfff90df160b103a4158e8c8c9
usbaudio: Add QCOM ifdefs

Change-Id: Ifd7cc6e1b7615718ae6eb04b3b9dd850148009a3
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

usbaudio: Fix output device routing

Fix issue with commit a35e783 causing the output device to reset back
to the hard coded value of CARD_ID after a new output device is
specified.

This happens because out_set_parameters() receives a single "routing"
key/value pair just after setting a new output device. The if/else
statement would then cause a reset of the output device back to CARD_ID
because the "routing" message does not contain a card or device id.

Change-Id: Ib7c7eb7ef675ae371033a7ae7ce73782cac2c898
Merge remote-tracking branch 'cm/cm-11.0' into kk-4.4
Bluetooth: Check A2dp device priority.

For incoming connections stack does not check priority
of device.Add support to check priority of device in stack
for incoming connection.

Change-Id: Icc78d22048800bd448a93f96ab31e2673ce28dca
CRs-Fixed: 510957
Merge remote-tracking branch 'aosp/kitkat-mr1-release' into kk-4.4
Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1
libhardware: Add sound card status parameter

Currently audiod monitoring sound card status instead of adsp status.
This is a bug fix to monitor sound card. Audio HAL is going to use
sound card key to check sound card to status.

Change-Id: If2eba2aad2a70a414c8b258bba1ecd8f3a4b8df1
Merge remote-tracking branch 'cm/cm-11.0' into kk-4.4
usbaudio: Add QCOM ifdefs

Change-Id: Ifd7cc6e1b7615718ae6eb04b3b9dd850148009a3
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

usbaudio: Fix output device routing

Fix issue with commit a35e783 causing the output device to reset back
to the hard coded value of CARD_ID after a new output device is
specified.

This happens because out_set_parameters() receives a single "routing"
key/value pair just after setting a new output device. The if/else
statement would then cause a reset of the output device back to CARD_ID
because the "routing" message does not contain a card or device id.

Change-Id: Ib7c7eb7ef675ae371033a7ae7ce73782cac2c898
Merge remote-tracking branch 'cm/cm-11.0' into kk-4.4
Bluetooth: Check A2dp device priority.

For incoming connections stack does not check priority
of device.Add support to check priority of device in stack
for incoming connection.

Change-Id: Icc78d22048800bd448a93f96ab31e2673ce28dca
CRs-Fixed: 510957
Merge remote-tracking branch 'aosp/kitkat-mr1-release' into kk-4.4
Merge tag 'android-4.4.1_r1' into HEAD
libhardware: Add sound card status parameter

Currently audiod monitoring sound card status instead of adsp status.
This is a bug fix to monitor sound card. Audio HAL is going to use
sound card key to check sound card to status.

Change-Id: If2eba2aad2a70a414c8b258bba1ecd8f3a4b8df1
Merge remote-tracking branch 'cm/cm-11.0' into kk-4.4