Add support for Caller Name Display

Copied relevant parts from CdmaConnection.java to get the information
as/if presented by network operator (Fido/Rogers in canada provide that
information, and it get displayed if there's no match in phonebook).
Although it works (the nale is displayed when the call is received),
the information is not stored (not kept in the log).

* Patch Set 2 : correct coding style
* Patch Set 3 : promote [get]cnapName, [get]cnapNapePresentation to parent
                class (Connection)
* Patch Set 4 : -remove ref to CDMA in get[CnapName|CnapNamePresentation] headers
                -remove unnecessary self ref-reference
* Patch Set 5 : -add forgoten "protected" modifier to newly promoted class memebers

Change-Id: I2279f75d679d5afa716d9904fc3b3e33c77948c6

Conflicts:

	telephony/java/com/android/internal/telephony/gsm/GsmConnection.java
SystemUI: Fix visual bug in EDGE network indicator

Signal indicators will shift left to right when
when showing data up/down arrows.

Change-Id: I3fc34e6bd1770ab8ed851672dec89e93fad22034
REVERT: frameworks/base: Fix wifi-sleep-policy
Fix delayed wifi shutdown

Use a wake up alarm to ensure delayed shut down message is sent

Bug: 5926285
Change-Id: I26a3353ddabb17d55299d8b5f9faf4c7ef5b2448
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
fix ON/OFF swithches for some Portugal locales
fix build
frameworks/base: Handle Out of Memory Exception when creating video thumbnails.

Adds code to handle an out of memory exception when generating the thumbnail
from a recently recorded video clip.

Change-Id: Ifcbe007272ffef85744fca1414ea5eacccd0154c
CRs-Fixed: 277571
old merge derps from AOKP
fix build
REVERT: DHCP leas time
Reverted some stuff regarding DHCP and reconcile with AOKP
fix build
fix build?
missing bools
Don't crash in window manager if we fail getting .apk resources.

This normally shouldn't noramlly happen, but it can in the case of
bug 6647334 (crash in LoadedApk.makeApplication) where the package
manager information becomes inconsistent, and it could also happen
if an app was uninstalled or started updating at just the right
time during a launch.

Bug: 6647334
Change-Id: Iba22efe1d646cdac46099b2135466309577dfa54
libstagefright: fallback to software encoder for high resolutions

Add error check conditions to fallback to software encoder if
hardware encoder failed in configure codec. Hardware encoder will
fail for resolutions greater than FWVGA for which software encoder
will be used for encoding.

CRs-fixed: 371334
Change-Id: I49ffa9e08ae118f883c857f3de92ecf4f66aac21
libstagefright: add 720p encoding support

extend the encoder array with ittiam encoder.
Also add the necessary quirks required for ittiam
encoder.

Change-Id: I44f8af310550f4d7c9a8bfaeb32975927a593d05
missing derp
more fixes to ON/OFF switches
Revert "frameworks/base: Compile fixes for ISO C++11"

Since we switched back to GCC 4.6.3 theres no need for these
changes. So remove them until we switch back to GCC 4.7.x.

This reverts the following commits:
c0aa24f0f9 BluetoothEventLoop: Fix build in ISO C++11 mode
7cf551210a BluetoothEventLoop: Fix build in ISO C++11 mode
900ac78bd8 frameworks/base: Fix build in ISO C++ 11 mode
900ac78bd8 frameworks/base: Fix build without ISO C++11
9d7a5f36d6 frameworks/base: Fix build in ISO C++11 mode
008f5802b8 frameworks/base: Compile fixes for ISO C++ 11

Change-Id: I07614fdaedee7bdb7162ce4a2930adc673a7430f

Conflicts:

	libs/gui/SurfaceTexture.cpp
	media/libstagefright/OMXCodec.cpp