rild: Don't use the clientId argument with non-qcom hardware

Other modems' implementations won't know how to deal with it, and
some are confirmed to simply reject the RIL_Init call.

If the hardware isn't qualcomm, just skip the whole multi-ril stuff
entirely

Change-Id: I132a4d7fc3d4532b2015f7e95863fac78889f833

rild: Weaken the RIL_setRilSocketName symbol

custom libril implementations won't have it, but its lack isn't
fatal outside of multi-SIM

Change-Id: If8312078921bb4ed756dcd86e17e85847638c155

rild: Unbreak multi-SIM socket name

Change-Id: Icae742c42c45726105d1a9e07a26bc4d10cc82bf

Weaken external rild symbol.

Not all libril will have this

Change-Id: I3da165f5cf779a02c7eb168d6e3c9b398d284835

Change-Id: If8312078921bb4ed756dcd86e17e85847638c155
Initialize the buffer

Initialize the char array to null character
as there is a possibility that it is not null
terminated.

Change-Id: If1eca2b2f3ec22bafeb303da02deb62f0655241c
CRs-Fixed: 584311
rild: Send extended information records as ByteBuffer

Send information records to java as a ByteBuffer to prevent
UTF-8 parsing from mangling bytes.

Change-Id: I558a41565b3e5e20aa40b5d0c5e748b204993e26
CRs-Fixed: 338368
Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION.

Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in
requestToString method.

Change-Id: I323f276d4048b168b27669a0aebb58cd9decf9bd
Telephony: Implementation of IWLAN.

- Introduce IWLAN RAT in ril.h

CRs-Fixed: 600118
Change-Id: I855a29a76c8aa1d28e5967c763a64bcc9e02f0ba
Support Additional SIM Depersonalizations

Add support for Additional Depersonalization types.
Added support for all ME De-Personalizations as per specs
3GPP2 C.S0068-0 and 3GPP TS 22.022.

Change-Id: Ia2193e95cd7a6bdc4b224cef8b42285543a52361
STK Call Control feature implementation.

Change-Id: I1164df9ddbf70fb42e760c1f3ab7f3df4b3b5339
Conflicts:
libril/ril.cpp
libril/ril_unsol_commands.h
Use SimRefreshResponse struct in RIL Versions greater than 7.

Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.

CRs-Fixed: 597007

Change-Id: I40fb4ad96e191ae6641eb31da014515d08704382
Add support for cdma dynamic address length.

Get the address,sub address,Bearer with dynamic length in the data parcel,
to avoid the OutOfBoundsException with the MAX macro.

Change-Id: I1d7437143c1369d77791136b68e06088acd72937
CRs-Fixed:543087
ril: change macro definition to fix duplicate error

Macro RIL_UNSOL_DC_RT_INFO_CHANGED is changed so that it does not
use the same value added by third-party.

Change-Id: I04bd6493f19dbe38c66c263ed4eddee092e7d1be
Correcting RIL unsol command order

Correcting RIL unsol command order.
Add QCOM specifc RIL requests at the end in ril.h file

Change-Id: Iac2ce6206ae8eb2e9a21b89c4895c5ac770c8fd5
Support reading data profiles from OMH cards

Conflicts:
include/telephony/ril.h
libril/ril_commands.h
Change-Id: I371a15428cd296cd02a2f82d5904dea483058c26
SEEK: Add support for getAtr

Add support for RIL_REQUEST_SIM_GET_ATR request
for enabling getAtr api.

Change-Id: I5fe8f8156b55e7feaa7bb2671cd8451cb8bd2f36
Remove support for Data_Call_Response_v6 in RIL versions >=10

Supporting both Ril_Data_Call_Response_v6 and v9 is not feasible
for the same RIL version in scenarios where the length of data call
response list may be a multiple of both structure sizes. Doing
so causes rild to crash.

Change-Id: I2a2666da76e88f60e53c6bae5afd7eb0b9c77435
CRs-Fixed: 716222
Add rild support for TSTS Allow client id 3 for third rild in TSTS.

Change-Id: I9957a91555bdd0b54f9b824ef996044d9f62c0c5
Add RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril

Add needed RIL_REQUEST_LAST_CALL_FAIL_CAUSE to ril.h

Change-Id: I479c838bfe96a6d9b80dd4b1a0cbc1debc7a9a2f
ril-caf: Add guard makefile

Change-Id: I4f53cf6a5cfd204f13ca13b3dcdb6dc83529837a