Add SMS Middleware layer.

Change-Id: I4fff0c584f8fce9c5f2f4fe86a82fe6480c307c7
CallTracker: Add back-off and retry toggle to getCurrentCalls

Add a system property to handle cases where the modem
reacts slowly and does not update CURRENT_CALLS to include calls which
are dialing. A delay is introduced to avoid spamming the modem and then
GetCurrentCalls is called again in order to avoid the calltracker from
marking the call as ended when it is still active.

Tested and LS970 and E970 (Sprint and ATT LG Optimus G).

Change-Id: I7d3aac00b811bceb2909adf239492962a737de4a
PhoneProxy: when using v6 or greater ril make sure current phone type isnt GSM

This fixes an issue with CDMA + LTE devices that are able to utilize
GSM netowrks. When using v6 or greater ril and connected to a GSM network
it routes you through the CDMA stack. This causes all sorts of issues.
Fix by making sure that phone type isnt GSM.

a revert of
f0ddc6a7318b74608c58beca61901820ea7d9a7d
97cabb4543823fd989f4aa371fca41b1aeb07278
a34c63e1842f018f7d318ba7887ec2500c07658c

Change-Id: I4c9fc73e18ebee0df43e69ac982b61904d11333b
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_frameworks_opt_telephony into cm-10.1
CallTracker: Add delay to reduce cpu load

A delay is introduced to avoid rapid repeated polling which leads to
high cpu usage and spamming of the modem and logcat.

Change-Id: I6eb12babb723b5f5164ef43493c971f607746484
Revert "CallTracker: Add delay to reduce cpu load"

This reverts commit 57f67b4244ea8953296f6e4905286e951c3b2918.

Change-Id: Ia3a65d73e366ec823e236ca30fb134cf66999fca
CallTracker: Add additional check for pendingMO to verify that a dial is
happening and we are expecting a call to appear when repeated polling of
GET_CURRENT_CALLS.

Change-Id: Id719ed79e47462d898299e1468f0a1b9e00b43f8
Store phone blacklist in content provider (1/4)

Change-Id: I9dafdb3e10bd2a71695c2a02cc483c594d86c543
SamsungExynos4RIL: cleanup for use with opensource libril

* only emergency dialing needs hacks

Change-Id: Ib573d65fd4fb3201bdbe0960838d15f88645a8ec
Merge "PhoneProxy: when using v6 or greater ril make sure current phone type isnt GSM" into cm-10.1
Merge "Revert "CallTracker: Add delay to reduce cpu load"" into cm-10.1
Merge "CallTracker: Add additional check for pendingMO to verify that a dial is happening and we are expecting a call to appear when repeated polling of GET_CURRENT_CALLS." into cm-10.1
Merge "Store phone blacklist in content provider (1/4)" into cm-10.1
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_frameworks_opt_telephony into cm-10.1
Refactor SMS Middleware and SMS Send path.

Introduce a new Broadcast, ACTION_NEW_OUTGOING_SMS, that is similar to the existing call
equivalent ACTION_NEW_OUTGOING_CALL. This allows a receiver to rewrite the intent
or cancel it entirely.

This removes the need for injecting middleware.

Change-Id: I063288461161979f951932f32ade2cfbd72f8b73
Revert "PhoneProxy: when using v6 or greater ril make sure current phone type isnt GSM"

This reverts commit 5e0983ba3e96083da094d9706beadacce6b4e9c9.

Change-Id: I1d3727a5ac315309c1ce7aae4fa1d0662984432f
Merge "Revert "PhoneProxy: when using v6 or greater ril make sure current phone type isnt GSM"" into cm-10.1
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_frameworks_opt_telephony into cm-10.1
Merge "Refactor SMS Middleware and SMS Send path." into cm-10.1
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_frameworks_opt_telephony into cm-10.1