am cd347fdf: Allow to force 16bpp when 32bpp has problems

* commit 'cd347fdf74d5f2e0af856455c514e655f40a6fdb':
  Allow to force 16bpp when 32bpp has problems
am 7b584867: am cd347fdf: Allow to force 16bpp when 32bpp has problems

* commit '7b584867cdfef3ba393e308471d5da76024e249c':
  Allow to force 16bpp when 32bpp has problems
am cb4ea7ac: am 7b584867: am cd347fdf: Allow to force 16bpp when 32bpp has problems

* commit 'cb4ea7ac8af7ac0732f480dc4938e62566bd5550':
  Allow to force 16bpp when 32bpp has problems
support humidity sensor type

Change-Id: I7600d64ea28d2eefc20104cbf81270ddad9d57c0
libhardware: add concept of module classes

Needed for things like audio and audio effects. Provides a
new interface to loading modules named 'hw_get_module_by_class'.
This takes two parameters: 'class_id' and 'instance' which are
used to construct the filename for the module to be loaded. If
instance is NULL, then this function acts identically to
hw_get_module where 'class_id' == 'id' (and in fact the latter
implemented exactly this way).

For audio, this new mechanism allows us to load multiple audio
interfaces by doing:

hw_get_module_by_class("audio", "primary", &module);
hw_get_module_by_class("audio", "a2dp", &module);
hw_get_module_by_class("audio", "usb", &module);
...

In the future we will likely want to add the ability to load a set of
module instances based on a config file, which will have a standard
syntax and the mechanism will be provided by libhardware.

Change-Id: I9976cc6d59a85a414b18e7b398a36edfbce4abd8
Signed-off-by: Dima Zavin <dima@android.com>
add a method to blank/unblank the screen

Change-Id: I3874654248826c29e57bb62bb5217184bdfb4263
Merge "add a method to blank/unblank the screen"
libhardware: add audio defines and HAL headers

Change-Id: Iae523059834c252f0d39f7efc6e15832e6273101
Signed-off-by: Dima Zavin <dima@android.com>
libhardware: add separate makefile for modules subdir

Change-Id: I787c444ee1c3a687ee6f8f551c359e5e908ed7f5
Signed-off-by: Dima Zavin <dima@android.com>
libhardware: add stub audio and audio_policy modules

Change-Id: Ib6c0c49dbc369b735b2ac5fb5b583de96c3e9f3e
Signed-off-by: Dima Zavin <dima@android.com>
Add <hardware/qemu_pipe.h> header.

This header is used to implement qemu pipes, a very fast way to exchange
messages between the guest and the emulator program. See implementation and
tests under development/tools/emulator/system/libqemu/

Change-Id: I8272435cb9bf6e2a96ac62b9a56cbc5930052682
Merge "Add <hardware/qemu_pipe.h> header."
am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."

* commit 'ee5636cff3411f80ae4ec73e14564ff2783eef9e':
  Add <hardware/qemu_pipe.h> header.
get rid of GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFER

Change-Id: I916812dcfa2e1188e7e249303b80b7b221de71fd
remove deprecated/unused HAL headers

copybit, overlay, sensors_deprecated are no longer supported.

Change-Id: Ie5da20bd4ff95f7565a162d628bf572a76327b7b
<hardware/qemu_pipe.h>: Allow inclusion from C++

Change-Id: Ic33b5daf7a01e8fe638ea1ccc54ed76561745abe
Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"
am 67e71a87: am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."

* commit '67e71a870d882be851def98fb3e87c3a67a4b93e':
  Add <hardware/qemu_pipe.h> header.
am d1be1d02: Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"

* commit 'd1be1d02135917497866526ce12ef4c2548e63cb':
  <hardware/qemu_pipe.h>: Allow inclusion from C++
am 61d6a702: am 67e71a87: am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."

* commit '61d6a702dc318247273169e0eafb74f4bd7e7c59':
  Add <hardware/qemu_pipe.h> header.