Samsungqualcommril: fix parser

Change-Id: Ib033aa75942f14241561ded8dee1039176039170
Sms: Fix appOps checks for app-sent text messages

The CM SMS Send broadcast introduced at I063288461161979f951932f32ade2cfbd72f8b73
makes all messages go through a broadcast loop inside the telephony stack
before being sent to the actual interface manager. Calling context is
preserved, down to the calling package, but the actual text is sent by
the framework itself, under the radio UID, resulting in a mismatch vs
the calling app's that makes AppOps reject the operation:

W/AppOps  (  422): Bad call: specified package com.android.mms under uid 1001 but it is really 10030

Instead of rewriting the callingPackage name to the true sender (telephony),
which would break AppOps' ability to block text messages from apps, preserve
the UID of the original app and use that when checking.

Change-Id: I62a4a55567b10252bc37388f233e6fb83282bb1d
Telephony: DcTracker: Fix CDMA APN Data issues.

Fix CDMA data issue when it can't find an APN match. This fixes cases
CDMA NV or RIUM/SIM doesn't have the information to pass on.
It assumes GSM like mode on CDMA. So fix that and pass on to CDMA
stubbed apn found in android 4.2.

Change-Id: Ic13235744fca561cff4d49ae5c799420c30a3840
Revert "SamsungQualcommRIL: always convert hex to int."

This reverts commit ef61f36300a3bca75bd0d06ad7d89e474c208af4.

Change-Id: Ia374a84cfdb8afdea9776e8cce5ad4e23409fe68
SamsungQualcommRIL: fix NPE

Change-Id: I640228aee5424605d3df5c491f1c36ea72a6d3a7
SamsungQualcommRIL: rebase Sammyqualcommril to RIL.java 4.3.

Change-Id: I6a6c8dde58912b4ed814a41644b882e88ece38b1
SamsungQualcommRIL: use proper Log tag

Change-Id: I6e7901816edc2435db188ffa820047c8f38c7c89
CM: Use Rlog

Change-Id: I7439a200b9b8f815500ce89c922df069acbfc1a0
Mobile network type is not updated when the network mode is switched.

Because ServiceStateTracker doesn't handle the change of ServiceState
after switching of Telephony FW, SystemProperty used for displaying
the mobile network type does not become to Unknown. To fix this issue,
when the network mode is switched, the SystemProperty should be
initialized to Unknown in the constructor of ServiceStateTracker.

Change-Id: I903ba855b9fe22530db8494a9d2615959970c5a4
Merge "CM: Use Rlog" into cm-10.2
Telephony: Generic Blacklist support (5 of 5)

Change-Id: Ida51f9b1aa1f11b6179f623ede89c314d3f92f65
Properly notify of precise call state change after connection hangup.

When disconnecting connections via Connection.hangup(), previously no
precise call state notification was sent out.
This change should fix BT headsets ringing indefinitely after a
blacklisted call came in, as BluetoothPhoneService can now update the
headset state properly.

Change-Id: I4439d7d8ed47e72da9d061b885ec9a0e6e1b784d
telephony: DataConnection: support old RILs

Older RILs require different technology value

Change-Id: I0249bb597e2592b7e951945bc97d144ee2b2307a
Merge "Properly notify of precise call state change after connection hangup." into cm-10.2
Introduce HTCCDMAQualcommRIL for HTC CDMA devices

This is based off HTCQualcommRIL with added changes from
SamsungQualcommRIL.

Adds responseDataRegistrationState from Chris Lawrence.

Change-Id: Id5b9c59b100229dd3abd356ecc5d4d94e93155d9
Merge remote-tracking branch 'cm/cm-10.2' into HEAD

Change-Id: I4024c0015f4dd3a59c58226e72af603f2bd10b18