Revert "Telephony: Mock SMS (2/4)"

This reverts commit 0cd20f7cb634f684a7e37caa303d190b84f7247a.
Revert "Merge remote-tracking branch 'cm/cm-10.2' into HEAD"

This reverts commit 0db6f4de130bfb36763cac4454837c8b3cd11f59, reversing
changes made to c7059145d72f1b3ff78787cf90707bdc8c4d7b4c.
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
Telephony: Display of Operator name.

Operator name is displaying in junk characters on CDMA network
due to wrong encoding scheme.Correct the same.

Change-Id: I8c262e8731849f4c32d6a3b500dc353a7c9c163b
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
Revert "Telephony: Display of Operator name."

This reverts commit a08c2192a2abb0c5514102fa4121075a3be494b6.

This is causing carrier name on d2vzw to display junk characters.

Change-Id: I41d74dc5d6f51684d43108e87669bf39848f116e
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
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
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