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
Do not report invalid locatin to HAL.
Generate empty NEMA when status is LOC_SESS_FAILURE.
Bug: 64286361
CRs-Fixed: 2087261
Change-Id: Id5c47052eef5cae951c020fa8061e2c761c1152d
Location capabilities can change when
suplmode is updated, but we need to send
the capabilites callback to all clients
with the new capabilities when suplmode
changes.
Change-Id: Ib7c9b5ef13259fe9305b3efbb03db3433ed26675
CRs-Fixed: 2079414
Add / Modify Location API for
Outdoor Trip Batching feature.
Introduce a batch mode to differentiate
between routine and outdoor trip mode.
CRs-Fixed: 2041674
Change-Id: Ia8b2d34457b29c4fe754ab24287a6984ab9a96f5
Add capability bit for Nmea Debug, which
is a marker for modem support of concurrent
emergency supl session and normal gps session.
CRs-fixed: 2068217
Change-Id: Iea1ee7b56bfdd28643928edf0475cf21257de64c
1. Validity bit for vertical uncertainity was conflicting
with the validity bit of location source, hence had
to change the bit.
2. Modify ZPP API to report speed and bearing accuracy.
CRs-Fixed:2064017
Change-Id: I8b09ecab3d67557ad7c2451fee71dbc0e1f14371
Fixed incorrect sv id offset for adb bugreport.
Ephemeris type, source and age information of BDS,
GAL and QZSS reported through PQWPE7 NMEA are
incorrectly mapped to adb bugreport.
Bug: 63178209
Change-Id: I9f4b7942adadda8949e040ee59bed9c027e080c2
CRs-Fixed: 2073107
Avoid setting debug NMEA bit of QMI_LOC_SET_
NMEA_TYPES_REQ message when the feature is
unsupported.
Change-Id: I999654f627eac68042597ee51aff81e8588bfa9b
CRs-Fixed: 2072961
GnssStatusTest test case is expecting to QZSS SV id as it is
(193 <= X <= 200) for this test case.
Change-Id: I8ba234fb02be7c09b8273238c0842d4826a12424
CRs-Fixed: 2070493
Adding priority flags while registering NI
handling callback and AGPS handling callback.
To ensure that both NI and AGPS are always
handled by our stack instead of Android
Framework stack.
CRs-Fixed: 2059476
Change-Id: I585328491a7f5d9099287924a03d7710f4e5fda9
Instead of sending session status as failure in LocApiV02 in case
of both latitude/longitude 0 and horizontal reliability not set,
for sending Blank NMEA sentences, the condition check for the same
is done in before requesting to send nmea sentence.
Change-Id: I359d136a8da9d9fe233e599eb2cba71e4509b270
CRs-Fixed: 2058269
Fix SUPL mode, GPS lock, and GNSS Ni options to be
treated like bit masks instead of values.
Rename some enums of bit masks with _BIT as convention.
Change-Id: I036b682ca3472159304ef569ff67d28dc94f644e
CRs-fixed: 2039308
When sub system restart occurs, restarting gps tracking
should be sent directly to Loc API instad of going
through ULP.
Change-Id: I6309eeee3670b3d7fa484f74f96ea9a2848f7bb1
CRs-fixed: 2056783
Call locAPIUpdateTrackingOptions in gnssSetPositionMode.
Update tracking options should update the tracking
sessions so that the smallest interval options are
set.
Change-Id: I24cefe4fb711a160d0a72ab7592d8e673ea2dd97
CRs-fixed: 2048231
Add an API to set default report data cached in
systemstatus. Call this API when delete all
aiding data is requested, so that bugreport
has all default values.
Bug: 62068956
Change-Id: I76d661c6a89a1644aef2a8f47253ce9cc0d727fb
CRs-Fixed: 2054705
Remove SV used_in_fix flag setting based on EPH / ALM / SNR info
during SV report. The SVs should not be used_in_fix when there is
no fix.
Change-Id: Iaed8ade8073446023348017ba133efcd7445a331
CRs-Fixed: 2043724
Fix SVids and timestamps shown in adb bugreport to
align with Android standard.
Change-Id: Ib166b09f1d63f7a93d53798dbb188fec0d77e88a
CRs-Fixed: 2042937
Add zero clearing of allocated nmea buffer to ensure
the nmea string is null terminated.
Change-Id: Ie36010a7d3eca16dabb3067ae891a94e4b63b10c
CRs-Fixed: 2041933
Registering Server Connection event mask with
Modem when AGPS Init is recevied from framework.
Change-Id: I70ee1bef79d23ada44f13d71378a4fb64d69ce84
CRs-Fixed: 2033863
Add ephemeris detail info in Gnss Debug interface. This new info
also comes up in NMEA stings. Requires a new QMI_LOC interface
that supports extended NMEA string TLV.
Change-Id: I5dc566fb210c06a443ed6c27e064377851ce83a5
CRs-Fixed: 2024594
Adding an empty check for gnss time information before
generating a gnss bugreport to avoid null object access.
Bug: 37259715
Change-Id: Ic507acbcc8b5949c4304ad76a3032add5893d099
CRs-Fixed: 2032932
It is possible that when GnssAdapter first sets capabilities
on ulp proxy, it is just a dummy. So it is necessary to do
this when there is a new ulp proxy project received.
Change-Id: Iee033bd780c132f7bcc2d98b5b2091ce9c9a2410
CRs-Fixed: 2032088
Checking in GnssAdapter::reportNmeaEvent to see if the
incoming nmea is debug, in which case we do not route
that to ULP. Debug NMEA is only for SystemStatus
consumption.
Change-Id: Ifb60b9a643ad6aeb732fcaf5a68f868cb55cd88a
CRs-Fixed: 2027134
NMEA generation logic needs to be reused across the
interface boundaries. Moved this logic inside utils.
Change-Id: Icb5c6fbc38b178c5edea468d26286e21749bfbfb
CRs-Fixed: 1098734
When AP generates NMEA, we need call the right function
to forward the sentence to Adapter and then to framework.
Change-Id: I537c19f900b7d72ec38dc29b789329c52c0b2811
CRs-Fixed: 2023810
Add BugReport support in SystemStatus. It exposes getReport
interface to GnssDebug via GnssAdapter. GnssDebug generates
Gnss' BugReport information upon a request tiggered by Android
framework.
Change-Id: I681777da10c860ea15ee65b7860a5ce61a7798db
CRs-Fixed: 2016125
Add GNSS SystemStatus component to handle debug NMEA messages
from mpss. This component handles GNSS debug info sent through
debug NMEA and then stores it in its cache and pass it to
clients per requests. Also debug NMEA is turned on by default.
Change-Id: Ia11a124ff43d27568f544a3a4742dd7a846869fe
CRs-Fixed: 1099152
Due to incorrect check for SVID for GNSS systems in location
engine ReportSv function, incorrect used_in_fix flag was set.
Modify the condition check to be based on the constellation
system ID, to set the used_in_fix flag.
Change-Id: Ic74583257c2925361dc68a9865cd80271167bf0c
CRs-Fixed: 1102862
We need to enable Measurement and polynomial reports and need to
send it to QDR Core for it to compute fix and report back DR fix,
hence need to enable them in automotive QDR use case
Change-Id: I8ad29402ded424bbc5a4fd9f6cab74fa7b09f86b
CRs-Fixed: 2017935
Implementation of LocationAPI into gps hal
to be a common API that is called into by platform
specific APIs.
Change-Id: Ie5a7bd217d4ae2175ad49e6aca2fb6ecd4702f3b
CRs-fixed: 1112712