RIL: Make RIL subclassable

Conflicts:

	telephony/java/com/android/internal/telephony/RIL.java

Change-Id: I99c194c6baa6abe6f37e92d4f8df197b1cbf69f0
RIL: Support signal strength format from v3 vendor RILs

Enable by setting property ro.telephony.ril.v3=1
RIL: fix pin unlock for old ril

Change-Id: I27eb348233d41618875473ca9bdb93d339c359f9
RIL: handle the lack of version gracefully on older RILs

Change-Id: I8227c55968f502112c5b6ac334eee505c29924c2
Break the legacy ril shims into specific features. The ICC feature breaks crespo, but crepso needs the signal strength feature.
v3 RIL: Fix getDataCallState and PIN setting

Change-Id: Icf5cee33aeec58cffb23430f0f7b06b9971a71ad
telephony: Support broken RIL implementations without CALL_RING events

This is probably specific to the LGE star: Extend the call_ring.multiple
configuration to the ringing connection event, since the CALL_RING event
itself doesn't appear. Without this, only the first ring happens.

Enable with ro.telephony.call_ring.absent=true

Change-Id: Idd272583769757c6baa638fd644b5b919cf80fec
v3 RIL: another getDataCallState fix

Change-Id: Ie4e69e231956f46bc1b82550fdf4863c1367efaf
RIL: skip broken RIL_UNSOL_DATA_CALL_LIST_CHANGED

Some old RILs might produce events with type 'IP' containing the remote IP
address, normally 10.64.64.64. These events mismatch with the previously
generated ones and cause the system to take the connection down, even if
it was up and working correctly.

Add skipbrokendatacall to ro.telephony.ril.v3 to enable the workaround.

Change-Id: I3bc3c84735201a797011aafba2718638a826f31d
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).

Change-Id: I95d90c96324502c217da84be2c5c3cd46c1c0c0f
telephony: Use reflection to create command interface (RIL class)

This has the advantage over the method used in CM7 in that the
RIL class for each device does not have to be specified in this
file in an if statement. ro.telephony.ril_class needs to be upated
to contain the name of the class instead of an identifier as used
in CM7

Change-Id: I0aafdfc78d47f493a2e35819dbe873ea98787934
telephony: Added support for use of Honeycomb Radio (Modem).

-squashed (RIL: reference ICS and GB):
https://github.com/isimobile/android_frameworks_base/commit/7507127287aa8cf84b5e811977d95400b029f95b
https://github.com/isimobile/android_frameworks_base/commit/af2b84d1860b38952784ae116172e00a4b445a1d
https://github.com/isimobile/android_frameworks_base/commit/872156a81fb4185217e7642d10ec33da4893a2b3
https://github.com/isimobile/android_frameworks_base/commit/400bbc4e3ce8e9e0219b31bb985e6628c50d0f07
https://github.com/isimobile/android_frameworks_base/commit/7cb289d9e59ac69350dd2377eff63940641df603

-cleaned up some whitespace

Change-Id: I3a3474245bb336bc3f275605648f5f94f3f9b6e7

Conflicts:

	telephony/java/com/android/internal/telephony/DataConnection.java
Telephony: Add "singlepdp" RIL feature

ICS appears to assume the radio implementation is capable of multiple
simultaneous PDP contexts; maguro, for instance, brings up a second
interface (rmnet1) alongside the primary rmnet0 whenever another APN
is needed.
Other devices (including, from tests, crespo) don't accept this, and
react in unpredictable ways when a SETUP_DATA_CALL request is made before
tearing down any other active context (making it impossible, or at
least hard, to switch APNs).

Since the old setup/deactivateDefaultPDP methods are gone, this patch
adds a back-compatibility "singlepdp" option to the ro.telephony.ril.v3
property, which enforces disabling the default PDP whenever another one
is enabled.

Change-Id: Ib4b030e3f1a32445102ac72aeb68715ef8cebd88

Conflicts:

	telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
Telephony: Correct the typo in RIL.java

Change-Id: Ia2466d478e86bb891c4b394ac86389369a9b8dd3
fix sms receiving for some Samsung CDMA phones

Change-Id: I4639b10e5d1c512135572807f9430e81b6b8869b
add MotoWrigley3GRIL

to fix:
- outgoing call identification dependency on Caller ID setting
- supplementary service notification issue known from gingerbread

Change-Id: Ic17b52e4abf5bf44a585e58bd6cb6e4863041a87
Telephony: Make the compat-flag verification method available everywhere

Export needsOldRilFeature() through the commands interface to make it
available to other parts of the telephony stack

Change-Id: I0e6fec083f5208795bf5067f8c73e35660e942ed

Conflicts:

	telephony/java/com/android/internal/telephony/CommandsInterface.java
	telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
	telephony/java/com/android/internal/telephony/sip/SipCommandInterface.java
	telephony/java/com/android/internal/telephony/test/SimulatedCommands.java
Fix contact lookup with CLIR prefix

Allow phone numbers which are saved in the phonebook including a
CLIR prefix to be correctly resolved on an incoming call.

For a proper fix, all special cases detailed in calledPartyBCDToString()
should be taken into account; unfortunately that function cannot be
directly used as it currently is.

Change-Id: Ie070e1efc0921bfb0ae0802f500afced5071a652
fixed typo in RIL_UNSOL_CDMA_PRL_CHANGED constant

Change-Id: I190022fc7fdd8b33a8ec14fdc712c1a99222b61f

Conflicts:

	telephony/java/com/android/internal/telephony/Smdk4210RIL.java
Telephony: Handle Data Call List

* Check call status before validating data call state
* Remove duplicates from the list of data calls
* Add RIL_UNSOL_DATA_NETWORK_STATE_CHANGED string to RIL

Change-Id: Iea75053cb8226ec15d2a2c11a73332e5ebe8c793