RIL: Sink RIL_REQUEST_GET_DATA_CALL_PROFILE for version < 10

Old RILs won't have this L request, and the ID may conflict with
something in the vendor library.

Change-Id: I7ae80736526043633fc3ae076c4d37e0ad84eda1
RIL: mark mInstanceId as protected

To use in RIL subclasses

Change-Id: I4ab1ea79079e3b03670b1e985f7a574df1f16658
MCC to ISO country code mapping corrected

ISO code of Democratic Republic of the Congo (MCC 630) changed from CG to CD (CD is correct for Congo - different country, MCC 629)
Added Niue (ISO: NU, MCC 555)
Added South Sudan (ISO: SS, MCC: 659)
Added Tuvalu (ISO: TV, MCC 553)

Change-Id: I3867190d1c34e8e2717eae3e393c0c647c6b2cb0
Reference: ITU E.212: http://www.itu.int/dms_pub/itu-t/opb/sp/T-SP-E.212A-2012-PDF-E.pdf
RIL: set responseCellInfoList protected to override in sub classes

Change-Id: Ibbbee0c1a59ab2be6b71fc2f70c6279314b55d6e
telephony: add SamsungExynos4RIL class

Forward ported from CM10 including contributions from:
Andrew Dodd<atd7@cornell.edu>
Daniel Bateman <jetison.24@gmail.com>
Daniel Hillenbrand <codeworkx@cyanogenmod.org>
Ethan Chen <intervigil@gmail.com>
Lee Chu <lee.lc.chu@gmail.com>
Mike Kasick <mike@kasick.org>

Change-Id: Ibc33a866a02a88b346ae30aa6f09a398edfc79c1

Conflicts:
	src/java/com/android/internal/telephony/RIL.java
SamsungExynos4RIL: set number of elements returned from QAN response

Change-Id: Ia9b50814987f9bd4cf7f69d7fe7e8f9dfa4316c6
SamsungExynos4RIL: fixup radio states, notify on PIN-unlock

Change-Id: Id512e61d383ccc0df8ca1a6c398adce80d917a5d
SamsungExynos4RIL: fix signal strength

Doesn't work with Gingerbread radios!

Since ICS, the modem sends the signal strength in the first 8 bits
and the number of bars as from bit 9.
For old radios the first 8 bits are always 99.

Change-Id: I67b31baf18cbce2dfa7e6f8b096caaae74cd7cd8
SamsungExynos4RIL: Allow signal strength to be handled for GB modems

For devices that have no modems that support the ICS signal strength handling, allow handling it the old way with the ro.ril.gbmodem system property.

Change-Id: I68270c5a4026b2c8f448125607ee47dd04249176
SamsungExynos4RIL: provide a fallback solution if signalstrength is invalid

Change-Id: Ib533b15feb4f56c00f1ce3c7baff5e0e73255e6c
SamsungExynos4RIL: fix emergency dialing

Change-Id: Ib910b82141a737b85b6c4e6cc7cec7c72a1d08b3
SamsungExynos4RIL: cleanup for use with opensource libril

* only emergency dialing needs hacks

Change-Id: Ib573d65fd4fb3201bdbe0960838d15f88645a8ec

Conflicts:
	src/java/com/android/internal/telephony/SamsungExynos4RIL.java
test
x
CM: Use Rlog

Change-Id: I7439a200b9b8f815500ce89c922df069acbfc1a0

Conflicts:
	src/java/com/android/internal/telephony/HTCQualcommRIL.java
	src/java/com/android/internal/telephony/LGEQualcommUiccRIL.java
	src/java/com/android/internal/telephony/SamsungCDMAv6RIL.java
	src/java/com/android/internal/telephony/SamsungExynos3RIL.java
	src/java/com/android/internal/telephony/SonyQualcomm8x60RIL.java
RIL subclasses: Fix processSolicited for the new API

Conflicts:
	src/java/com/android/internal/telephony/HTCCDMAQualcommRIL.java
	src/java/com/android/internal/telephony/QualcommSharedRIL.java
	src/java/com/android/internal/telephony/SamsungCDMAv6RIL.java
	src/java/com/android/internal/telephony/SamsungExynos3RIL.java
	src/java/com/android/internal/telephony/SamsungQualcommRIL.java
telephony: Fix custom RILs for new API

Change-Id: Ibc4174fbe9046dcdfcdf58f6aaf2dc7b5bcd483b

Conflicts:
	src/java/com/android/internal/telephony/QualcommSharedRIL.java
	src/java/com/android/internal/telephony/SamsungCDMAv6RIL.java
	src/java/com/android/internal/telephony/SamsungExynos3RIL.java
	src/java/com/android/internal/telephony/SamsungQualcommRIL.java
SamsungExynos4RIL: buffer CAT Proactive Command

The RIL sends a CAT proactive command (init) before the registrant
is registered causing the command to be missed and STK menu to
not show up. Buffer it and fire it when the registrant is registered.

Change-Id: I021ce911e55b30c1a2d95d8060f7d9ff72e3b742
Add Samsung STK support (telephony part)

Support for SMS-based SIM applications.
Partially rewritten the original patch by Jüri Schultz to be less intrusive.

Change-Id: I15d2de1781a2823e24941dd792db3d372578aa9f

Conflicts:
	src/java/com/android/internal/telephony/BaseCommands.java
	src/java/com/android/internal/telephony/RIL.java

Conflicts:
	src/java/com/android/internal/telephony/CommandsInterface.java
	src/java/com/android/internal/telephony/RIL.java
	src/java/com/android/internal/telephony/cat/CatService.java
	src/java/com/android/internal/telephony/cat/CommandParams.java
	src/java/com/android/internal/telephony/cat/ValueParser.java
Samsung STK: Add USSD support

Allow USSD-based STK applications to work

Change-Id: I483f37a44a6c3ed43eefcf979e17b84877d03f93

Conflicts:
	src/java/com/android/internal/telephony/cat/CatService.java
Samsung STK: Fix SMS-based STK

SEND_SMS was falling through to SEND_USSD (which used to do nothing
until USSD support was added) causing an Exception because cmdParams
is not an instance of SendUSSDParams.

Fix by using type-checking instead of checking if Samsung STK is
enabled (because SendSMSParams and SendUSSDParams will only be
created if Samsung STK is enabled.)

Change-Id: I671014e295e9e529aad25a8b6fbd5a2e5788fc44