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
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
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
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