SemcRIL: Update for SEMC RILv6

This updates SemcRIL for v6, right now we are taking advantage
of the higher visibility on RIL.java and overloading the required
components instead of reimplementing processSolicited/unsolicited.

The same technique can be used in QualcommNoSimReadyRil, but I'd
rather do this more contained test first.

Change-Id: Ibcba60e44f8c83fd80a2f5aed88f6ea27962f2cb
QualcommNoSimReadyRIL: Drop the initialstatechange check

ICS doesn't have it anymore, and it actually breaks the P930's init
sequence

Change-Id: Ic9dfb5f2eddcda825a6d3fc5d380ebc4d56add90
LGEQualcommUiccRIL: New subclass to deal with the latest qcom RIL

Yet another generation of CAF RIL, this one is necessary to support
multi-RAT (GSM/LTE) radios...

Change-Id: I87b5126ffbc16f3ccc7caaf227354edf95543c35
RIL: qcom: Stop the card handler thread when radio is off

Ensure the SIM is reinitialized when the radio is turned on, to
prevent state mismatches from dirty variables.
Fixes occasional crashes while entering/leaving airplane mode.

Change-Id: Ib8ca81eee00fd4a983f63190f51f5f27fd0947b6
LGEQualcommUiccRIL: Fix LTE support

Change-Id: Ifab51550113926d6d1b6c421e805f456d95faca8
LGEQualcommUiccRIL: Fix LTE signal strength

The RSRP sign is wrong, results in always-excellent network indication. Fix
it.

Change-Id: I3ad40eabca88babf41ad89903648e76f6d8c0830
LGEQualcommUiccRIL: Fix PIN/PUK operations

PIN/PUK settings/changing/disabling was broken due to missing parcel
items, fix it;
Each set of strings must be prepended by a count of said strings.

Change-Id: I902eea6ba275b24e105f1b42f7d5d9f23e76d0c5
Telephony: Add getLteOnGsmMode() method

Same functionality as the existing getLteOnCdmaMode, but for GSM
LTE devices.
Enable with the telephony.lteOnGsmDevice system property

Additionally, support GSM LTE in the SystemUI LTE power widget

Change-Id: Ibfb47ca608e51393b99d3308e0a6c66050b3f32e

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/LTEButton.java
	telephony/java/com/android/internal/telephony/BaseCommands.java
	telephony/java/com/android/internal/telephony/ITelephony.aidl
LGEQualcommUiccRIL: Adapt to new GSM+LTE support

User LTE preferences now stick, instead of resetting to LTE-on after
reboot

Change-Id: If8285af9a9eeaa70594f8a10ce5d8177b5fe030f
QualcommNoSimReadyRIL: Support radio state in new generation rils

The radio-state enums in CAF's ICS have changed from GB, radio_on is
now 10

Change-Id: I81f84a551bec0537925c4b34aa158b7c7a037f59
LGE*RIL: Skip data-call format conversions unless it's a non-ICS RIL

Use the same "datacall" feature filter as the main CM RIL

Change-Id: Id7afbe69b709774794372bf9426e6eba600df3a2
LGEQualcommRIL: Fix PIN status for e73x

The QUERY_FACILITY_LOCK call is completely broken on the e730/739
when the SIM card status (SC) is requested.
Instead of letting it go through (and fail), use the pin1 status
from the IccCard application to figure out what the lock state is,
and return it as a message to the calling handler.

Change-Id: Iaed16bcb1a3ee71d9e833e4a4ccee423de0593a4
LGEQualcommRIL: Fix dataCallState objects

Change-Id: I5f36370981737200de808922bd6772a08dc85608
LGEQualcommRIL: Fix radio version on victor

Use that device's specific GET_MODEM_VERSION request to fill in
the usual BASEBAND_VERSION data

Also, merge QualcommNoSimReadyRIL into LGEQualcommRIL, since no
other device subclasses it anymore

Change-Id: I191f7229b59fcc8ace920c9b66ee0cff0113934b
LGEQualcommRIL: Clean up processUnsolicited

At David Ferguson <ferguson.david@gmail.com>'s suggestion, remove
the full overload of processUnsolicited and have it just work with
the requests unknown by the RIL superclass. Pass everything else
upwards, unmodified.

Change-Id: Ie019fbaa3d5010bf7adc5528f3d523a77efb146f
telephony: HTCQualcommRIL: add QualcommNoSimReadyRIL based HTC RIL

HTC Ville (One S) requires a no sim ready ril, with some HTC specific
changes, such as custom radio power on and iccIO.

Change-Id: I58150e8046da95ebb11a4c78a8441b814ce4fb5d

telephony: HTCQualcommRIL: clean up processUnsolicited

Based on rmcc's processUnsolicited cleanup commit.

Change-Id: I00f266c52d281ed92b9f8dab0f3c432acc24c6e7

telephony: HTCQualcommRIL: fix signal strength calculation

HTC RIL defines a custom signal strength packet format. Modify the
signal strength packet data such that the framework signal strength
calculation function understands it.

Change-Id: I8640c2ab31f06740325f440ae4aa4a0953968146

telephony: HTCQualcommRIL: add custom sim pin/datacall functions

HTC use a custom function set for data call and simlock functionality.
This patch fixes sim pin and 3G-2G switch functionality.

Change-Id: Ieb4b47501fe1665620afa4d58616180f6c516d9e
LGEQualcommUiccRIL: Fix multi-PDP support

Multiple concurrent PDPs are now functional, allowing the back-compat
singlepdp flag to be disabled

Change-Id: I8ef55e96b9f05d4a4dd8dbbaeddf6d48ded7fc67
add RIL for Samsung devices with Qualcomm radios

currently supports Hercules, Skyrocket and AT&T Note (msm8660)
derived from LGEQualcommUiccRIL

Change-Id: Ib9c8c1d58d29b5e1894e4ffec746ece171a9697b
telephony: Consolidate Qualcomm RIL implementations

The RIL code for qualcomm devices was getting a bit messy (and
with a fair amount of duplicate code), so move all common code
to a new shared class, and keep only the minimum necessary
method overrides in the device-specific implementations

Change-Id: I50bf1f4efa30e637c825d9c5bf40ba3f2f130924
fixed typo in RIL_UNSOL_CDMA_PRL_CHANGED constant

Change-Id: I190022fc7fdd8b33a8ec14fdc712c1a99222b61f