Fix a typo bug.

Card state log should be correctly dispalyed as cdma_id instead of cmda_id.
Merge "Fix a typo bug." into cm-10.1
SamsungQcomRIL: New class and get rid of old and outdated codes

Consolidate the RIL and base on the CDMA RIL
Now inherit class related to the Samsung Qualcomm family

Special thanks to Dan Pasanen for coninuing the patcheset
while my macbook was in repair.

* Rebase on standard ril
* samsungDriverCall now handled in the superclass

* Supports:
  * Quad-core Exynos4 with Qualcomm modem and later
  * Snapdragon S3 and later

Change-Id: Ie593e32087a9bfeb5d16802a10c2739cf1061676
SamsungQualcommRIL: fix logic order

Change-Id: I9d201b0a4c00d8283108ba3f62c91d39c89bd001
ril: Add Samsung-specific unsolicited commands

 * This is shamelessly stolen from the Exynos RIL, but it's relevant for
   JF now. Without a proper response to the WB_AMR query, audio fails in
   strange and unusual ways.

Change-Id: I9f37c7b82e9b171479847a24ff3a1e10ada973bd
Merge "ril: Add Samsung-specific unsolicited commands" into cm-10.1
SamsungQualcommRIL: use the advantage of static type.

Change-Id: I3ebee8c6f6648be47ce896d64d34ddfa5e286208
SamsungQualcommRIL: fix race condition when starting phone type.

* ril is init but hasn't picked cdma or gsm, instead the ril picks no-phone.
* support switching gsm to cdma and vica versa
Change-Id: Ib9eaf88d5a7e90b2458ab787da230fca9a41249f
SamsungQualcommRIL: evaluate samsungDriverCall in responseCallList()

  * fixes race condition where mRilVersion is not valid when setPhoneType() is
    called. When this happens, the auto-enable of samsungDriverCall for v7 RIL's
    is broken. The result is that hanging up does not work.
Change-Id: I2642110d3683648aaff722c86d3dc21cbd9ee802
HTCQualcommRIL: clean up unused functions and responses

Change-Id: I0c381677dbb2a8a76008c8eec6e1057fd22be43c
SamsungQualcommRIL: fix errors and replaces it with known values

* handles all exception and errors coming from the ril.
* fix an issue with mnc, potentially fixing herpderpd/lte  daemon.
* properly fix all exceptions
* We only need AMR states, cyanogen said
* clean up legacy stuff

Change-Id: If76e0c995b1d95e155fc2fe724de1f12013125c3
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_frameworks_opt_telephony into jellybean