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
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
Fix cdma data calls based on NV

For NV data calls we need to create dummy profiles
When DcTracker switches from lte to cdma we need to bring
down existing data call and establish new one (same goes
for switching cdma->lte)

Bug: 10804691
Change-Id: I7ad8d0632854ea9875afb76709c1ba894bf048fd
(cherry picked from commit 4ead798ed4964952c3086b3224d775479d66d240)
(cherry picked from commit f333f0ca7b1c992ab36af83ca74a1131d3ae17b8)
(cherry picked from commit 14e5657432de2eb9ba52ebf28a8967ed62ee4a0b)
Merge "Fix cdma data calls based on NV" into cm-11.0
Merge "GsmSS: Use data tech in isConcurrentVoiceAndDataAllowed" into cm-11.0
Revert "Fix cdma data calls based on NV"

Causing a wild issue on d2vzw and jfltevzw.
If you connect to wifi, data will be broken when you disconnect
unless you reboot the phone.  Reverting this and the dependant
base change fixes the issue with data coming off wifi.

This reverts commit 7cd6a99e125fe292eb6a78f8d8a307762eea320d.

PS2: Retain some NV pieces
PS3: Fix compile
PS4: derp

Change-Id: Iaad556f46bf5d35483f1c44c054945511d8c4234
SamsungCDMAv6RIL: update to latest RIL

Also add two mic state and WB AMR

Change-Id: I0a9fdbbfa7880f964c530b7aa3e46baf2fe9e6c1
Merge "CdmaLte: call setDataRegState when using RilVoiceRadioTechnology for data" into cm-11.0
Could not enable data connection

Could not enable the default type APN in below case:
1. Default apn exists, connect wifi
2. Delete default apn
3. Disconnect wifi

enableApnType won't reactivate default apn type when no
default apn exists. Add default apn criterium to avoid this.

Change-Id: Ic8699669e576e5d2140852f359e34ed6c3275633
SamsungQualcommRIL: Add more validation of Signal Strength

Change-Id: I4b166543ba6898616c9e64a86ff65693f8e33f72
SamsungQualcommRil: reversed engineered implimentation of dial() from touchwiz

derived from Ricardo Ceq. and Tony Layher work.

Change-Id: Ie17762a5bce84791f85c98dfca88f576b2f5aeb9
telephony: do only run setCellInfoListRate for RIL version >= 8
old libraries like those from MR0 don't support this and sending this command causes endless wakelocks

Change-Id: Ia47d366f70841eb9910079e105add407f58e7555
Fix typo

Change-Id: Ia12ca4bd98c8f18a34af95b642e74196ea81fa19
Signed-off-by: Kevin Liu <airk908@gmail.com>
Allow tablets to send SMS if enabled in device overlays (2/2)

Change-Id: I30299d44eb59e89104b9b0b90be10da2a6ce62ac
Merge "telephony: do only run setCellInfoListRate for RIL version >= 8 old libraries like those from MR0 don't support this and sending this command causes endless wakelocks" into cm-11.0
SamsungQualcommRIL: fix my derp.

* don't code when you are tired
Change-Id: Ic02bd9cbbe96b674d7c93a2c5807563ddf46199a
Merge "SamsungQualcommRIL: fix my derp." into cm-11.0
PhoneFactory: fall back to default RIL if custom RIL Class fails

If the ro.telephony.ril_class property is set to an invalid class it will cause
Phone to repeatedly FC and make the device unuseable. This allows it to handle the
exceptions gracefully and fall back on the default RIL.

Change-Id: Ic9c309aff173de5267aa7ef633bfff87243f24fd
SamsungQualcommRIL: kill off some old code

Change-Id: I9784c99e0ac82d6982f5240e2576fce6a7c1e1b6
SamsungQualcommRIL: skip setCdmaSubscriptionSource if CDMA_SUBSCRIPTION_MODE is null

Change-Id: I9784c99e0ac82d6982f5240e2576fce6a7c1e1bf