mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Clean up AIDL warnings in GNSS
Bug: 179853357 Test: on cuttlefish Change-Id: I4f41b1ce7ddce6cfa1b240dc455643d93ce697d1
This commit is contained in:
@@ -33,6 +33,6 @@
|
||||
package android.hardware.gnss;
|
||||
@VintfStability
|
||||
parcelable BlocklistedSource {
|
||||
android.hardware.gnss.GnssConstellationType constellation;
|
||||
android.hardware.gnss.GnssConstellationType constellation = android.hardware.gnss.GnssConstellationType.UNKNOWN;
|
||||
int svid;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ parcelable GnssMeasurement {
|
||||
long carrierCycles;
|
||||
double carrierPhase;
|
||||
double carrierPhaseUncertainty;
|
||||
android.hardware.gnss.GnssMultipathIndicator multipathIndicator;
|
||||
android.hardware.gnss.GnssMultipathIndicator multipathIndicator = android.hardware.gnss.GnssMultipathIndicator.UNKNOWN;
|
||||
double snrDb;
|
||||
double agcLevelDb;
|
||||
double fullInterSignalBiasNs;
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
package android.hardware.gnss;
|
||||
@VintfStability
|
||||
parcelable GnssSignalType {
|
||||
android.hardware.gnss.GnssConstellationType constellation;
|
||||
android.hardware.gnss.GnssConstellationType constellation = android.hardware.gnss.GnssConstellationType.UNKNOWN;
|
||||
double carrierFrequencyHz;
|
||||
@utf8InCpp String codeType;
|
||||
const @utf8InCpp String CODE_TYPE_A = "A";
|
||||
|
||||
@@ -26,7 +26,7 @@ parcelable BlocklistedSource {
|
||||
/**
|
||||
* Defines the constellation of the given satellite(s).
|
||||
*/
|
||||
GnssConstellationType constellation;
|
||||
GnssConstellationType constellation = GnssConstellationType.UNKNOWN;
|
||||
|
||||
/**
|
||||
* Satellite (space vehicle) ID number, as defined in GnssSvInfo::svid, or 0 to blocklist all
|
||||
|
||||
@@ -536,7 +536,7 @@ parcelable GnssMeasurement {
|
||||
* contain multipath, and MULTIPATH_INDICATOR_NOT_PRESENT for those
|
||||
* signals that are tracked and do not contain multipath.
|
||||
*/
|
||||
GnssMultipathIndicator multipathIndicator;
|
||||
GnssMultipathIndicator multipathIndicator = GnssMultipathIndicator.UNKNOWN;
|
||||
|
||||
/**
|
||||
* Signal-to-noise ratio at correlator output in dB.
|
||||
|
||||
@@ -26,7 +26,7 @@ parcelable GnssSignalType {
|
||||
/**
|
||||
* Constellation type of the SV that transmits the signal.
|
||||
*/
|
||||
GnssConstellationType constellation;
|
||||
GnssConstellationType constellation = GnssConstellationType.UNKNOWN;
|
||||
|
||||
/**
|
||||
* Carrier frequency of the signal tracked, for example it can be the
|
||||
|
||||
Reference in New Issue
Block a user