Package: android.hardware.gnss@1.1

IGnssConfiguration

interface IGnssConfiguration extends @1.0::IGnssConfiguration

Extended interface for GNSS Configuration support.

Properties

BlacklistedSource

struct BlacklistedSource {GnssConstellationType constellation; int16_t svid}
Details
Members
constellation
Defines the constellation of the given satellite(s).
svid
Satellite(space vehicle)ID number, as defined in GnssSvInfo::svid
Or 0 to blacklist all svid's for the specified constellation

Methods

setBlacklist

setBlacklist (vec<BlacklistedSource> blacklist)
generates (bool success)

Injects a vector of BlacklistedSource(s)which the HAL must not use to calculate the GNSS location output.

The superset of all satellite sources provided, including wildcards, in the latest call to this method, is the set of satellites sources that must not be used in calculating location.

All measurements from the specified satellites, across frequency bands, are blacklisted together.

If this method is never called after the IGnssConfiguration.hal connection is made on boot, or is called with an empty vector, then no satellites are to be blacklisted as a result of this API.

This blacklist must be considered as an additional source of which satellites should not be trusted for location on top of existing sources of similar information such as satellite broadcast health being unhealthy and measurement outlier removal.

Details
Parameters
blacklist
The BlacklistedSource(s)of satellites the HAL must not use.
Generates
success
Whether the HAL accepts and abides by the provided blacklist.