Merge "Clean up AIDL warnings in GNSS" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-02-25 01:35:53 +00:00
committed by Android (Google) Code Review
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