libHardware changes to support Avrcp1.5

Provide support for Avrcp1.5 so that remote CT is able to
browse the list of available media players on DUT and select the
media player from the available list of players, from remote.

Change-Id: Ib804efc3a42d14f302d0d1eec7ab34c9f13b5c7d
(cherry picked from commit 930dea418889c07a9ee3e6cfba3a57f7ef79df9f)
(cherry picked from commit 611745ca017c72079d4a3e7a2f7e953cd00350d5)
(cherry picked from commit 169a7fa2f35e68b5cc9a3f924a94b05a01b18614)
Bluetooth: SAP: Header files changes to support SAP on Bluedroid

This change consists of:
Header file changes for Bluedroid SAP profile

Change-Id: I3c685967d6ed154f57fcd6f30b2402af9f42ec3f
(cherry picked from commit ff4940b8f32511fb870facc4eb2c36fb27890de0)
(cherry picked from commit d60cdf06d3220127e05a4f0db8fcda8c452b5637)
(cherry picked from commit 8bcadb8fef1f42a930b6bcf44c51cb8da58e9383)
Bluetooth: Added function prototype for codec.

This function is used to notify the BT APP
about the codec negtiated.

Change-Id: I058a9b6409341d3fc849de1386174207bd9df1e3
(cherry picked from commit cce5c76bfa42c54e15d6eb3bd43ae9cea82c462c)
(cherry picked from commit 3add2cdff0fd82f887925ff6f26211c8ee6d0c07)
(cherry picked from commit ed834a7088edaa64aa48912abf15cc6ae510d766)
Bluetooth: Added new prototype of HFP feature bitmask.

This function will allow to let the BT stack use
the features supported by the Bluetooth HFP app.

CRs-Fixed: 482189
Change-Id: I9d015562e310ed2901ada91e692083dde7ac4614
(cherry picked from commit cad7f788e01e07659a605a1f61095a503f68563e)
(cherry picked from commit e0e16d9f105400b3339aa48ea99131fce1570029)
(cherry picked from commit 2d6f0d249c89a5cd9ece75a74bfd96c5c3a32068)
libhardware: Enable MMAP interface in USB Audio HAL

Allow USB Audio HAL to write using MMAP interface
to support USB Audio AoA feature.

Change-Id: If23d2b618277ab64853fc1d778767a95482bedbf
(cherry picked from commit 1dc50e2b4d2bbac5d39edfd408d011cfaf4cd82b)
(cherry picked from commit bff3e5a4d2d0e61e6c35cfb3ef66be51ae98b3c8)
(cherry picked from commit ba5d429fe4817c48c089d34954daea21f321bf11)
audio: Add QCOM feature support for frame size

- Add support for QCOM audio formats in audio_stream_frame_size
- Send correct channel count for voice call recording
- add support for VOIP
- reference change  I7a2f5a25c7571b3abf4cedb9d9104681304d1629

Change-Id: Ic1dc22571d4860f143efbc8a24f2933eae3c1de9
(cherry picked from commit 29ee43bc11557970569df2b192fd40fa41683ab2)
(cherry picked from commit ff693eda23e0009b0864e1b31ba1cbf49691c449)
(cherry picked from commit 4c6d213db8940842d0b9ab6b05fcd99116740965)
libhardware: Add keys to support FM

Add keys for FM device and FM volume

Change-Id: Ib26df18a72f96bf19d577d99e93296a37f04ed7b
(cherry picked from commit 1dd30a530cf3b595d9877d0d15739b2b1b76889a)
(cherry picked from commit 2599b75a58206332ea00206171dfff078bda20ff)
(cherry picked from commit 0a3f3c974406228d6541a2df6d38b42fdbfd790b)
libhardware: Add MSM string parameters.

- Add MSM specific string parameters for
 VoIP, Fluence, SSR, A2DP and ADSP

Change-Id: I3b0dee240c507c4cad14529e4a79404d6902be7a
(cherry picked from commit 24f52207794e7f2c7ab0cbf8cfd933d2f11adf1e)
(cherry picked from commit 4709458913009c131d6f7a3716c72c3f180eca8e)
(cherry picked from commit 3e57aadd82c38d87522121f41e184cea34cb3653)