HTCTegra3RIL: Add custom RIL for correct STK handling (1/2)

Change-Id: Ia12c85f43b5be0fe4e1cd3c3511490fd5cebe3af
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
Telephony: Read IMSI using SIM I/O for CSIM/RUIM

Use Sim I/O command to read the EF_IMSIM to retrieve the IMSI
from the card, rather than using CommandsInterface.getIMSIForApp.
When both SIM and RUIM app exists, we cannot specify the
application for which we should retrieve the IMSI using the getIMSI
API, since SIM and RUIM have no AID.

Change-Id: I905d4a271dfba168f2bc3830b8a50733cbe17f8c
CRs-fixed: 514270
Telephony: Delay SIM IO until SIM_READY

When SIM_REFRESH with SIM_INIT is received we need to
reread EFs but only if and when app is ready.

Change-Id: Iae4b52839f64c61f962e7d9da1545656dc219266
Do not update External state until we receive card status.

When updateExternalState is called before card state is received
from RIL, unwanted ABSENT state is getting broadcasted to
external apps incase of property apm_sim_not_pwdn is  set to 1.

So do not broadcast card state to external apps until we
receive card status from RIL atlease once.

CRs-Fixed: 520485
Change-Id: I8803360dd57055ca3534b6dc7bade63ff629c730
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
Merge "Telephony: Decode SPN from RuimRecords properly" into cm-10.2
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
Merge "HTCTegra3RIL: Add custom RIL for correct STK handling (1/2)" into cm-10.2
Merge "GsmSST: Disregard any invalid verbose values for timezones in NITZ requests" into cm-10.2
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
Merge "GsmSS: Use data tech in isConcurrentVoiceAndDataAllowed" into cm-10.2
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
Removed if/elseif block and replaced with a static HashMap containing Operator ID's

Lazy-load list of Operators when operatorReplace is invoked

Change-Id: I4c2dcfa7eeaff41ce40014c07f94047e07f5c13a
Merge "Removed if/elseif block and replaced with a static HashMap containing Operator ID's" into cm-10.2
SamsungQualcommRIL: fix handoff for good.

OperatorCheck: Add last known of good config when the array is null.
When the radio reset, it calls data connect. This fixes cases where
data is null because of this issue and causes apn to be null out.

Change-Id: Ic8e1d22f56db77ef698d3a89ecf27d30a7a2ddd8
Merge "Telephony: Read IMSI using SIM I/O for CSIM/RUIM" into cm-10.2
Merge "Do not update External state until we receive card status." into cm-10.2