In order to prevent the issue where the xtra server url
that stored in gps.conf is incorrect (like xtra.bin instead
of xtra2.bin) for a particular modem, I've made this change
so that the xtra server url can be queried through loc api.
CRs-fixed: 366599
Change-Id: If65de98d837f068fd61a235cbf1104026246e5a9
Moving these features out of afw allows these
features to still work on platforms that do not
allow changes to afw and it also gives us more
control.
Change-Id: I6923b302f93222dc10189c3a6a7b6ba2ec1a3378
GPS-enable gets too heavy at powerup, when loc_init is
synchronous, where loc goes to get the hardware handle
if AP init happens faster than the GPS hardware. The
loc init calling thread is from Android framework, and
it locks a mutex that in turn could lock up system server
main thread upon race conditions.
The second half of loc init, i.e. the reinit, is now moved
to loc worker thread. This should help release some of the
powerup timing pressure on the framework threads.
Add a message just for asynchrous Loc Init so as to execute
init specifically.
Change-Id: I369e461ca4ca61cea3a9729c84d24af4ffa8e51d
CRs-fixed: 472843
Changes to ensure FLP positioning call flow works
even if GPS is disabled on the Android settings
menu.
CRs-Fixed: 476628
Change-Id: I54b9f9861a14f7c42f45c48e57e9558f14a4de92
Changes to manage user preference for Precise Indoor
Positioning Control through settings on the OS UI menu
CRs-Fixed: 492707
Change-Id: I6a0cc0a92c35d05122efce310274f20590a16118
Updated LOC API source and header files
since the new version had updated masks
that were required for loc eng
Change-Id: Ia0d57770a737ef6d05e881ac0512eb174e7c9fd1
Detect APQ8074 Hardware so as to run in APQ mode.
Choose target as TARGET_APQ8064_STANDALONE
When hardware_platform=apq and SOC id is 126
GPS HAL needs to know so as to disable AGPS
feature.
Change-Id: Iabd95de6b401ff5fc72cfd32de6cea5250c19eb4
To allow ulp to select MSA for single shot
location requests, change the recurrence type
for MSA requests to SINGLE.
CRs-fixed: 479303
Change-Id: I97043233e0590b25bc63f3709b2bbb3dfd22cbd0
This is so that data disable is not
sent to the modem by default if data
is enabled
Change-Id: I383443fc0321380c22382ba7d7f85dacf948853a
CRs-fixed: 460376
No support for SUPl,starting MSB it wouldn.t request a PD.
Disabled the MSA and MSB for this PL.
This fix is needed because this PL doesnot have a modem.
Change-Id: I8fa1145db07f681c0f6e733da253f06f01f7edd6
CRs-Fixed: 471589
OEMs rely on gps.conf to config gps features. We want to have
default config in the conf file however to both serve as
recommendeded setting and as setting template. This added
A-GLONASS protocol is already supported by the current
implementation. Now we are adding the default config to the
conf file."
Change-Id: Ib9f66d01963c87ac5b3d70a68e1d4dd085771d47
CRs-fixed: 454855
Since the switch for ulp in gps.conf did not truly turn QCA
implementation for Fused Location Provider on/off this change
removes this redundant parameter from gps.conf
Change-Id: I677c42a00e6b0d156c2e4c3b65da13a55eb97279
CRs-Fixed: 461273
The number of bytes to be written for
the checksum exceeded the buffer length.
This change corrects makes the correction.
Change-Id: If90c6f5b2006a013a096a767334deac1555553f1
CRs-fixed: 468553
Port back of an earlier patch applied to the GPS HAL
that was moved out of aosp (change id of the patch was
Icc302c91da4104679d2548e4527d0aee430f3761
Change-Id: I133f92e316872c60830df5553f31d34ecd9d7a84
The Android.mk for gps.conf was
ineffective since it was commented
out. This change corrects that.
Change-Id: If07df6a2a1694b442a741382206261b5087a0105