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
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
If framework happens to call start of session multiple
times without calling stop first, it can cause a session
to get stuck on without any way to stop it
CRs-fixed: 2083756
Change-Id: Ic871d870ca67c9465438f8494e381bfbcb85a830
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
Change the comment for param_type member of loc_param_s_type
struct: 'f' for float --> 'f' for double
Change-Id: Ibf9c6bec624bd3900c4b96100c359ed7350becc6
CRs-fixed: 2068995
Replace copying header files to out folder
for use by other modules to instead build
headers into separate libraries that end
with _headers that can be used by other
modules.
Change-Id: I073967cd34e5c79110895908a4eef1b7d17bf9ea
CRs-fixed: 2068129
Move control apis to LocationAPIControlClient.
There should be only one instance of it per process.
Change-Id: I5969e6b3ad45f3fc5bfe4f4cd543a077c540c3ea
CRs-Fixed: 2064389
Change the type of mRequestQueue from 'array of pointers'
to 'array of instances'. So we can reuse them.
CRs-fixed: 2050837
Change-Id: I362319ece38cf10ee7ae2278a89249ce97e2f0a5
it is a stale feature, been disconnected for years.
Also tightend up loc_get_target(), as it currently
doesn't get produce a result, but also return -1,
which would cause the next call and every call going
through the entire function every time it is called.
Change-Id: I348d99f690eb8973730112d5edeb870b2be2c6c8
CRs-Fixed: 2062169