Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/frameworks/opt/telephony into cm-10.2

Android 4.3 Release 3.1
telephony: fix mobile data disconnect during voice call

refer: http://review.cyanogenmod.org/#/c/50800/

Voice technology is not properly supported in older RILs. So
use data tech in isConcurrentVoiceAndDataAllowed().

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: Ic82d5e362ba403a432c2760bbb931d72eae7b776
HTCQualcommRIL: skip setCdmaSubscriptionSource if CDMA_SUBSCRIPTION_MODE is null

Change-Id: Idf842a6def9151d500bcb2d8ee3e21010c725e20
Telephony: Decode SPN from RuimRecords properly

To address issues with incorrect encoding scheme programmed
in some commercial CSIM cards, the decoded SPN is checked to
have characters in printable ASCII range. If not, they are
decoded with ENCODING_GSM_7BIT_ALPHABET scheme.

Change-Id: I5ae06e0d3df5a3b5b080cc6e69a73daaff92cb10
HTCQualcommRIL: correct handling of CDMA + LTE quirk.

The current handling of this quirk just forces a specific
network mode. This breaksGSM mode and network selection on
boot for devices using this flag. To correct this, get the
value from Settings.Global object and set the default value
to CDMA + LTE mode for first boot.

Change-Id: I767d25e96b9cbbdddc486ce696eb95ff14dccb89
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
Telephony: Specify file path when reading contacts from EF_ADN

Some cards, like RUIM and UICC with CSIM, have the same file ID for
multiple EFs. e.g. EF_ADN and EF_CSIM_LI. When trying to retrieve
the EF_ADN from such a card, the path gets mapped to that of
EF_CSIM_LI resulting in incorrect behavior.

To avoid this, specify the EF Id and the path to uniquely identify
EF_ADN, when reading contacts.
CRs-Fixed: 428259

Change-Id: I2dd94192d5db51b569c02ac1a46e8fcd71910a47
Telephony: Add fix related to EF_IIDF file path

As per TS 31.102 and TS 11.11, all the image related EF_IIDF's
and EF_IMG will be located at MF_SIM->DF_TELECOM->DF_GRAPHICS.

Changes made to ensure above absolute path is sent to ril for
reading all EF_IIDF(4fxx) file id's referenced in EF_IMG(4f20).

Remove hardcoded EF_IIDF file id's 4f01 thru 4f05, so that these
values do not get conflicts with other EF Id's (such as EF_ADN)

Change-Id: I8732d99cd3051fedc2b2e709df1d59203d7847d7
CRs-fixed: 477624
SamsungExynos3RIL: Handle UNSOL_DATA_CALL_LIST_CHANGED.

Change-Id: I0bc346b9c15a2cf10bb3f982b8bf48c71d52196a
Fix NRE on sending multipart texts.

Watch for deliveryIntents, parts, and sentIntents being null.

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

Change-Id: Ia715e320d38f3fdbb10dd5621209bc432312cdb0
GsmSST: Disregard any invalid verbose values for timezones in NITZ requests

And assume anything resulting in "GMT" is invalid, since that's the
default value returned by libcore

Change-Id: I361650400e71976d8327ee3929947ca26a9eff57
Update Operators.java with more VZW operator ID's found in apns-conf-cdma.xml

This helps/improves the (1X/3G/LTE) handoff issue plaguing d2vzw builds right
now.  Users of both official and my unofficial builds with this include note
the difference.  Where their phones would usually have great signal but no
connection type (1X/3G/LTE) next to their signalbars, requiring an airplane
mode toggle, now no longer need to as their phones handoff better/properly.

	PS2: kill the crlf from the original file.
	PS3: remove test SIM mcc/mnc pairs (00101 & 001010)
	PS4: remove 'dupe' VZW World APN (24681)

Change-Id: I84626a50510cf211ac853cd21857f67ae8a9478c
If telephony wants ASCII casing, it needs to ask for it.

http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html

Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: I5c2721f36861694928101c771ec6699424cf9aa3
Merge "Telephony: Specify file path when reading contacts from EF_ADN" into jb4.3
Merge "Telephony: Add fix related to EF_IIDF file path" into jb4.3
Merge changes I36165040,Ia715e320 into jb4.3

* changes:
  GsmSST: Disregard any invalid verbose values for timezones in NITZ requests
  Fix NRE on sending multipart texts.
Merge "Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/frameworks/opt/telephony into cm-10.2" into jb4.3
Merge changes I5c2721f3,I84626a50 into jb4.3

* changes:
  If telephony wants ASCII casing, it needs to ask for it.
  Update Operators.java with more VZW operator ID's found in apns-conf-cdma.xml
Revert "Revert "DcTracker: Only retrieve records when we're either RUIM or CdmaLte AND subscribing from NV""

This reverts commit 17a8d53fa3a407d6689cf14dc6e225953fbf55d0.

this should be reverted back in. mms is fine now for toro family, testing was done through Andreas and XDA testers.

Change-Id: Ia112d491018ef0669289fa69a01e579ca7e422f9
Merge "Revert "Revert "DcTracker: Only retrieve records when we're either RUIM or CdmaLte AND subscribing from NV""" into jb4.3