Fixes typo in logging string.

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

Change-Id: I4cb42627bb0858360d6f88dedf9412720e4b5cca
Merge "Fixes typo in logging string."
am 6fde8b8d: Merge "Fixes typo in logging string."

* commit '6fde8b8d0b9fdcf7fb93aeafd17e7f52bd57e7db':
  Fixes typo in logging string.
am 52688265: Add liblog

* commit '526882652bc7f97dfbdbf33f1a5966b1f05fbacf':
  Add liblog
am c57b3eb5: Add CellInfoWcdma.

* commit 'c57b3eb525db241bd3e6092453f48388bc880447':
  Add CellInfoWcdma.
libril: move record_stream here as it is the sole client

Change-Id: I85b94c4c6d61dfaa964367a58c773b5550a47995
Signed-off-by: Dima Zavin <dima@android.com>
Set initial attach apn for LTE network

When mobile register LTE network, APN provided by operators is needed.
If mobile does not have apn information, it could not register LTE network.
To deliver APN information which is used during LTE attach to modem chipset,
setLteAttachProfile() and RIL_REQUEST_SET_LTE_ATTACH_PROFILE command is added.

When Telephony DB is loaded or Telephony DB is changed, follow steps.
1. If preferred default ApnContext exists, this is delivered to modem chipset.
2. If preferred default ApnContext is null, find other ApnContext which can
   handle default type.
3. If other ApnContext which can handle default type does not exist, any other
   ApnContext delivered to modem chipset.

Then modem register LTE network with APN information delivered from AP.

Bug: 8733613

Change-Id: If84c62cddccf96a531dae0527ed1a6592ae76201
Signed-off-by: Seonju Oh <seonju.oh@lge.com>
Signed-off-by: Hyejin Kim <hyejin.kim@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
ril: move record_stream_xxx to librilutils and export header

Change-Id: I9986c8c5fb1777bbd2b686769ecc726319a73100
Signed-off-by: Dima Zavin <dima@android.com>
Merge "ril: move record_stream_xxx to librilutils and export header"
HACK: rild: include librilutils as whole static lib

To work around broken RILs that didn't link against
librilutils, include it as a whole static library
here.

Change-Id: I7234c5b87b3e99814d67ef3c6900e9ccc679bf5c
Signed-off-by: Dima Zavin <dima@android.com>
Merge "HACK: rild: include librilutils as whole static lib"
Support for LTE/WCDMA mode

Add network mode LTE/WCDMA to preferred network type
Operator mandated requirement

Change-Id: I26454b69ce670a5fa2129c4cd75b68af80d210e1
Merge "Support for LTE/WCDMA mode"
am 8374641d: Merge "Support for LTE/WCDMA mode"

* commit '8374641d142f0cdc05019d52587e492bad83bc72':
  Support for LTE/WCDMA mode
am 83b1d8d9: am 8374641d: Merge "Support for LTE/WCDMA mode"

* commit '83b1d8d9af8f7f7bf424af6faf229cfc04e0c896':
  Support for LTE/WCDMA mode
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>
Merge "Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c"
am 24a5c469: Merge "Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c"

* commit '24a5c46926c45ce69c83b256b9e3b41647516ad9':
  Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c
am a1a0952a: Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

* commit 'a1a0952a703d66dee1a749976b061a16c6e642a0':
  Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c
am d93bbed9: am a1a0952a: Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c

* commit 'd93bbed95b5bd8ffe6ea5b2fbede6d13706f3a1a':
  Fix libril.so crash issue caused by wrong switch logic of onRequest in reference-ril.c