Battery Light: Add ability to configure (Part 1 of 2)

Adds Quiet hours support and ability to configure the led if the
device supports multiple colors for the Light - enabled via overlay
with default as 'false'

Change-Id: I905dde400ba0780066f2b2a20142eaa27e158655
config_multiColorBatteryLed ==> true
Add a new API on DRM Framework for streaming

In case of DRM streaming, decrypt session can start just after
receiving the header, and it doesn't need to wait for the entire
content. However, current API of DRM framework only accepts file
handle or URI. With this new API, DRM session can start
without waiting for the entire content.

Changes are made by SEMC and Sony.

Change-Id: I74375fe127df636067f1c300ea91654ba3d1aa3c
Webkit: Multitab Management

Enhancements to control activities in browser background tabs
ALOGV ==> LOGV
ALOGV ==> LOGV
ALOGV ==> LOGV
ALOGV ==> LOGV
Stagefright changes for Interlaced video buffers

Since domx in omap4xxx tree is updated, use the definitions
in there instead of defining them in stagefright.

Change-Id: I18318d98e7487466bb3235ab1479c05c38aded0b
Signed-off-by: Tyler Luu <tluu@ti.com>

Conflicts:

	include/media/stagefright/ColorConverter.h
	include/media/stagefright/openmax/OMX_Index.h
	include/media/stagefright/openmax/OMX_Video.h
	media/libstagefright/OMXCodec.cpp
	media/libstagefright/StagefrightMetadataRetriever.cpp
	media/libstagefright/colorconversion/Android.mk
	media/libstagefright/colorconversion/ColorConverter.cpp
Merge branch 'ics' of github.com:teamb00sted/platform_frameworks_base into ics
Video Encoder: Remove Hard coding of H264 Encoder Profile

This patch removes hard coding of baseline profile.
Now using system properties we can set Encoder profile.
Signed-off-by: Sathya Prakash M R <a0393677@ti.com>
Signed-off-by: Vicky Martinez-DeFrain <a0869710@ti.com>
Change-Id: I9fc61016843b5d9e91d6f068a1c7838a67a0b1cc

Conflicts:

	media/libstagefright/OMXCodec.cpp
TimeLapse recording with High Profile Encoder

When Timelapse recording is performed, Encoder is expected
to process each input buffer and provide a output buffer.
This wont work when we have B Frames enabled.
This patch disables B Frames when Encoder flag
kOnlySubmitOneInputBufferAtOneTime is set to allow
submission of 1 frame at a time.

Patch set#4: Added the check to cover all encoders.
Updated commit message and comments in code to be in sync
with the patch submitted to google.

Change-Id: I7dd17f8ce9185abe3c6749caa34c90500bd2f913
Signed-off-by: Sathya Prakash M R <a0393677@ti.com>

Conflicts:

	media/libstagefright/OMXCodec.cpp
Stagefright changes for Interlaced video buffers

Since domx in omap4xxx tree is updated, use the definitions
in there instead of defining them in stagefright.

Change-Id: I18318d98e7487466bb3235ab1479c05c38aded0b
Signed-off-by: Tyler Luu <tluu@ti.com>

Conflicts:

	include/media/stagefright/openmax/OMX_Index.h
	media/libstagefright/colorconversion/Android.mk
Integrating TI OMAP4 Video Decoder

Added the video decoder component name to kDecoderInfo.
Set the quirks for the video decoder.
Add a new color format to OMX_IVCommon.h to denote TI OMAP4 NV12 color format.
Added a color conversion routine [ from NV12 to RGB ] for thumbnail generation.

Change-Id: I6b23c36441645ef65ec7406ba262d19f89cf64fd
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
Signed-off-by: Sreenidhi Koti <sreenidhi@ti.com>
Signed-off-by: Anu Sundararajan <sanuradha@ti.com>

Conflicts:

	include/media/stagefright/openmax/OMX_IVCommon.h
	media/libstagefright/OMXCodec.cpp
	media/libstagefright/colorconversion/ColorConverter.cpp
remove extra endif
Libstagefright: Add reading of extended frame rates

Inorder to support 60fps and beyond, camera source
has to read the extended supported frame rates from
camerahal to validate against the app passed fps

Change-Id: I1bdb19dadfb755fcd749ee95840c1d47d28cb691
Signed-off-by: Sundar Raman <sunds@ti.com>
PATCH[1/3] OMAP_ENHANCEMENT_S3D cleanup.

Use bits in hwc layer's flag variable to store S3D specific data like
view order, layout type and render mode. This makes HWC independent of
OMAP_ENHANCEMENT_S3D compilation flag.

Patch 2/3 is http://review.omapzoom.org/#/c/21290/
Patch 3/3 is http://review.omapzoom.org/#/c/21291/

Change-Id: I94efee50519e70783dbabdf2e0008f83e891f02e
Signed-off-by: Jagadeesh Pakaravoor <j-pakaravoor@ti.com>

Conflicts:

	include/ui/S3DFormat.h
	services/surfaceflinger/OmapLayer.cpp
PATCH[2/3] OMAP_ENHANCEMENT_S3D cleanup.

Use bits in hwc layer's flag variable to store S3D specific data like
view order, layout type and render mode. This makes HWC independent of
OMAP_ENHANCEMENT_S3D compilation flag.

This patch depends on: http://review.omapzoom.org/#/c/21289/
And the patch is required by: http://review.omapzoom.org/#/c/21291/

Change-Id: Ia35a6506df2e816d7fea83b41512cf944683277b
Signed-off-by: Jagadeesh Pakaravoor <j-pakaravoor@ti.com>

Conflicts:

	include/hardware/hwcomposer.h
PATCH[3/3] OMAP_ENHANCEMENT_S3D cleanup.

Use bits in hwc layer's flag variable to store S3D specific data like
view order, layout type and render mode. This makes HWC independent of
OMAP_ENHANCEMENT_S3D compilation flag.

This patch depends on:
Patch 1: http://review.omapzoom.org/#/c/21289/
Patch 2: http://review.omapzoom.org/#/c/21290/

Change-Id: Icbc5a482552fe354018f4e0db9deaeb6635def70
Signed-off-by: Jagadeesh Pakaravoor <j-pakaravoor@ti.com>

Conflicts:

	hwc/Android.mk
	hwc/hwc.c
SurfaceflingerS3D: Fixed S3D surface config change

New S3D surface config was not getting applied when changed dynamically.
Now the surface is recomposed upon dynamic change.

Change-Id: I7abf68b578dbbb5d7a2b1bb6c1694a8061337961
Signed-off-by: Pavel Nedev <pnedev@mm-sol.com>

Conflicts:

	services/surfaceflinger/S3DSurfaceFlinger.cpp