Commit graph

9 commits

Author SHA1 Message Date
haohuang
31f3995e14 Remove assigning preferredAccuracyMeters to minDistance
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
2019-11-14 17:39:09 +08:00
Bhavna Sharma
b6f19637e3 Fix deleteAll case for GNSS HIDL 2.0
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
2019-09-25 10:53:41 -07:00
Saurabh Srivastava
f07b76bdc2 Adding NAVIC in delete aiding data
Adding NAVIC to the SV type mask while
deleting aiding data

Change-Id: I704595b60e061e83c8c08f69f770e4a78b3ae409
CRs-Fixed: 2529784
2019-09-19 23:26:58 -07:00
Dante Russo
4c9b600ed7 Report Locations to AFW only when active tracking
We want to avoid reporting locations to AFW while
measurements is active but tracking is not active.

Change-Id: Icbb581199e6f5eba3cfe81cb6ab39337bb7ea51a
CRs-fixed: 2441384
2019-06-04 14:48:09 -07:00
Nilesh Gharde
210d3ca227 Addressing format related to formating
Added formating related issue as
genuine errors fixes

Change-Id: Ie01e9ce3bf838a37871a4779ae1403b4dca3d87c
CRs-Fixed: 2447200
2019-05-18 09:12:29 -07:00
Mike Cailean
b884edb7c8 Set yearOfHw to 2019 if Location Privacy feature
is supported

Change-Id: If5ee31603491c83652082ce295abfcf9c9fec511
CRs-fixed: 2446241
2019-05-06 10:12:52 -07:00
Dante Russo
e7c30fa882 GNSS HIDL 2.0 updates
Implement new GNSS HIDL 2.0 functions and callbacks
gnssRequestLocationCb_2_0, getExtensionGnssBatching_2_0,
getExtensionGnssDebug_2_0, getDebugData_2_0,
injectBestLocation_2_0, gnssSetCapabilitiesCb_2_0,
gnssLocationCb_2_0, gnssSvStatusCb_2_0, and
gnssMeasurementCb_2_0.
Fix VTS test failures from deprecated functions
setGpsLock, setSuplEs, V1:0::getExtensionAGnss, and
V1.0::getExtensionGnssNi

CRs-fixed: 2433957
Change-Id: Id10cb41c32d6c50144b0501eb2d2eaf9c9a9aaec
2019-05-01 12:40:40 -07:00
Dante Russo
5c1e23cf02 Batching and Geofence moved to GNSS HAL
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
2019-03-27 14:54:49 -07:00
Yingjie Wang
51dca017c5 GNSS HAL 2.0 implementation
Implement AGnss, AGnssRil, GnssConfiguration,
GnssMeasurement and MeasurementCorrections of GNSS
HAL 2.0 to on par with Android P

Change-Id: Id430e60c2d9cc7333f4b331c7e5a1e9a45a0289a
CRs-Fixed: 2342198
2019-02-05 10:22:08 -08:00