Merge branch 'kk_2.7_rb1.9' of git://codeaurora.org/platform/frameworks/opt/telephony into cm-11.0

Change-Id: I3bbbc41851c2a3172b2fe2279d6a23976bc30f1c
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 the empty provisioning apn.

Change-Id: I6ca4fd172e2ecc64ca7a2c3fbca5327be61e7b5c
ril: Add support for opcode translation

 * Various command opcodes have changed in 4.3 due to the addition of
   new commands.  Add support for rewriting the opcodes.

Change-Id: I2a0c7dbcbaf873bd9fa4dc0447fe7ce1a472756a
ril: Add QualcommMSIM42RIL

 * Since command opcodes must match the proprietary native parts, we can
   use the new command translator to provide compatibility with the
   opcodes used in the 4.2 version of the QCRIL.

Change-Id: I1731d1b260351e51f13e882a731f5481937f7139
SamsungQualcommRIL: use QualcommMSIM42RIL as a superclass

Change-Id: I1731d1b260351e51f13e882a731f5481937f0139
HTCQualcommRIL inherit QualcommMSIM42RIL

Change-Id: I46f4a37a95a5467ecfe204725b6dd62fd5418dfa
Fixup operatorCheck for Note3

Change-Id: Ia8de8312e088b7c4dd98e8d6084313b5f46731fb
telephony: Fix MR1 compatibility code

 * The translator code didn't work as planned. Do it the
   old fashioned way and overload the requests.
 * Revert the translation code so nobody else falls into this trap.

Revert "ril: Add support for opcode translation"

This reverts commit 5ec9ea3a5e561a5ca4ce2d073814c0c5cbd3161a.

Change-Id: I8701c86c147255e2ad59e191629f99756546dc66
telephony: disable the use of SMS_EXPECT_MORE by default (2/2)

CodeAurora added the use of the RIL_REQUEST_SEND_SMS_EXPECT_MORE API
which is not supported by every RIL. Disabled it by default to reflect
AOSP behavior and added a flag to enable it.

Change-Id: I837c161bbca3960e7458ea049f896218d5e60a63
refix same npe, lost because of the qcril merge

Change-Id: I5e11f8cdd14c428e32f77e410383ca732e7da19d
TD_SCDMA signal strength support for Samsung Qualcomm device

Change-Id: I69ec69c3c548090af5d7f7cac16aa822a5704047
Revert "Telephony: Query GET_SIM_STATUS when radio state is OFF"

This reverts commit 0421294df6af8c5a374b33ffa4dd47bc1fab45bc, since
it only works with qualcomm vendor RILs, and even on those it creates
some derptastic behaviors like double PIN insertion when unlocking
a cryptfs

Change-Id: Icf1b440cf0d81d24ec24e5e909e71864d95fd9e2
HTCQualcommRIL: Handle HTC VOICE_RADIO_TECH_CHANGED response

* Properly handle VOICE_RADIO_TECH_CHANGED unsolicited response.

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

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

Change-Id: I94a56d97eca173b8bcc5b38e59ee43740d2ef74a
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
HTCQualcommRIL: support DATA_NETWORK_STATE_CHANGED_M7/5757

* This UNSOL response behaves the same as the existing
  RESPONSE_DATA_NETWORK_STATE_CHANGED message.

Change-Id: I804c1f13fb3019a7e54a344967a3a4eb707046fd
HTCQualcommRIL: skip setCdmaSubscriptionSource if CDMA_SUBSCRIPTION_MODE is null

Change-Id: Idf842a6def9151d500bcb2d8ee3e21010c725e20
HTCQualcommRIL: update and correct unsol respnses.

Change-Id: I154946d8bbaff0df3b4b863ef33bd55e92b49918
HTCQualcommRIL: Re-add missing unsolicited responses

Change-Id: I1690b821131e74167779791bf255490222c670fd
SamsungQualcommRIL: Create 2 more app for nv type of subscription.

A proper patch for http://review.cyanogenmod.org/#/c/48388/

Change-Id: I42e3ec88452239a6b953dff0e636a8c2e5dbf958