libril: allow board to provide libril

Change-Id: If0033865ab179854c27c56eaaf078fcc30ea102a
ril: Added support for use of Honeycomb Radio (Modem).

Change-Id: I841a8b532380bd097c1ae3ed2ba3cb1d920123df
Handle newer libhtc_ril.so releases

Querying available networks returns five strings per network instead of
four which breaks that functionality in RILJ. This fix most likely
appiles to every library since Hero.

Disabled per default, define BOARD_USE_NEW_LIBRIL_HTC if you are
building with libhtc_ril.so libraries version 2 and above.

Change-Id: If14c6d9253a50b35461fcc8aed587cc89af18ee2

Conflicts:

	libril/ril.cpp
libril: Provide support for legacy ril

With change Icc620fd191f8542f61bd38e365813753bfedefdf, RIL_VERSION_MIN was
increased from 2 to 6, but this causes problems for a number of devices
using ril blobs older than that.

  E/RILC    (  140): RIL_register: version 3 is to old, min version is 6

Consequently causing the ril system unable to connect to the rild socket.

Change-Id: I82c1cc4dab8fcaa4ccaa099132133b0f3b1d8029
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/hardware/ril into HEAD
Merge tag 'android-4.2.2_r1' of https://android.googlesource.com/platform/hardware/ril into 1.1

Android 4.2.2 release 1
ril.h: sync RIL_RadioTechnology with framework

Change-Id: I8e7d4f153aec7b008d465df61a4030549e25de95
Fixes typo in logging string.

Pointed out by bodhisatwa in
https://code.google.com/p/android/issues/detail?id=54098

Change-Id: I4cb42627bb0858360d6f88dedf9412720e4b5cca
Rild: Ril should try to write again to the socket EAGAIN error

In case of  EAGAIN error, the RIL should write to socket again after some
time.

Change-Id: Ia4c8d17b7c16040a49a4c607a1d1350ebbe7847c
CRs-Fixed: 285312
Merge "Rild: Ril should try to write again to the socket EAGAIN error" into cm-10.1
Merge tag 'android-4.3_r2.1' into cm-10.2

Android 4.3 release 2.1

Conflicts:
	include/telephony/ril.h

Change-Id: If610d33671d53c43256106e01d14450e4bd5b3bf
Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

If the tech is not CDMA, it will fall-through to the default case.
But the new added RIL_REQUEST_GET_CELL_INFO_LIST and RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE
cases will intercept it and cause the request call into wrong request functions.
Move these two new requests before the CDMA cases to fix the logic issue.

Bug: 9193696
Change-Id: I2cb03cbdb6be8eb1afd92c01c764e87b6aa62796

Signed-off-by: Jun Tian <jun.j.tian@intel.com>
Signed-off-by: Panfeng Chang <panfengx.chang@intel.com>
Signed-off-by: Yanglin Zhu <yanglinx.zhu@intel.com>
Signed-off-by: Jackie Wu <jackie.wu@intel.com>
libril: some blobs don't support CELL_INFO_LIST commands

RIL blobs that don't support CELL_INFO_LIST needs this ifndefs,
or rild keeps crashing with segfaults.

Change-Id: Ifcd717740db812ce9a2371fcb20ed61d07efffe1
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/hardware/ril into cm-10.2

Android 4.3 Release 3.1
Merge tag 'android-4.4_r1' into cm-11.0

Android 4.4 Release 1.0

Conflicts:
	include/telephony/ril.h
	libril/ril.cpp
	libril/ril_commands.h
	libril/ril_unsol_commands.h
Fix documenation IMS registration state.

Bug: 11599127
Change-Id: Id0016bca45ea84983c9280f55b0b1ccdcececc03
Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1