this patch contains the following changes:
1. added header and implemenation files of socket util apis
in libgps.utils; 2. updated XtraSystemStatusObserver to use
the new apis; 3. added HAL socket and new thread to listen to it.
Change-Id: If1f6b4b4d6ea2d03640f68e96f0286300404f42b
CRs-fixed: 2108635
If AGPS initialization is split across multiple
messages on the msgTask, it causes other other
commands to seep in before the initialization can complete.
To avoid this the initialization must be completed in one message.
Also includes some cleanup on AGPS initializations.
CRs-Fixed: 2111399
Change-Id: Id61ceeb12d5781764b42ff9d1868884537ca8d90
locAPIRemoveGeofences is no longer waiting for the request response,
instead it will always notify his callbacks with LOCATION_ERROR_SUCCESS
if the provided id is found, or LOCATION_ERROR_ID_UNKNOWN if not.
Change-Id: I602ad43bee894e85fde1e80210e6477b628e4a39
CRs-fixed: 2099450
Add support of glo/bds/gal baseband processor
amplitude in systemstatus. These values will
be added in PQWM1 debug NMEA messasge.
Change-Id: If880bdfa81b41a82bb133bda8a0b33862f3eade5
CRs-Fixed: 2091024
The "type" needs to maintain as signed, in case some value
may come across as negative, even though the storage size
may vary, from 8-bit to 32-bit, for example.
Bug: 65164961
Change-Id: Ieb3fb4b6f8415444bbe192a7875093f86a9c3068
CRs-Fixed: 2106350
On init of GnssAdapter, SUPL_HOST and SUPL_PORT are set to
modem if the configs are set in gps.conf.
Change-Id: I079879adf31022cfbf0098da8dba3bb86feed069
CRs-Fixed: 2110547
Call LocNetIfaceAgps_getStatusCb implemented in libloc_net_iface.so,
use the return function as default agps status callback.
Change-Id: I4d966a888e312c2d0fb1a6c9e30752294876e500
CRs-Fixed: 2064002
Transition of base DataConcreteType class to HAL, so that modules
in HAL can access the members of DataItem class.
Change-Id: Ib3b60992cf35a52b601117d5d18761d759f31b86
CRs-Fixed: 2104384
Fix for an issue updateEvtMask call chain is
unable to clear existing event bitmasks stored
in LocApiV02.
Change-Id: Id34e2d92a506e7300f3d9b3ec74a80a1f6822787
CRs-Fixed: 2085379
Interfacing LocnetIface with Xtra client for wwan/supl call
setup and teardown.
- XtraSystemStatusObserver must listen to connect/teardown wwan
call requests from xtra-daemon on the HAL side socket. This
request is then processed by libloc_net_iface module on LE.
- Caching the connect and disconnect backhaul requests received
before framework action request object is obtained.
Change-Id: I7cb6751efc64b27726b5d28be9a3df7b1bfb3d76
CRs-Fixed: 2092215
Use SystemStatusObserver to subscribe for dataitems in
XtraSystemStatusObserver.
Change-Id: Ib1828b9025c9c5bb5194a36014249472ed3f6f9e
CRs-Fixed: 2093290
Check if inaccuracy exceeds our tolerance
only when status is LOC_POS_TECH_MASK_SATELLITE
Change-Id: If45f2d8f5347f5b8a7df944dfa5b8071f6c2380a
CRs-Fixed: 2104827
Filter setServer, setPositionMode and startTracking commands
sent to modem unless change happens and optimize out modem
traffic hence.
Change-Id: I389af9c11784848045d2d3d5d3c799675a4b24be
CRs-Fixed: 2093253
Using LocNetIface AGPS capability in case client
doesn't provide status callback to setup data call.
Also adding below APN and IP Type config parameters
to gps.conf :
INTERNET_APN
INTERNET_IP_TYPE
SUPL_APN
SUPL_IP_TYPE
CRs-Fixed: 2005565
Change-Id: If52963ed50625db379c958586813850746eb2c4e
Fixed missing conversion from radian to degree for
latitude and longitude values when generated from
PQWP2 debug NMEA info.
Bug: 64808400
Change-Id: I30c65f309c2cd209090cc45d9da1764d05a85c7b
CRs-Fixed: 2095295
Fix compilation errors in LE for changes in adding
DataItemObserver interface in SystemStatus.
Change-Id: I7f2987672818d9f4ff9db801b55ade6fcdfd9a7d
CRs-Fixed: 2081242
ATL Close response should not be sent if client
has wait for close complete flag set to true.
Change-Id: I61164508e532cd8c65dff13387122c9d2c08af54
CRs-Fixed: 2089888
Passing correct LPPe parameters to modem for SRN
AP measurement and Sensor Baro measurements.
Change-Id: Id56f9bf050df82444a8698cad7cda85b4e9fbe78
CRs-Fixed: 2092158
Add DataItemObserver interface in SystemStatus so
that clients can subscribe dataitem events from
SystemStatus. Also moving DateItem and its observer,
subscription classes into HAL
Simplify DataItem class implementation.
Change-Id: I7b2c3fc9dcf67dd6132bbcccda874e3f7ed6fa94
CRs-Fixed: 2041019 2072896
They are currently in LocApiv02, which is incorrect. SystemStatus
shouldn't be referenced at this layer. And both of these two calls
are specific to GnssAdapter use cases too.
Change-Id: I7098e3963be163199a833a8fb6b12a100405f71e
CRs-Fixed: 2090442
If Gnss Measurements callback is called at the same time
as Gnss Measurements close is called, this will cause
dead lock.
Remove using mutex in this case and instead use a simple
bool to know whether or not to call into a the callback.
Bug: 63909793
Change-Id: I98d2be5ebd2ee0f36e4d2e31d20a74585089fe31
CRs-fixed: 2089716
Do not report invalid locatin to HAL.
Generate empty NEMA when status is LOC_SESS_FAILURE.
Bug: 64286361
CRs-Fixed: 2087261
Change-Id: Id5c47052eef5cae951c020fa8061e2c761c1152d