Add option to fallback to LocApiV02

In case the lbs or izat libs are not
present, fall back to LocApiV02 to
obtain the qmi client handle. This
change will enable basic GPS functionality
without lbs or izat lib dependencies

Change-Id: Ic2c8418d785e891ad0a660a615cd5111fafc4ff2
(cherry picked from commit 125a710193bd17768db3edcd228aebd79f53856e)
Add raw uncertainty to inject position api

New qmi loc api v02 adds a raw uncertainty to the
inject position api, which will be used by the
geofence engine.

Change-Id: I307619006c799c31121941ac5c11bf62f4691c86
(cherry picked from commit 4a243842152b0d15f8e9fefb6f93d69eb4855959)
Changes for GPS HAL compilation

Remove dependence on android_runtime and
return invalid value if gps daemon is not
responding

Change-Id: I16dbf1bffe6193114c1da08730f0627377179a2a
(cherry picked from commit e8f4f5c41b88d1d3cd281f8acfc26f5ad67eef1f)
Add buffer length check for XTRA data

To prevent reading beyond the length of
the buffer that contains XTRA data, a
check has been introduced assuming an
approximate limit for the size of the
data

Change-Id: I7e05beadec76c3308448b9198fd23c8e8b97394d
(cherry picked from commit 9104d6e347333af845a5e1c94fb5519f243bea5e)
jflte: increase read ahead cache earlier

Change-Id: Iebe91d2586fbaf692b4e6d8759c34fc5e30aab7d
(cherry picked from commit f32d1ca4dc16779cb0bd8707d217b70b3d0f2f91)