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
(cherry picked from commit 74ec9e48d6515865384cdf8607fb265d096d4f12)
(cherry picked from commit fd77b4fab982575dd35f89ce071004d55edd365e)
(cherry picked from commit c7c939156c3f1e5110001b8ac45b82b64f04f655)
Support reading data profiles from OMH cards

Change-Id: I371a15428cd296cd02a2f82d5904dea483058c26
(cherry picked from commit e2d39f6cf77d29ad57243649dc54d96a60db922c)
(cherry picked from commit 54866893124465af843a16148ff53534e725eb54)
(cherry picked from commit 494ba62c5119b0002bfedb51d4ed51514c76aa0e)
STK Call Control feature implementation.

Change-Id: I1164df9ddbf70fb42e760c1f3ab7f3df4b3b5339
(cherry picked from commit 3ad8ca2d4c4fa62192d27edfca110db316001c6f)
(cherry picked from commit a08b126d1c9bcd967be6fcae681f911d57b4f929)
(cherry picked from commit ee940a0adcb8d8915979e47dc3eabc92e5a555fb)
Reference-ril: Send sms using RIL_REQUEST_SEND_SMS_EXPECT_MORE

Add support for RIL_REQUEST_SEND_SMS_EXPECT_MORE in reference-ril.

Change-Id: I60bba3a7970d92f59d762e5e2ba93d3b58bbee3b
CRs-Fixed: 498301
(cherry picked from commit d003ef18c421f5f8304970b4345105baa8110599)
(cherry picked from commit 4c57d40efb733e947a95e58e76bf1d6b4c0fd2c8)
(cherry picked from commit b69c2d2d68aaf583afeafb98fbbe30f17f3c4b1b)
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
(cherry picked from commit 5eb546bf114ecf44b3fe003ce13a2c395f45d0f9)
(cherry picked from commit 138bbe329306994e33f07febb2bb974932798c55)
Add Multi RILD support.

Support Multiple instances of RILD identified by the arguments
passed to RILD

Change-Id: I3ac00242aed7fd40e3b7a71d00f906e7c9805c7c

Conflicts:
	reference-ril/reference-ril.c
(cherry picked from commit 424e8db95c9d483dcefcbd8d861364f1589e8dd1)
Interface changes to support Multi SIM functionality.

Add support for
    RIL_REQUEST_SET_UICC_SUBSCRIPTION
    RIL_REQUEST_SET_DATA_SUBSCRIPTION
    RIL_UNSOL_UICC_SUBSCRIPTION_STATUS_CHANGED

Change-Id: I21ac55007610e6695c7f798db16f1d47b143c9e9

Conflicts:
	include/telephony/ril.h
	libril/ril.cpp
(cherry picked from commit cd388722d9fe05760ee4ab4c24e6e1fd832aa676)
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: I6c102ac7c253bbc8dda1e8c96cdf33c3dfbf787d
Merge "Support Additional SIM Depersonalizations."
Add TD-SCDMA support

1) Add TD-SCDMA RAT support.
2) Add TD-SCDMA SignalStrength support.
3) Add TD-SCDMA network modes

Change-Id: I4eda094237ebc69ad1d2b8cc07c7fab2b4c00f17
Merge "Add TD-SCDMA support"
Send unsol_sim_status on radio_state change

Sim status changes based on radio state.
Need to notify new sim state whenever radio state changes

Change-Id: I8fef3a6ddf601647107e3059f2b2eb89a67242cf
CRs-Fixed: 572488
Merge "Send unsol_sim_status on radio_state change"
Merge commit 'android-4.4.1_r1' into merge_branch

* commit 'android-4.4.1_r1':
  Fix documenation IMS registration state.
Merge "Merge commit 'android-4.4.1_r1' into merge_branch"
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
Merge "Initialize the buffer"
Merge remote-tracking branch 'caf/kk_2.7_rb1.17' into android-4.4