Adds support for samsung exy i9300 HDMI (and a few other SoC's)

Squash of two commits ;D

surfaceflinger: added support for samsung hdmi

Original patch: http://android.git.linaro.org/gitweb?p=platform/frameworks/base.git;a=commit;h=af9326138d5fcab2692c751ad5baac701d552b0f

Change-Id: I7572267f5e8380731d38b7915855bc6377a0801d

Conflicts:

	services/surfaceflinger/Android.mk

libui: added support for samsung hdmi

Change-Id: I1998ec583f0399aae3154a66a55fbad87c0e77d0

Conflicts:

	libs/ui/Android.mk
frameworks/base: Fix build in ISO C++11 mode

Fix various incompatibilities with ISO C++11:
- Assumption that char16_t is defined to uint16_t
- constexpr usage
- macro constructs that could be interpreted as string literals
- enum typesafety

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

Conflicts:

	core/jni/android_emoji_EmojiFactory.cpp
	libs/gui/SurfaceTexture.cpp
	media/jni/mediaeditor/VideoEditorClasses.cpp

Change-Id: Ie85b4e17e9a2cf631b3618c2a96b2a069bc4156b
visualizer: Use -fno-strict-aliasing for now

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
voip: Fix aliasing violation

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

Conflicts:

	voip/jni/rtp/AudioGroup.cpp

Change-Id: I1611b26b91bab28fcc958459c729d44a1d9b1d73
Show dock battery level if available

Please test -nocoast

patchset 1: Initial commit without icons
patchset 2: Add icons
patchset 3: Remove nested layout

Change-Id: Ie853087999d929579ececf3f6b3b01ced32dff85

Conflicts:

	packages/SystemUI/res/layout-sw600dp/status_bar_notification_area.xml
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
Merge "Show dock battery level if available" into ics
Merge "Adds support for samsung exy i9300 HDMI (and a few other SoC's)" into ics
Merge "frameworks/base: Fix build in ISO C++11 mode" into ics
Merge "visualizer: Use -fno-strict-aliasing for now" into ics
Merge "voip: Fix aliasing violation" into ics
Add Qualcomm Permissions For Ril Daemon

Change-Id: I0b4be7c7a4ec676bfc43cfcd66ac35fb120414bb
Fix Headset For Msm7x30 Devices

Change-Id: I2080c5f393e65aeb3f4454e52a02d13c0c22f1f2
Merge "Fix Headset For Msm7x30 Devices" into ics
Revert "frameworks/base: Fix build in ISO C++11 mode"

This reverts commit 5d09a49e6584f110d5ec58faf4b3d951f0f5977f.
Merge "Revert "frameworks/base: Fix build in ISO C++11 mode"" into ics
Revert "libstagefright: Fix MPEG4 timestamp"

A lot of applications (e.g. QuickTime, mkvmerge) apparently does not like the 64-bit timestamp and will fail to open the file.

This reverts commit 893586d4b7a0dbea070404323837ef4f0a7c9b79
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

Conflicts:

	core/java/android/provider/Settings.java
Port power widget improvements from CM7 to CM9.

This is a squash of the following change IDs:
I42b4ad02c4eb8b57a2f4cf51a31148c4b0546b81
I6f619740659cfedec3a3c9517fb55275f601d792
Iaee471b29b306e9ebcc6a81799f7e36872951002

Change-Id: I4e40d8e27b9bb11367e30223ffb8024985476e74

Conflicts:

	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/BrightnessButton.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/FlashlightButton.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/PowerButton.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/PowerWidget.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/WimaxButton.java
framework/base: hwui: Clear layer FBO after FBO cache is updated

Due to bug in GLRenderer stale FBO remains and can cause
corruption, clear layer fbo when fbo returned to cache.

CRs-fixed: 340481

(cherry picked from commit b01c082e12c4c4091016af1c95d851f29f5b7514)

Conflicts:

	libs/hwui/LayerRenderer.cpp

Change-Id: I8624879b4adbf9438a8c065b78932d1a4a2a15d4
servicemanager: Allow tegra audio to register as a service

Change-Id: I6c792b6f5f586cf40d4a9b834e793a68c1e458a7

Conflicts:

	cmds/servicemanager/service_manager.c