jf: add YUV to RGB Conversion, Dynamic FPS permissions

from stock init.rc

Change-Id: If731a22ea08fea7025bd43999ee9ffcd4736b762
jflte: add missing temphumidity sensor permission

Change-Id: I8bd3e8a81352246f8f09d620bf4ef5a5a73c7d37
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
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
Changes for GPS HAL compilation

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

Change-Id: I16dbf1bffe6193114c1da08730f0627377179a2a
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