Clean up AIDL warnings in GNSS

Bug: 179853357
Test: on cuttlefish
Change-Id: I4f41b1ce7ddce6cfa1b240dc455643d93ce697d1
This commit is contained in:
Yu-Han Yang
2021-02-11 13:45:06 -08:00
parent 1094427f88
commit 8638d754ee
6 changed files with 6 additions and 6 deletions

View File

@@ -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;
}

View File

@@ -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;

View File

@@ -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";

View File

@@ -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

View File

@@ -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.

View File

@@ -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