This reverts commit b3721a68f2.
Reason for revert:
It appears that the build includes ag/6721678 but not ag/6762021 even though they both were submitted together. Hence the build errors.
Change-Id: I4e58b29239d291ae3621b90e4507de8eb8838298
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: I326655130782a04fbe168d4582462a123edd9ac2
The following capabilities need to be added to the GNSS HAL interface
to enforce support through the CTS/VTS tests.
-Add low power mode capability.
-Add satellite blacklisting capability.
-Add measurement corrections capability and move capabilities in
IGnssCallback.hal that are specific to measurement correctons
to its own sub-HAL measurement_corrections@1.0.
Bug: 128028791
Bug: 127434062
Bug: 128309220
Test: Tested on cuttlefish using default implementation and VTS tests
Change-Id: I60dbd2ce3cce3cb871aa5f6b690ef881f8dc5705
Add the horizontal position uncertainty for the provided location
by Bluesky at which the corrections are computed.
This is a bug fix as these fields were missing in the original submit.
Bug: 111441283
Test: Existing tests pass.
Change-Id: I3c6df7bcd72d6bab11c4e1cc4908e24034958ad7
Define IGnssVisibilityControl(Callback).hal interfaces to tell
the GNSS HAL implementation for which non-framework non-user
initiated emergency use cases, the framework user has granted
permission to the HAL implementation to provide GNSS location
information and to notify the framework user of these GNSS location
information deliveries.
Bug: 119560261
Test: Partial testing with cuttlefish
Change-Id: Ife704eb9fa4e6113196729b002bc9dc08bb47bc3
Add new method in IGnssConfiguration.hal to pass emergency
session extension duration to GNSS HAL implemenation so that
network initiated emergency location requests can be served
for this extra duration post emergency call.
Bug: 121204694
Test: atest VtsHalGnssV2_0TargetTest on cuttlefish
Change-Id: Ibdd280252874dcd34499acfcb7ae5d5a773501a4
The framework networking component method requestRouteToHost() in
class ConnectivityManager used to support the IAGnss.hal interface
is deprecated. This requires changes to the IAGnss.hal interface
to pass network handle to the GNSS HAL implementation in order
to setup SUPL connections.
Bug: 25876485
Test: atest VtsHalGnssV2_0TargetTest on cuttlefish
Change-Id: If0ecd480879da37508f710620975a198e674f3df
The NetworkType enumerator in IAGnssRil.hal is mapped to the
transport type constants (TYPE_MOBILE, TYPE_WIFI, etc.) in the
framework class ConnectivityManager. These constants are deprecated
and their use should be replaced with network capabilities instead.
The GNSS HAL implementation should make decisions based on the
reported capabilities of a network and not on the type of the network.
Bug: 117768826
Test: Tested with code instrumentation to verify that the
@2.0::AGnssRil.hal updateNetwork_2_0() method implementation
is called with correct arguments.
Test: Verified @1.0::AGnssRil.hal backward compatibility on a
Pixel 3 device.
Change-Id: I8f7f8ca8f5254815702b6d5a89dcb4e53a289cfe
Also fixes a few intermediate values and confusing
logging discovered during weak GPS signal testing.
Change-Id: I2d3c5113956132ef4b60e28653aacf89f1159d83
Fixes: 116170859
Test: Deep indoor fail and windowledge pass of VTS on
test phone, and logcat values check.
- The VTS test checks if the time estimate is a sane value. Thus, any
arbitrary sane value is acceptable. Here we make it consistent to
IGnssDebug.hal, where a comment mentions 2017 Jan 1 as an example of
the value.
Bug: 110094003
Test: make vts, and tested on device.
Merged-In: Ic4f6b597a718ea3e98a67c7939f9e6930d44d224
Change-Id: Ic4f6b597a718ea3e98a67c7939f9e6930d44d224
(cherry picked from commit 5fa43c83e9)
(cherry picked from commit 4f0d19ebff)
Allow VTS test for low power mode to handle
certain vendor issues that supply one extra location
at the start of low power mode.
Allow more time for GNSS first fix, and warmup as
needed given limited VTS access to AGPS.
Bug: 110626730
Bug: 110987651
Test: (TODO) Passes on device.
Merged-In: Ieeefd7fcd45890b03dffbbee965e1d9b17805c4c
Change-Id: Ieeefd7fcd45890b03dffbbee965e1d9b17805c4c
(cherry picked from commit 5ea5dda2c3)
- DELETE_ALL will delete XTRA.
Bug: 110626730
Test: run VTS test on device.
Merged-In: I4f01430f24f92238193d3de6b6fbb31e81e9f006
Change-Id: I4f01430f24f92238193d3de6b6fbb31e81e9f006
(cherry picked from commit 84cff99b2f)