If a source file is in a subdirectory, but the 'subdir-objects'
automake option hasn't been enabled. For now, the corresponding
output object file(s) will be placed in the top-level directory.
However, this behaviour will change in future Automake versions,
they will unconditionally cause object files to be placed in the
same subdirectory of the corresponding sources.
So to avoid future incompatibilities, enable the 'subdir-objects'
option in location module configure options.
Change-Id: If9e94c0f6fcd9922ee7f0f9d1909d5d6579a5715
CRs-Fixed: 2533108
When DRE/PPE are also running in the system, in addition to
reporitng the combined final output, add the support to
report the unmodified SPE/PPE report received from the engine
Change-Id: Icb636824da32b175030dfcd2b270ac8b500ff75b
CRs-fixed: 2487580
mMsgTask is static, its delete would impact other LocApi
objects which don't know it is deleted. Added refcount
to manage this shared obj.
Change-Id: Iea81039b9cd74081c5230d6bb18ea80c2ee05916
CRs-Fixed: 2505569
Adding NAVIC to the array of constellation
strings while reporting SV to clients.
CRs-Fixed: 2494936
Change-Id: Ifabc3bc3d0583119f3e1e80c9f69c60ff68e3602
SUPL-2.0-con-034-1/2 Fail because Emergency-NI
did not check inprogress session
Change-Id: I377955c455830bf3bb7cb7fe05d45c4536dabfbc
CRs-fixed: 2483780
- Fix a Use After Free issue in Gnss Update Config
If Engine Capabilities are not known yet at the time
of the MsgGnssUpdateConfig, the ids arrray will be freed
but the ids pointer will be copied into a new
MsgGnssUpdateConfig that will access the ids array again
- Issue in NetworkInfoDataItemBase which will result in
array out of bound access which might result in heap
buffer overflow.
Change-Id: Ib5a6dc29fef9eb6676d4605f92d60f26a47d1d90
CRs-fixed: 2449980
Add timeuncNs field in PQWM1 of debug NMEA
message generated by modem. SystemStaus to
parse it. GnssDebug adds this value in
timeunc when it generates GNSS debug report.
Change-Id: I649915f95730dc8db22e8b4cb88008edc6d8b9d0
CRs-Fixed: 2236950
SUPL_ES by default needs to be enabled,
since it is no longer set by AFW at runtime.
CRs-fixed: 2444734
Change-Id: I370a3e0f8ab6905b47629c4076f645b26ff8acc9
Consolidate the translation from QMI LOC into one
place in order to minimize traffic
Change-Id: I73c2f25e94544a2b69d4227c63548ef11b6a4d91
CRs-fixed: 2430668
Addition of BatchingAdapter and GeofenceAdapter.
Deprecated Background LOC QMI Client and renamed
LocDualContext renamed to LocContext.
Moved some common Adapter functions into LocAdapterBase.
Added Distance Based Tracking logic into GnssAdapter.
Addition of flp.conf
Deprecated GEOFENCE capabilities configuration in
gps.conf
CRs-fixed: 2342200
Change-Id: I6b6257c4cf296e5a8c56bc0b149e4de77cf6cdf9
Changes to be made starting in Android Q in the way
that Location requests made by Location clients
other than the Android FrameWork (e.g. Network
Initiated AGNSS clients, modem-based clients such
as MDT) are handled
CRs-fixed: 2397454
Change-Id: Ibb5b9429a1ec1e14ee59d89763d8a78607997615
This would allow GeofenceAdapter become a master
adapter, in case it gets created before GnssAdapter.
Change-Id: I9eb55b7fac9970fd11d4e34bdf7cf824e5b1c586
CRs-Fixed: 2403691
A tracking interval should not be less than 100ms
If tracking interval or power mode is updated to
the same value, then start tracking should not be
sent to the modem again.
Fix some issues with multiplex with powerMode
Change-Id: I91e5d0577569b96179a5337af0fc91641dc126db
CRs-fixed: 2190953
- Removed redundant injectFeatureConfig() call, as it this
happens twice, once when the first context is created which
would have been too early and once when LocApi open success.
- Resolved a race condition that second adapter added may not
have been in LocApi's adapter list yet when handleEngineUp()
is broadcast.
Change-Id: I8ecc18eab6b450c326c0be1abc011f70285439aa
CRs-Fixed: 2397902
- Removed redundant injectFeatureConfig() call, as it this
happens twice, once when the first context is created which
would have been too early and once when LocApi open success.
- Resolved a race condition that second adapter added may not
have been in LocApi's adapter list yet when handleEngineUp()
is broadcast.
Change-Id: I8ecc18eab6b450c326c0be1abc011f70285439aa
CRs-Fixed: 2397902
1. KlobucharIonoModel
2. Additional parameters for Glonass
3. Add gps system time to ephemeris reports.
CRs-Fixed: 2388931
Change-Id: Ibd08496c8eda2ce7571cbdd71ff0c179f7376aa7
Subscribe for a data item first time adds the DI to internal
SSO client list. When the request comes for after this, since
item is already added, dataItemsToSubscribe will be empty. So
the code for request value for DI is not invoked. Handle this
scenario in SSO.
Change-Id: Ife04fe4eedc9b3132e7967f781b0e29ac41c01e7
CRs-Fixed: 2347338
Support leap second change event
(1) Info will be available in location api and location
client api
(2) Engine hub aggregator will use the info to calculate
UTC timestamp
Change-Id: Ie79c1a38301fa094134a4a31af424487758343f6
CRs-fixed: 2289457
Handling network types not available in IAgnssRil enums like
Bluetooth, Ethernet, Proxy etc. Pass these network type info
to framework, rather than sending the default TYPE_UNKNOWN.
Change-Id: I7e997b82b07ca68d928bef322182031a2d47e532
CRs-Fixed: 2325210
1. Add new data structures to hold the Ephemeris reports.
2. Modifications to SV Poly structure to include delete flags.
3. Add SV_POLY bit to GnssAidingDataSvMask to support
delete commands from modem for poly and ephemeris per constellation.
4. Define LocApiBase and LocAdapter functions to report the
ephemeris content, request for complete valid ephemeris and
Poly content at any time and report delete commands from modem
on Ephemeris and Poly content.
CRs-Fixed: 2301149
Change-Id: If36e87c410c3204c94a6ed7db30f297edba95508
(1) Configure tunc constrained module on modem via gps.conf
(2) Configure position assisted time estimator and inject
DRE position with additional info to modem
(3) Support get total energy consumption API by GNSS engine
since device first bootup
Change-Id: I1e73057df090c1d356c55a498f06eed45839ca8f
CRs-fixed: 2276355
Currently Sys Status OS Observer object was being passed, due
to which actual turn on functionality in Framework action
request object was not being invoked.
Implement equals for SystemStatus class for BT scan device data
so that it is handled correctly in setIteminReport.
Change-Id: Ie7f24a1eaf886a2402698489bfd1d0ddc34585cf
CRs-Fixed: 2321041