Commit graph

5 commits

Author SHA1 Message Date
Yu-Han Yang
4010c21bbe Merge "Add vintf_fragment to GNSS HAL 2.0" 2018-12-19 01:34:11 +00:00
Anil Admal
b02bcc130c Replace network type with network capabilities in IAgnssRil.hal
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
2018-12-15 02:21:31 +00:00
Yu-Han Yang
74addd29c2 Add vintf_fragment to GNSS HAL 2.0
Bug: 120277977
Test: atest VtsHalGnssV2_0TargetTest
Change-Id: I272d0736537047bce6783e678a93560858033ada
2018-12-14 11:01:57 -08:00
gomo
1da4b5c44c Bluesky(go/bluesky) HAL and Default Implementation
- Create new sub-package of gnss with the name Bluesky
- Add bluesky/1/0/IBlueskyCorrections.hal
- Add bluesky/1.0/types.hal
- Modify IGnss.hal adding getExtensionBlueskyCorrections()
- Modify IGnssCallback.hal exteding capability enum for Bluesky
- Default Implementation

Bug: 111441283
Change-Id: I4ab2ecae7f0c43bb2b708741e3a55aba1b015db0
Test: Existing tests pass.
2018-12-02 04:46:37 -08:00
Yu-Han Yang
9c6c20b506 Add GNSS HAL v2.0
- Add GnssMeasurementCodeType in IGnssMeasurementCallback.
- Add VTS tests.
- Add default implementation.

Bug: 112260995
Change-Id: Ie319cc793e9b23e86d672c826c4f5fd6a0f90d04
Fixes: 112260995
Test: atest VtsHalGnssV2_0TargetTest
2018-11-28 15:17:28 -08:00