OSDN Git Service

Update GNSS Batching to use new GnssLocation with elapsed realtime (framework)
authorAnil Admal <aadmal@google.com>
Mon, 18 Mar 2019 22:29:49 +0000 (15:29 -0700)
committerAnil Admal <aadmal@google.com>
Thu, 21 Mar 2019 00:59:25 +0000 (17:59 -0700)
commit4ca5e6c596526395dadfc7680d2ebed284b65616
treecef203c884fd83087de88fe907e5a5388deb712c
parentf54473a80beef59c591fa5ca4862ea4019a7a244
Update GNSS Batching to use new GnssLocation with elapsed realtime (framework)

The ElapsedRealTime field was added to the GnssLocation in
gnss@2.0 HAL to additionally report elapsed time since boot.
The IGnssBatchingCallback.hal@1.0 must be extended to use this
new version of GnssLocation so that the location reported in
gnssLocationBatchCb() method includes the ElapsedRealTime field.

Fixes: 128034260
Test: Tested the new GNSS Batching extension using default
      implementation, VTS test, and cuttlefish.

Change-Id: I401ad32a1399ff2a74bca66b1a02daac863c7b9c
services/core/jni/com_android_server_location_GnssLocationProvider.cpp