change sensor HAL documentation to allow setting polling rate for "non continuous" sensors

the current API / Documentation would not allow to set the
rate of "non continuous" sensors.

Most sensors HAL implementation already support changing the rate
(technically they're not compliant with the doc), so it's easier
to change the doc (and also allows more control).

Change-Id: I4ad324ddc3b569ec61770b3cf927c06f8ff4af4e
improve sensor HAL documentation

Change-Id: If2c1613902de6ed0e6cae8fe4755948c0f623bda
Merge from AOSP

Change-Id: I41161514ae072b40bf4c94a9392007de1e9db937
am 29ead941: Gralloc: add a usage bit for video encoding

* commit '29ead941b377cb87bcc7fe48208b96d84d649d43':
  Gralloc: add a usage bit for video encoding
am a9b677fc: Merge "improve h/w composer documentation" into ics-mr1

* commit 'a9b677fce432b29ab8f61e13796f34880dc0fe0f':
  improve h/w composer documentation
include: hardware: update headers from CAF and ifdef for QCOM_HARDWARE

Change-Id: Icaca0c8f8a91a23f19874e932935b941fc678494
Revert "Add interface for waiting for buffer display to be done."

This reverts commit be5b79adaa92163db4436bd4e9163aa105c2972b.

This change is not needed any more because we are caching the MDP pipe
contents when closing the channel. So no need to wait for postFB finish

Change-Id: Iccd0d21d12c46a01f28902a230d1e9714a78b692
Allow loading of vendor-<class> hardware modules.

If the requested class for a module to be loaded is prefixed with
"vendor-", check that the module class matches the portion after
"vendor-" instead of comparing the full name of the requested class
to the module class. This allows easy use of the libhardware loader
in modules that wrap vendor binaries, which can directly use
hw_get_module to load the vendor binary.

Change-Id: I09f5594589e27c62448ef49ee47225b57dc6a714
hardware/libhardware: Add APIs to support LPA session

Change-Id: I0558cafacb25bfffefdfb1bd2afbf2a90f075a08
hardware/libhardware: Add audio policy functions for FM feature

- Added API for FM volume

Change-Id: I3a6638d9613b0b31cfdbaed8779399bac5c0bb61
libhardware: Add support for AMR,EVRC and QCELP tunnel mode encode

-Added framesize calculation for AMR, EVRC and QCELP audio formats
for tunnel mode encode.

Change-Id: I8cc18cf9915d1eb1ea30b749570c45e4aaf84a31
hardware/libhardware: Send correct channel count on input

-Using popCount function to get channel count gives incorrect
 value on voice call recording.
-Only STEREO and MONO bits to be considered to count
 channels on input.

Change-Id: I93c606c86ca29cf57ef4b9e677e7d40fa0487d0b
libhardware: Add support for Wifi Display
remove seemed useless gralloc_open() call in fb_device_open()

Change-Id: I520e460bd558934c71042b5a4fdb03b3935ad720
Signed-off-by: suyi Yuan <yuan.suyi@gmail.com>
libhardware: Add perform function to fb and hwc HAL

- Add perform function to HALS.
- based on the event and value it will take appropriate action
  for enableHDMIOutput, orienationChanged, videoOverlay etc.,

(cherry picked from commit d54fd39bbaa1c134dc26373d15da79f739ed69fc)

Change-Id: Ia222a4f31c833374c731055b8965a2cf277f4c0f
Merge "remove seemed useless gralloc_open() call in fb_device_open()"
Merge remote branch 'remotes/aosp/master' into merge_branch

Change-Id: I58b246dd6525eecaa1003f2799e7009fa1488fbf