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
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
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 remote-tracking branch 'cm/cm-10.1' into cmed

Change-Id: I93ac2c4dea7f67f896bf043a0bfdf53c7ae45587