Remove this assigning in gnssSetPositionMode. We shouldn't
assign preferredAccuracyMeters to minDistance, because if
preferredAccuracyMeters is larger than 0, GnssAdapter
will start distance based tracking which is not expected.
Change-Id: I2c2acedd121e02bf9da1136540cc34b9257197fd
CRs-fixed: 2566229
If a context switch or interrupt happens between
getting current time and getting boot time, this
can throw off the calculation for the
elapsedRealTimeNanos timestamp. Avoid this by
retrying if there is a large enough delta
between getting current time and getting boot
time.
Change-Id: I47d7a99b480423a50eaf951a904f21928587eda6
CRs-fixed: 2541719
For GNSS HIDL 2.0, delete command should explicitly
specify the engine the delete command is to be
performed on.
CRs-Fixed: 2533225
Change-Id: Ib69c3f11eb4df94a3becdbb2b0cff9288283067e
We want to avoid reporting locations to AFW while
measurements is active but tracking is not active.
Change-Id: Icbb581199e6f5eba3cfe81cb6ab39337bb7ea51a
CRs-fixed: 2441384
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
Implement AGnss, AGnssRil, GnssConfiguration,
GnssMeasurement and MeasurementCorrections of GNSS
HAL 2.0 to on par with Android P
Change-Id: Id430e60c2d9cc7333f4b331c7e5a1e9a45a0289a
CRs-Fixed: 2342198