telephony: DataConnection: support old RILs

Older RILs require different technology value

Change-Id: Ia72bb1229132a00b5c343c0467823b895f0338d0
SamsungExynos3RIL: fix sim PIN handling

(cherry-picked from cm-10.2)

- fake sim status changed on incorrect PIN (rebase from RIL)
- notify PIN-correct using RADIO_ON instead of on signal strength
  (causes ICC to be queried all the time if no SIM is inserted)

Change-Id: Ie0a77eee7d6a230d511d648633aa0e6f945038ff
HTCQualcommRIL: properly reset radio on RIL_CONNECTED

* Resets radio on RIL_CONNECTED, but only after the first RIL_CONNECTED
  response.

Change-Id: I94a56d97eca173b8bcc5b38e59ee43740d2ef74a
cdma: Restore SVDO after merge.

Allow evdo/ehrpd + voice simutaneously.
Use ro.ril.svdo=true

Change-Id: If7be25edc10f21680adbe3a059370d77a82ef076
Telephony: DcTracker: Fix CDMA APN Data issues.

Fixes Data on CDMA when APN Match cannot be found
Original commit: cd2585eb3f4e2db5c8a36382ffa644fa0d1515b4

PS2: Fixed small derp that was breaking build
PS3: Change author name to original author

Change-Id: Iad7737635686fdb9d7d35099d3cf615eb47a3dfd
Telephony: check if the provisioning apn is actually empty before

checking if they are equal.  Fixes cases where the stubbed apn
(empty) equal to the empty provisioning apn.

Fixes no IP issues on CDMA data types.

Change-Id: Id7bda83778f5ce59c87463c4d44fc5768dbc4a08
telephony: Add Qualcomm42RIL

 * Provides translation to JB_MR1 version

Change-Id: Ida0142403da6e012e9069ed0d4a19b06da97085b
Add SMS Middleware layer.

Change-Id: If5621d0c5126d6917ab00143af645692f3c4a384
SMSDispatcher: Fix determining the defaultSmsApp for proxied messages

We can't rely on the calling UID, since for re-broadcasted texts that'll
always be the telephony itself; so if called by the framework, use
the sentIntent creator to determine which app originated the message

Change-Id: I60ac02f6ae09f4260f5494659a174352f353aa2a
Merge "SamsungExynos3RIL: fix sim PIN handling" into cm-11.0
Merge "SMSDispatcher: Fix determining the defaultSmsApp for proxied messages" into cm-11.0
Hide public API modification

Change-Id: If9b9da59b63d195f8179e7044fcaa7b55c53d8d6
CdmaLte: Fix 3G reported as unknown on certain devices

Some older CDMA/LTE RILs only report VoiceRadioTechnology which
results in network Unknown. In these cases return
RilVoiceRadioTechnology for RilDataRadioTechnology.

Set ro.telephony.ril.v3=usevoicetechfordata to enable

Change-Id: Icfbc8739993beae1b0f024bf71374751aa200a01
Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1

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

Change-Id: I3494be9ac45ef0b6eeefdd1b0f6952242a81618e
GsmSS: Use data tech in isConcurrentVoiceAndDataAllowed

Voice technology is not properly supported in older RILs

When using RIL blobs, the value would be set to UNKNOWN,
resulting in data being disconnecting during call despite
being on 3G.

When using source-built RIL, the value would be set to
UMTS regardless of 2G/3G status. (At least from reading
the source.)

Change-Id: I12738abc1736165e92aa7f4530ca043cc1acc44d
IccSmsInterfaceManager: Don't intercept short-code premium messages

For both charging and potential timing factors on emergency and carrier
services, short codes should be delivered directly to the network.

Change-Id: If9d288048f9925573f8c5f2e51f0c2df789277bd
Fix NPE on sending multipart texts.

Watch for deliveryIntents, parts, and sentIntents being null.
Also do some code style cleanups.

This is based on http://review.cyanogenmod.org/#/c/46009/

Change-Id: I4abe2a2bd3e45bafde32de3a0c81576d742e4cee
Properly handle a null URI.

Change-Id: Ic144986f6935e9a2df0073869a6a8b4e863a6128
JIRA:CYAN-2491
CdmaLte: call setDataRegState when using RilVoiceRadioTechnology for data

When using the VoiceRadioTechnology to set the DataRadioTechnology
(by using usevoicetechfordata in ro.telephony.ril.v3), the actual
data registration state needs also to be updated with the service
state depending on the VoiceRadioTechnology. Without this, no data
connection would be established.

Change-Id: I72cd3ef2d40e62cf408cf79ee8d884da8675c1ca
Merge tag 'android-4.4.2_r1' into HEAD

Android 4.4.2 Release 1