To avoid multiple xtra data auto-downloading, the change
delete the 3 xtra URL in gps.conf used by
GpsLocationProvider. Meanwhile, GPS HAL become to
allow GLP send Xtra data to modem.
CRs: 537744
Change-Id: I27f3122f4ecd1d4da4323e9c59bd0358f3d635f2
Fixed conditional check from
MSA|MSA to MSA|MSB. Bug was
introduced in commit 782431a
CRs-Fixed: 533849
Change-Id: I7931563e08c5c875b49cc9ada2969a34373a2890
Changes to launch the BIT service request handler thread only if
AggpsExt is present. Small formatting fixes for pritining the IP
address.
Change-Id: Iaf3b9bd6d967ba35b04b591750784c5f221ee539
Before injecting time, check the gps ON_DEMAND_TIME
capability. if it is disabled, it will not sent time
inject command.
Change-Id: Ie51cf1f65e086bdb49d6159051c3d66700b25d78
Changes to ensure the code breaks out of the adapter session
check loop once any one of them is in session.
Change-Id: I73b3a5f4954050abf5ce3d4c5a04245c894725f2
CRs-Fixed: 534811
In order to avoid a synchronous call
from Location Manager to the data layer,
the call to initialize the data client is
sent as a msg to the MsgTask so that it
gets handled in a separate thread
CRs-fixed: 535079
Change-Id: I3d7a72c32eb629572178c90dc4f55c3d74443332
Generate GPGSV and GLGSV sentence separately
rather than combination according to satelite
prn number.
CRs-Fixed: 491156
Change-Id: Ie2bc60ae680a75cbe95702a7f842c1546a3a2f21
Changes to gps.conf to remove the ability to enable XTRA server
query. This is because server info will be obtained from the
modem xtra data download request.
CRs-Fixed: 513543
Change-Id: Ia6a2b898e27dbac041064f69c534489102680050
Changes to ensure that we dont free UlpProxy object
by mistake when loc_init is invoked twice.
CRs-Fixed: 532599
Change-Id: I0989368b67614181b3d834e61690211497663352
Resolved issue where XTRA data was being requested instead
of time during On-Demand time injection.
CRs-Fixed: 530415
Change-Id: Ibf057073dc4eddc011f5df5c13d60eb552eec8c9
This may be a temporary fix to filter the reqeust here,
because this point the xtra data is already downloaded.
Next we should look at how to save the download itself.
Change-Id: I0efba22df3d8d330c03a157a07c7ee490a22027d
ENABLE_WIPER parameter is no longer
included in gps.conf and used in the
HAL code. So it is removed to avoid
confusion.
CRs-fixed: 520700
Change-Id: Ic0ffb762d7d27019407a9f5b4600d6ea9693b401
Masks for deleting aiding data
of Glonass satellites have been
moved to gps.h. Also added NAME_VAL
pairs for BDS
Change-Id: I6b5e427e3bac3936f98137ddc1c25cb35f324231
CRs-fixed: 498642
The AGPS interface will be returned
as null if MSA and MSB capabilities
are not set in gps config
Change-Id: I388654c9f527bfed128f431ccb8956e19be0f7f2
(cherry picked from commit 50891ecfe09b19a130b675ddc818ecf4ae31a3da)
ULP will no longer be loaded and init'ed from loc eng
HAL. GPS HAL will look for ULP once it completes init
and waits for a msg back once it hears from ULP. This
is done with introduction of UlpProxy. Default proxy
is a no op proxy.
Change-Id: If0be0b5744f9de20f12c2f0b9704dea66aa454c0
(cherry picked from commit 2eb4ddcae94283df6c6be450c4c070ffd8ff9cd7)
Removed makefile dependency to AndrodRuntime; Renamed
library to be loaded from liblocation to libizat_core;
Made some class private access to protected for the
needs of inheritance; piggy bagged some optimizations.
Change-Id: Id7e3127baa1833cbad7739f50808941c733b87f2
(cherry picked from commit c039ceaec84b25573d710b31831c9b06d4f3d1c6)
Changes can be highlighted with below summary:
* Split the original LocApiAdapter to LocAdapter and LocApi.
Now different adapter implementations can flexibly connect
to different LocApi;
* LocApi continues to abstract the API binding to RPC or QMI;
* MsgTask which creates and owns a msg Q and a thread, and it
define a LocMsg base msg class. The handler pulls a msg out
of the Q and calls its proc() method. This makes it possible
for msg sender to keep the data in the msg encapsulated, as
it no longer requires a central msg handler who must under-
stand all data format. This used to be where all the compile
time dependencies are tangled together;
* Added Context to bundle MsgTask and LocApi;
* Added LocDualContext specifically for the FLP Location Hal
architecture requirement;
* Placed all the base classes of the above in loc_core folder
/ loc_core namespace / libloc_core.so, so other libraries
can easily use derive from here without having to pull in
the loc_eng implementation, which is a large library to
include or link to;
Change-Id: I40abfba96dea76757c98530c1f5e076b34ba4ac7
The current changes to default the operation mode
to Standalone by the CHIP ID. A new method is used
for solving this issue.
CRs-Fixed: 510462
Change-Id: I58fd85e2c28bf824edeaef62660c62c34761bd37
the original msg_q_init takes a q handle in the parameter list
which makes it inconvenient for chain statement. This really
adds nothing be making it slightly convenient
Change-Id: I1e7f931d6b278c804ec6f7d87c1a79a3ffcceb75