Revert "fix sms receiving for some Samsung CDMA phones"

This reverts commit 6ad23f7e3fd48f4fb86e8b6caa3916d6ea96ba3a.
Telephony: Updated radio states for CM classes

Change-Id: Ida1522f117d6bbdfcd78f207a43cc8d9dac8fd72
framework: Split off some packages to a new file

frameworks.jar is now hitting the maximum number of member classes
(65535), resulting in the build failing with...

 trouble writing output: Too many methods: 65641; max is 65536. By package:
     26 android
    145 android.accessibilityservice
    700 android.accounts
    436 android.animation
      8 android.annotation
   3787 android.app

As a workaround, split off some packages to a new jar.

This will probably need reviewing, the wiggle room left by moving
these packages is only about 1100 members

Change-Id: I470ac6833693676884747f9204f8238652c2b322
Telephony: Reintroduce the old ICS RadioStates

All the previous SIM/RUIM states are now equivalent to "RADIO_ON".
Tested with a fully ICS-compliant set of radio libraries, and appears
to work fully.

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

Change-Id: I6c792b6f5f586cf40d4a9b834e793a68c1e458a7
Wifi: Allow configuration of the P2P ifname

ICS used the same wifi.interface as the regular wifi service.
Let's use wifi.p2pinterface here, since they _can_ be different

Change-Id: Iab68b245b33377271354c849bbe33725a26193f1
framework: fix screenshot and rotation aimation for devices with abnormal hw rotation

Change-Id: I42694931cb1a754aa6c7652c0a96304ef1f88492
installd: Delete cache properly for devices using datadata partition

The java side already checks /data/data for free space but installd
still checks /data causing it to never reap the cache (because it
thinks that enough free space is available.)

Change-Id: I191f3ceb84df1101ab2918ec0038213d72ec1ce2
DexOpt anything on /system in /cache/dalvik-cache

Allow property to disable dexopt on /cache

(cherry-picked commit e2319e46f16b71e71e5e9cd593019edaa48c1be0)

Conflicts:

	cmds/installd/installd.h

Change-Id: I79e5de4b466c6b5175145592f1ca4e6331e4a4ac
samsung: add support for tvout and yamahaplayer services

Change-Id: I653f9876b7fb83734abf3a0b9b9b5af1920b8112
Preference to disable bootanimation for faster boot. (1/2 Framework)
Implemented in ICS

On galaxys2 it went from 13s to 5s when enabled.

Change-Id: I89bdbc11a939544b9fb3cfc48d49892da473ef92
bootanim: Don't cache textures if they're expected to use a lot of VRAM

bootanimation cached all the textures generated until the animation
was completed.
For Hi-res animations with lots of frames (like the new CM9 anim on
xhdpi devices), this implied using large amounts of video RAM, more
than most devices actually have available, causing the animation to
stall (and in some cases, gralloc to lock up); so if an animation is
expected to use a lot of RAM (rough estimation based on frame size
and number of frames), disable cache entirely and generate the textures
on demand

Change-Id: I157e5cdde2aab1d82d980d77cbedd9f127c83a1d

Conflicts:

	cmds/bootanimation/BootAnimation.cpp
bootanimation: performance enhancements

This patch implements two simple performance enhancements, which
might benefit devices. They are completely opt-in by setting
the following variables.

  * TARGET_BOOTANIMATION_PRELOAD: will preload the bootanimation
    zip to memory; this is handy on devices where the storage
    might be slow. By preloading it, we get quick access to the
    zip file, and the animation doesn't stutter.

  * TARGET_BOOTANIMATION_TEXTURE_CACHE: allows maintainers to
    force texture cache on/off.

Also fixes the sign warnings related to int / size_t comparison

Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5

Conflicts:

	cmds/bootanimation/BootAnimation.cpp
bootanimation: fix usage of LOGW

Change-Id: I1d59df9f44f414d80058a532644cbbb40e22c701
QualcommSharedRIL: Fix JB init sequence

This basically skips the whole qcom-specific initialization state
machine, since the JB states _are_ qcom's.
The Icc thread and setRadioState hooks will almost surely be possible
to delete once JB work settles down

Change-Id: Iea32cc8f4fa3aa2b12a3c44cd2939ec93878e43c
Add RIL class for D2 GSM devices with Samsung video call field.

Add a new RIL class with responseCallList that handles the Samsung video call
field. Fixes stuck on hangup and missed incoming call on d2att.

Change-Id: I3204283876a0d1c8af4c6df1c04d8c34c3a6131f
telephony: support for setting add. audioparams for incall audio

Changepick-Id: Ic6f72fba542e1421631826d9bcd86340064c942b

telephony: allow to specify on and off values for setting additional audioparams

Change-Id: I574c0315f0cadc65b064aa621e0f35160a369b2d

Conflicts:

	core/res/res/values/public.xml
Add an option to change the device hostname (1/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: I44e4771f4415a32fe66867d4dd90f1ad138341e1
Add support for ICS camera blobs

Change-Id: Icf9010f4b6059405275107fadd5aac81cd294182
Telephony: Add reading of perso_unblock_retries to QC CDMA RIL

VZW Icc applications require this. Otherwise when reading multiple
SIM entries a failure occurs on the second failure since the package
readings are offset.

Change-Id: Id0fbe1c1490ea4508d517841bb65b01ffc8a9ba4