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