Fix logging for setup_data_call response

Change-Id: I611d96e7653da4f14d73c6d6f9663365dd983628
Telephony: Get_imsi should use strings as per ril.h

Change-Id: I4f0f84ffb0e4c2387069b4a9149508c2abac032d
Separate SIM states from Radio States

A UICC can have multiple applications (USIM, CSIM). Both USIM and CSIM may be Ready.
So indicating modem state as SIM_READY/RUIM_READY will be incorrect. RADIO_ON is a more
appropriate Radio State. SIM status can be obtained from the RIL_REQUEST_GET_SIM_STATUS
and RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED messages.

The change does the following

 - Remove SIM states from RIL_RadioState
 - Add messages to indicate voice radio technology

Change-Id: Ic7b540eefb741169ec22499d0e00961feb22a456
Implement sim_refresh as per ril v6

Change-Id: Icc620fd191f8542f61bd38e365813753bfedefdf
Fixed goto into scope.

Two functions contained goto statements entering the scope of
automatic variables; added explicit blocks to limit these scopes.

Change-Id: Ib2d46bdc235089e208ac70bdaf405ea9e5b91ab1
Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
Author: Kevin Schoedel <kevin.p.schoedel@intel.com>
Workaround for LTE RSRP -ve values in Signal

Ril version 6 and below sends negative values
for lte rsrp in signalstrength.
Workaround to maintain backward compatibility
and convert this to positive
values in compliance with ril.h

Support for processing all fields in
SignalStrength in reference-ril

Change-Id: I4d480aa2f607cd617b18681f722de246a7894348
Use ALOGE instead of fprintf in rild

This allows the errors to be seen in the log, otherwise there is
no visibility unless you run rild from the command line.

Change-Id: Id6c25eeef6c2cb118c2dff80a9d3742b99563bde
Add CDMA and multimode support to reference-ril

Reference RIL will query emulator modem the supported radio technologies
and the current radio technology and respond to telephony with the
information. Support for basic CDMA RIL request messages and messages
to set and query preferred network mode to be able to switch between
radio technologies.

Change-Id: I950d36691f3e4029f42efe265dc1bb0016b0f410