For RECURRENCE_SINGLE mode, set interval to a very large value:
std::numeric_limits<>::max()
Change-Id: Id9f2ddd1948d9660f69a308b3fe6ad6e6dcc6a77
CRs-Fixed: 2260711
Add carrierFrequency to GNSS Measurements
reporting. Also, add AGC level from QMI LOC
message to GNSS measurements (as opposed to
adding it from NMEA debug messages).
CRs-fixed: 2186144
Change-Id: Ia3995ba9e09ef4c68e8922b7570f7af0eb50098a
Support of features AGPM or Constellation Control
mean that we report yearOfHW as 2018
Change-Id: I01b7a3ce7f8b38569cf419cf07fef1d55da5f149
CRs-fixed: 2254698
At the layer right under HIDL impl, where the callback objs
are received from HIDL and used by HAL layer, there is race
condition volnerability which could yield using a incompletely
copied sp obj. Added mutex protection.
Change-Id: I611db590d1fadbe43c74db71a1ea906dbe067c6d
CRs-Fixed: 2144976
Copying HIDL callback member variable to
a local variable before invoking.
This is to avoid possible race conditions
with the callback getting updated during
invocation.
Change-Id: Ida9658f4cffafc64754c0cd26541b731cb328155
CRs-Fixed: 2114085
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
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
Move control apis to LocationAPIControlClient.
There should be only one instance of it per process.
Change-Id: I5969e6b3ad45f3fc5bfe4f4cd543a077c540c3ea
CRs-Fixed: 2064389
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
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
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
GNSS HAL needs to check the return value of HIDL
Callbacks to avoid crashing when things go wrong.
Bug: 37987256
Change-Id: I4a5e33f7f4d85c887bc91fa71336a78151c3ce3b
CRs-fixed: 2044206
Gnss measurements session that is started to
collect Gnss measurements needs to be stoped
when closed.
Also remove the ability for an MSA tracking
session to be started when Gnss measurments is
started because MSA tracking is power hungry
and it wouldn't provide measurements either
Change-Id: I9b20f73bd412fc68d96dad2dc38399c144922ea0
CRs-fixed: 2039306
Network Initiated type emergency was not being
handled because it was missing from gnss hal api.
Hardcoded value until it is added in gnss hal api.
Change-Id: If0e538c3083e351bf642765eae88404ce6e0ae1b
CRs-fixed: 2037093
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
We need to handle the case where addGeofence returns
Null, which can happen on error conditions, like when
dlopen/dlsym libgeofence.so fails
Bug: 36407968
CRs-fixed: 2022286
Change-Id: Ib612d92b77cf5532ad19154c57ee0545674d88f9
Added sending the capabilities to hal clients
on every init, instead of only on the first init.
This is needed for the cases when the hal client
crashes and is trying to reinit.
Bug: 36182606
Change-Id: I9055d2319f1dc407b6de9627b4e66eb89f8ce9d1
CRs-fixed: 2019987
Overwrites the default hidl gnss hal implementation
to interface directly to LocationAPI
CRs-fixed: 1112712
Change-Id: I3385911956c0c6c457202a8584b108046c587b36