Use CM standard qcom naming

Change-Id: Ic0a102a7545c04c401c4b8090cad89583605fbd4
camera: add suport for sony msm7x27a camera

Change-Id: Ie742b51b3f6b66afbd289a22a8a9c7c4a4e26501
Added support legacy Qualcomm OpenMAX IL libs for MSM7x27
Fixes for the OMX hack

Fixes the lag and adds some lost code
Fix the MSM7x27 encoder
Correct gralloc usage flags for renderer
Fix using extended extractor from older Androids
Fixing aliasing violations, C++ 11, and gcc 4.7 changes from linaro.

av: Fix duplicate definition of size_t n

Needed to make it build with gcc 4.7+

Change-Id: I78db38b094d9ffc7ee9d410d8d3f642e619eb008
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

stagefright: Fix triple redefinition of i

Needed to fix build with gcc 4.7+

Change-Id: I0767a5a4634f808f779b577cffd74e81dd5439fb
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

frameworks/media: Fix aliasing violations

Change-Id: I0c3ad4d935abe6cf6df222f7d70381d868f15fe8
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

av: Fix aliasing violations in AudioFlinger

Change-Id: Iec37ad0c2e30f34d72f8bf63c6c1aeceba0e3d50
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

libmediaplayerservice: Fix aliasing violation

Change-Id: I70c674e7f563cf76abd078b662bb18598081f29d
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

downmix: Fix aliasing violation

Change-Id: I1907da54e9ec40c9afe56c488a974d5286b787e4
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

EffectVisualizer: Fix aliasing violations

Change-Id: I35532464df41a64ed920c34ad4bc1054cf6324b2
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

frameworks/av: Fix build in ISO C++ 11 mode

Fix build in ISO C++ 11 mode: constructs that are being interpreted as
new string literals and const vs. constexpr

Change-Id: Ibdf4867da37b819b1a499180edcf7ad480b6b9de
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

av: More ISO C++ 11 fixes

Change-Id: I84bfab66d561cb0ded6e312b8cfe02e5fe2a182f
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

av: Fix build in ISO C++11 mode

Change-Id: I461d8ce5b24afedee245a6441b600df286c76b63
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Avoid memory leaks when handling metadata strings

Don't duplicate strings when retrieveing metadata from media
files. As any requests for metadata strings would pass through
the binder, this would cause the reference to the duplicate string
to be lost, causing a memory leak as the duplicate would not be
freed.

Change-Id: I2593733472b1bb589bc502b2c11080f581015bb5
Always set buffers orientation when setting the qcom camera preview
window

Fixes the rotated preview on TouchPad

Change-Id: I6aadb9f3e7778a4f109e1b3e2c353c918a783f0a
libstagefright: Fix lpa playback loss during BT switch

-Frames are lost when lpa playback is switched to BT and
music does not appear to be continuous.
-Stop is issued to the driver during close of direct track.
This results in flush of currently sent buffers. Timestamps
are not updated during A2DP switch and these buffers are
completely lost.
-Update mInternalSeeking and mTimePlayed during A2DP enable
to avoid loss of music.

CRs-Fixed: 414500
(cherry picked from commit ed340b371f65425bdf87c9f78cf7b8df4ec49b05)

Change-Id: I2b8a7cae9c29ac627c848e7a49931609f365c7d8
libstagefright: LPA playback fails when non-LPA clip is next clip

-When non-LPA clip follows an LPA clip in Music App,
 playback of LPA clip fails.
-setNextPlayer causes the loading of decoder omx component
 and acquires the DSP resources for non-LPA clip, even before
 LPA clip acquires DSP resources.
-Add property to check if hardware decoder needs to be overridden.
 If LPA is in progress, the select software decoder for next
 clip.

Change-Id: I1822447fad23358870a398d2148db8467c654054
FM Radio: Add support for FM Radio in Android

Creating interface and framework for using FM Radio
RX and TX from different vendors.

Change-Id: I1a71aed01bfffdddfabf1cdfbfa3707cb1ed016b
Signed-off-by: Benn Porscke <benn.porscke@stericsson.com>