xref: /aosp_15_r20/prebuilts/sdk/34/system/api/framework-location.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Worker
3*344a7f5eSAndroid Build Coastguard Workerpackage android.location {
4*344a7f5eSAndroid Build Coastguard Worker  public abstract class BatchedLocationCallback {
5*344a7f5eSAndroid Build Coastguard Worker    ctor public BatchedLocationCallback();
6*344a7f5eSAndroid Build Coastguard Worker    method public void onLocationBatch(java.util.List<android.location.Location>);
7*344a7f5eSAndroid Build Coastguard Worker  }
8*344a7f5eSAndroid Build Coastguard Worker
9*344a7f5eSAndroid Build Coastguard Worker  public final class CorrelationVector implements android.os.Parcelable {
10*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
11*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public double getFrequencyOffsetMetersPerSecond();
12*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public int[] getMagnitude();
13*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public double getSamplingStartMeters();
14*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f, fromInclusive=false) public double getSamplingWidthMeters();
15*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
16*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.CorrelationVector> CREATOR;
17*344a7f5eSAndroid Build Coastguard Worker  }
18*344a7f5eSAndroid Build Coastguard Worker
19*344a7f5eSAndroid Build Coastguard Worker  public static final class CorrelationVector.Builder {
20*344a7f5eSAndroid Build Coastguard Worker    ctor public CorrelationVector.Builder();
21*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.CorrelationVector build();
22*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.CorrelationVector.Builder setFrequencyOffsetMetersPerSecond(@FloatRange(from=0.0f) double);
23*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.CorrelationVector.Builder setMagnitude(@NonNull int[]);
24*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.CorrelationVector.Builder setSamplingStartMeters(@FloatRange(from=0.0f) double);
25*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.CorrelationVector.Builder setSamplingWidthMeters(@FloatRange(from=0.0f, fromInclusive=false) double);
26*344a7f5eSAndroid Build Coastguard Worker  }
27*344a7f5eSAndroid Build Coastguard Worker
28*344a7f5eSAndroid Build Coastguard Worker  public final class Country implements android.os.Parcelable {
29*344a7f5eSAndroid Build Coastguard Worker    ctor public Country(@NonNull String, int);
30*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
31*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public String getCountryCode();
32*344a7f5eSAndroid Build Coastguard Worker    method public int getSource();
33*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
34*344a7f5eSAndroid Build Coastguard Worker    field public static final int COUNTRY_SOURCE_LOCALE = 3; // 0x3
35*344a7f5eSAndroid Build Coastguard Worker    field public static final int COUNTRY_SOURCE_LOCATION = 1; // 0x1
36*344a7f5eSAndroid Build Coastguard Worker    field public static final int COUNTRY_SOURCE_NETWORK = 0; // 0x0
37*344a7f5eSAndroid Build Coastguard Worker    field public static final int COUNTRY_SOURCE_SIM = 2; // 0x2
38*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.Country> CREATOR;
39*344a7f5eSAndroid Build Coastguard Worker  }
40*344a7f5eSAndroid Build Coastguard Worker
41*344a7f5eSAndroid Build Coastguard Worker  public class CountryDetector {
42*344a7f5eSAndroid Build Coastguard Worker    method public void registerCountryDetectorCallback(@NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.location.Country>);
43*344a7f5eSAndroid Build Coastguard Worker    method public void unregisterCountryDetectorCallback(@NonNull java.util.function.Consumer<android.location.Country>);
44*344a7f5eSAndroid Build Coastguard Worker  }
45*344a7f5eSAndroid Build Coastguard Worker
46*344a7f5eSAndroid Build Coastguard Worker  public final class GnssCapabilities implements android.os.Parcelable {
47*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasMeasurementCorrectionsReflectingPane();
48*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasNavMessages();
49*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasSatelliteBlacklist();
50*344a7f5eSAndroid Build Coastguard Worker  }
51*344a7f5eSAndroid Build Coastguard Worker
52*344a7f5eSAndroid Build Coastguard Worker  public final class GnssExcessPathInfo implements android.os.Parcelable {
53*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
54*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public float getAttenuationDb();
55*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public float getExcessPathLengthMeters();
56*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public float getExcessPathLengthUncertaintyMeters();
57*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssReflectingPlane getReflectingPlane();
58*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasAttenuation();
59*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasExcessPathLength();
60*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasExcessPathLengthUncertainty();
61*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasReflectingPlane();
62*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
63*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssExcessPathInfo> CREATOR;
64*344a7f5eSAndroid Build Coastguard Worker  }
65*344a7f5eSAndroid Build Coastguard Worker
66*344a7f5eSAndroid Build Coastguard Worker  public static final class GnssExcessPathInfo.Builder {
67*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssExcessPathInfo.Builder();
68*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssExcessPathInfo build();
69*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssExcessPathInfo.Builder clearAttenuationDb();
70*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssExcessPathInfo.Builder clearExcessPathLengthMeters();
71*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssExcessPathInfo.Builder clearExcessPathLengthUncertaintyMeters();
72*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssExcessPathInfo.Builder setAttenuationDb(@FloatRange(from=0.0f) float);
73*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssExcessPathInfo.Builder setExcessPathLengthMeters(@FloatRange(from=0.0f) float);
74*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssExcessPathInfo.Builder setExcessPathLengthUncertaintyMeters(@FloatRange(from=0.0f) float);
75*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssExcessPathInfo.Builder setReflectingPlane(@Nullable android.location.GnssReflectingPlane);
76*344a7f5eSAndroid Build Coastguard Worker  }
77*344a7f5eSAndroid Build Coastguard Worker
78*344a7f5eSAndroid Build Coastguard Worker  public final class GnssMeasurement implements android.os.Parcelable {
79*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public java.util.Collection<android.location.CorrelationVector> getCorrelationVectors();
80*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.location.SatellitePvt getSatellitePvt();
81*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasCorrelationVectors();
82*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasSatellitePvt();
83*344a7f5eSAndroid Build Coastguard Worker  }
84*344a7f5eSAndroid Build Coastguard Worker
85*344a7f5eSAndroid Build Coastguard Worker  public final class GnssMeasurementCorrections implements android.os.Parcelable {
86*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
87*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters();
88*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f, to=360.0f) public float getEnvironmentBearingDegrees();
89*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f, to=180.0f) public float getEnvironmentBearingUncertaintyDegrees();
90*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public double getHorizontalPositionUncertaintyMeters();
91*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees();
92*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees();
93*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.location.GnssSingleSatCorrection> getSingleSatelliteCorrectionList();
94*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) public long getToaGpsNanosecondsOfWeek();
95*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public double getVerticalPositionUncertaintyMeters();
96*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasEnvironmentBearing();
97*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
98*344a7f5eSAndroid Build Coastguard Worker    field public static final android.os.Parcelable.Creator<android.location.GnssMeasurementCorrections> CREATOR;
99*344a7f5eSAndroid Build Coastguard Worker  }
100*344a7f5eSAndroid Build Coastguard Worker
101*344a7f5eSAndroid Build Coastguard Worker  public static final class GnssMeasurementCorrections.Builder {
102*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssMeasurementCorrections.Builder();
103*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections build();
104*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double);
105*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setEnvironmentBearingDegrees(@FloatRange(from=0.0f, to=360.0f) float);
106*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setEnvironmentBearingUncertaintyDegrees(@FloatRange(from=0.0f, to=180.0f) float);
107*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setHorizontalPositionUncertaintyMeters(@FloatRange(from=0.0f) double);
108*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double);
109*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double);
110*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setSingleSatelliteCorrectionList(@NonNull java.util.List<android.location.GnssSingleSatCorrection>);
111*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setToaGpsNanosecondsOfWeek(@IntRange(from=0) long);
112*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementCorrections.Builder setVerticalPositionUncertaintyMeters(@FloatRange(from=0.0f) double);
113*344a7f5eSAndroid Build Coastguard Worker  }
114*344a7f5eSAndroid Build Coastguard Worker
115*344a7f5eSAndroid Build Coastguard Worker  public final class GnssMeasurementRequest implements android.os.Parcelable {
116*344a7f5eSAndroid Build Coastguard Worker    method public boolean isCorrelationVectorOutputsEnabled();
117*344a7f5eSAndroid Build Coastguard Worker  }
118*344a7f5eSAndroid Build Coastguard Worker
119*344a7f5eSAndroid Build Coastguard Worker  public static final class GnssMeasurementRequest.Builder {
120*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssMeasurementRequest.Builder setCorrelationVectorOutputsEnabled(boolean);
121*344a7f5eSAndroid Build Coastguard Worker  }
122*344a7f5eSAndroid Build Coastguard Worker
123*344a7f5eSAndroid Build Coastguard Worker  public final class GnssReflectingPlane implements android.os.Parcelable {
124*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
125*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=-1000.0F, to=10000.0f) public double getAltitudeMeters();
126*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f, to=360.0f) public double getAzimuthDegrees();
127*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=-90.0F, to=90.0f) public double getLatitudeDegrees();
128*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=-180.0F, to=180.0f) public double getLongitudeDegrees();
129*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
130*344a7f5eSAndroid Build Coastguard Worker    field public static final android.os.Parcelable.Creator<android.location.GnssReflectingPlane> CREATOR;
131*344a7f5eSAndroid Build Coastguard Worker  }
132*344a7f5eSAndroid Build Coastguard Worker
133*344a7f5eSAndroid Build Coastguard Worker  public static final class GnssReflectingPlane.Builder {
134*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssReflectingPlane.Builder();
135*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssReflectingPlane build();
136*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssReflectingPlane.Builder setAltitudeMeters(@FloatRange(from=-1000.0F, to=10000.0f) double);
137*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssReflectingPlane.Builder setAzimuthDegrees(@FloatRange(from=0.0f, to=360.0f) double);
138*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssReflectingPlane.Builder setLatitudeDegrees(@FloatRange(from=-90.0F, to=90.0f) double);
139*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssReflectingPlane.Builder setLongitudeDegrees(@FloatRange(from=-180.0F, to=180.0f) double);
140*344a7f5eSAndroid Build Coastguard Worker  }
141*344a7f5eSAndroid Build Coastguard Worker
142*344a7f5eSAndroid Build Coastguard Worker  public final class GnssRequest implements android.os.Parcelable {
143*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
144*344a7f5eSAndroid Build Coastguard Worker    method public boolean isFullTracking();
145*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
146*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.GnssRequest> CREATOR;
147*344a7f5eSAndroid Build Coastguard Worker  }
148*344a7f5eSAndroid Build Coastguard Worker
149*344a7f5eSAndroid Build Coastguard Worker  public static final class GnssRequest.Builder {
150*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssRequest.Builder();
151*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssRequest.Builder(@NonNull android.location.GnssRequest);
152*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssRequest build();
153*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssRequest.Builder setFullTracking(boolean);
154*344a7f5eSAndroid Build Coastguard Worker  }
155*344a7f5eSAndroid Build Coastguard Worker
156*344a7f5eSAndroid Build Coastguard Worker  public final class GnssSingleSatCorrection implements android.os.Parcelable {
157*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
158*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f, fromInclusive=false) public float getCarrierFrequencyHz();
159*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public float getCombinedAttenuationDb();
160*344a7f5eSAndroid Build Coastguard Worker    method public int getConstellationType();
161*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public float getExcessPathLengthMeters();
162*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f) public float getExcessPathLengthUncertaintyMeters();
163*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public java.util.List<android.location.GnssExcessPathInfo> getGnssExcessPathInfoList();
164*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f, to=1.0f) public float getProbabilityLineOfSight();
165*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @Nullable public android.location.GnssReflectingPlane getReflectingPlane();
166*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) public int getSatelliteId();
167*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasCombinedAttenuation();
168*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasExcessPathLength();
169*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasExcessPathLengthUncertainty();
170*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasReflectingPlane();
171*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasValidSatelliteLineOfSight();
172*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
173*344a7f5eSAndroid Build Coastguard Worker    field public static final android.os.Parcelable.Creator<android.location.GnssSingleSatCorrection> CREATOR;
174*344a7f5eSAndroid Build Coastguard Worker  }
175*344a7f5eSAndroid Build Coastguard Worker
176*344a7f5eSAndroid Build Coastguard Worker  public static final class GnssSingleSatCorrection.Builder {
177*344a7f5eSAndroid Build Coastguard Worker    ctor public GnssSingleSatCorrection.Builder();
178*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection build();
179*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder clearCombinedAttenuationDb();
180*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder clearExcessPathLengthMeters();
181*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder clearExcessPathLengthUncertaintyMeters();
182*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder clearProbabilityLineOfSight();
183*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder setCarrierFrequencyHz(@FloatRange(from=0.0f, fromInclusive=false) float);
184*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder setCombinedAttenuationDb(@FloatRange(from=0.0f) float);
185*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder setConstellationType(int);
186*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthMeters(@FloatRange(from=0.0f) float);
187*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder setExcessPathLengthUncertaintyMeters(@FloatRange(from=0.0f) float);
188*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder setGnssExcessPathInfoList(@NonNull java.util.List<android.location.GnssExcessPathInfo>);
189*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder setProbabilityLineOfSight(@FloatRange(from=0.0f, to=1.0f) float);
190*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.GnssSingleSatCorrection.Builder setReflectingPlane(@Nullable android.location.GnssReflectingPlane);
191*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.GnssSingleSatCorrection.Builder setSatelliteId(@IntRange(from=0) int);
192*344a7f5eSAndroid Build Coastguard Worker  }
193*344a7f5eSAndroid Build Coastguard Worker
194*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class GpsClock implements android.os.Parcelable {
195*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int describeContents();
196*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getBiasInNs();
197*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getBiasUncertaintyInNs();
198*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getDriftInNsPerSec();
199*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getDriftUncertaintyInNsPerSec();
200*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getFullBiasInNs();
201*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public short getLeapSecond();
202*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getTimeInNs();
203*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getTimeUncertaintyInNs();
204*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public byte getType();
205*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasBiasInNs();
206*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasBiasUncertaintyInNs();
207*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasDriftInNsPerSec();
208*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasDriftUncertaintyInNsPerSec();
209*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasFullBiasInNs();
210*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasLeapSecond();
211*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasTimeUncertaintyInNs();
212*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void reset();
213*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetBiasInNs();
214*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetBiasUncertaintyInNs();
215*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetDriftInNsPerSec();
216*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetDriftUncertaintyInNsPerSec();
217*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetFullBiasInNs();
218*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetLeapSecond();
219*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetTimeUncertaintyInNs();
220*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void set(android.location.GpsClock);
221*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setBiasInNs(double);
222*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setBiasUncertaintyInNs(double);
223*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setDriftInNsPerSec(double);
224*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setDriftUncertaintyInNsPerSec(double);
225*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setFullBiasInNs(long);
226*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setLeapSecond(short);
227*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setTimeInNs(long);
228*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setTimeUncertaintyInNs(double);
229*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setType(byte);
230*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void writeToParcel(android.os.Parcel, int);
231*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsClock> CREATOR;
232*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte TYPE_GPS_TIME = 2; // 0x2
233*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte TYPE_LOCAL_HW_TIME = 1; // 0x1
234*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte TYPE_UNKNOWN = 0; // 0x0
235*344a7f5eSAndroid Build Coastguard Worker  }
236*344a7f5eSAndroid Build Coastguard Worker
237*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class GpsMeasurement implements android.os.Parcelable {
238*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int describeContents();
239*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getAccumulatedDeltaRangeInMeters();
240*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public short getAccumulatedDeltaRangeState();
241*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getAccumulatedDeltaRangeUncertaintyInMeters();
242*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getAzimuthInDeg();
243*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getAzimuthUncertaintyInDeg();
244*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getBitNumber();
245*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getCarrierCycles();
246*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public float getCarrierFrequencyInHz();
247*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getCarrierPhase();
248*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getCarrierPhaseUncertainty();
249*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getCn0InDbHz();
250*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getCodePhaseInChips();
251*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getCodePhaseUncertaintyInChips();
252*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getDopplerShiftInHz();
253*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getDopplerShiftUncertaintyInHz();
254*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getElevationInDeg();
255*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getElevationUncertaintyInDeg();
256*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public byte getLossOfLock();
257*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public byte getMultipathIndicator();
258*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public byte getPrn();
259*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getPseudorangeInMeters();
260*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getPseudorangeRateInMetersPerSec();
261*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getPseudorangeRateUncertaintyInMetersPerSec();
262*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getPseudorangeUncertaintyInMeters();
263*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getReceivedGpsTowInNs();
264*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getReceivedGpsTowUncertaintyInNs();
265*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getSnrInDb();
266*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public short getState();
267*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public short getTimeFromLastBitInMs();
268*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getTimeOffsetInNs();
269*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasAzimuthInDeg();
270*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasAzimuthUncertaintyInDeg();
271*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasBitNumber();
272*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasCarrierCycles();
273*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasCarrierFrequencyInHz();
274*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasCarrierPhase();
275*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasCarrierPhaseUncertainty();
276*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasCodePhaseInChips();
277*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasCodePhaseUncertaintyInChips();
278*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasDopplerShiftInHz();
279*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasDopplerShiftUncertaintyInHz();
280*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasElevationInDeg();
281*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasElevationUncertaintyInDeg();
282*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasPseudorangeInMeters();
283*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasPseudorangeUncertaintyInMeters();
284*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasSnrInDb();
285*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasTimeFromLastBitInMs();
286*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isPseudorangeRateCorrected();
287*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isUsedInFix();
288*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void reset();
289*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetAzimuthInDeg();
290*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetAzimuthUncertaintyInDeg();
291*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetBitNumber();
292*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierCycles();
293*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierFrequencyInHz();
294*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierPhase();
295*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCarrierPhaseUncertainty();
296*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCodePhaseInChips();
297*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetCodePhaseUncertaintyInChips();
298*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetDopplerShiftInHz();
299*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetDopplerShiftUncertaintyInHz();
300*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetElevationInDeg();
301*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetElevationUncertaintyInDeg();
302*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetPseudorangeInMeters();
303*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetPseudorangeUncertaintyInMeters();
304*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetSnrInDb();
305*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetTimeFromLastBitInMs();
306*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void set(android.location.GpsMeasurement);
307*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setAccumulatedDeltaRangeInMeters(double);
308*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setAccumulatedDeltaRangeState(short);
309*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setAccumulatedDeltaRangeUncertaintyInMeters(double);
310*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setAzimuthInDeg(double);
311*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setAzimuthUncertaintyInDeg(double);
312*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setBitNumber(int);
313*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierCycles(long);
314*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierFrequencyInHz(float);
315*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierPhase(double);
316*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCarrierPhaseUncertainty(double);
317*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCn0InDbHz(double);
318*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCodePhaseInChips(double);
319*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setCodePhaseUncertaintyInChips(double);
320*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setDopplerShiftInHz(double);
321*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setDopplerShiftUncertaintyInHz(double);
322*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setElevationInDeg(double);
323*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setElevationUncertaintyInDeg(double);
324*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setLossOfLock(byte);
325*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setMultipathIndicator(byte);
326*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setPrn(byte);
327*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setPseudorangeInMeters(double);
328*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setPseudorangeRateInMetersPerSec(double);
329*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setPseudorangeRateUncertaintyInMetersPerSec(double);
330*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setPseudorangeUncertaintyInMeters(double);
331*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setReceivedGpsTowInNs(long);
332*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setReceivedGpsTowUncertaintyInNs(long);
333*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setSnrInDb(double);
334*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setState(short);
335*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setTimeFromLastBitInMs(short);
336*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setTimeOffsetInNs(double);
337*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setUsedInFix(boolean);
338*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void writeToParcel(android.os.Parcel, int);
339*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short ADR_STATE_CYCLE_SLIP = 4; // 0x4
340*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short ADR_STATE_RESET = 2; // 0x2
341*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short ADR_STATE_UNKNOWN = 0; // 0x0
342*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short ADR_STATE_VALID = 1; // 0x1
343*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsMeasurement> CREATOR;
344*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte LOSS_OF_LOCK_CYCLE_SLIP = 2; // 0x2
345*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte LOSS_OF_LOCK_OK = 1; // 0x1
346*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte LOSS_OF_LOCK_UNKNOWN = 0; // 0x0
347*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte MULTIPATH_INDICATOR_DETECTED = 1; // 0x1
348*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte MULTIPATH_INDICATOR_NOT_USED = 2; // 0x2
349*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte MULTIPATH_INDICATOR_UNKNOWN = 0; // 0x0
350*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATE_BIT_SYNC = 2; // 0x2
351*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATE_CODE_LOCK = 1; // 0x1
352*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATE_MSEC_AMBIGUOUS = 16; // 0x10
353*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATE_SUBFRAME_SYNC = 4; // 0x4
354*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATE_TOW_DECODED = 8; // 0x8
355*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATE_UNKNOWN = 0; // 0x0
356*344a7f5eSAndroid Build Coastguard Worker  }
357*344a7f5eSAndroid Build Coastguard Worker
358*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class GpsMeasurementsEvent implements android.os.Parcelable {
359*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GpsMeasurementsEvent(android.location.GpsClock, android.location.GpsMeasurement[]);
360*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int describeContents();
361*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.GpsClock getClock();
362*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public java.util.Collection<android.location.GpsMeasurement> getMeasurements();
363*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void writeToParcel(android.os.Parcel, int);
364*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsMeasurementsEvent> CREATOR;
365*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int STATUS_GPS_LOCATION_DISABLED = 2; // 0x2
366*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int STATUS_NOT_SUPPORTED = 0; // 0x0
367*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int STATUS_READY = 1; // 0x1
368*344a7f5eSAndroid Build Coastguard Worker  }
369*344a7f5eSAndroid Build Coastguard Worker
370*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static interface GpsMeasurementsEvent.Listener {
371*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onGpsMeasurementsReceived(android.location.GpsMeasurementsEvent);
372*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onStatusChanged(int);
373*344a7f5eSAndroid Build Coastguard Worker  }
374*344a7f5eSAndroid Build Coastguard Worker
375*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class GpsNavigationMessage implements android.os.Parcelable {
376*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int describeContents();
377*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public byte[] getData();
378*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public short getMessageId();
379*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public byte getPrn();
380*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public short getStatus();
381*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public short getSubmessageId();
382*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public byte getType();
383*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void reset();
384*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void set(android.location.GpsNavigationMessage);
385*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setData(byte[]);
386*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setMessageId(short);
387*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setPrn(byte);
388*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setStatus(short);
389*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setSubmessageId(short);
390*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setType(byte);
391*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void writeToParcel(android.os.Parcel, int);
392*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsNavigationMessage> CREATOR;
393*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATUS_PARITY_PASSED = 1; // 0x1
394*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATUS_PARITY_REBUILT = 2; // 0x2
395*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final short STATUS_UNKNOWN = 0; // 0x0
396*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte TYPE_CNAV2 = 4; // 0x4
397*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte TYPE_L1CA = 1; // 0x1
398*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte TYPE_L2CNAV = 2; // 0x2
399*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte TYPE_L5CNAV = 3; // 0x3
400*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final byte TYPE_UNKNOWN = 0; // 0x0
401*344a7f5eSAndroid Build Coastguard Worker  }
402*344a7f5eSAndroid Build Coastguard Worker
403*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class GpsNavigationMessageEvent implements android.os.Parcelable {
404*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GpsNavigationMessageEvent(android.location.GpsNavigationMessage);
405*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int describeContents();
406*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.GpsNavigationMessage getNavigationMessage();
407*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void writeToParcel(android.os.Parcel, int);
408*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GpsNavigationMessageEvent> CREATOR;
409*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int STATUS_GPS_LOCATION_DISABLED;
410*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int STATUS_NOT_SUPPORTED;
411*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int STATUS_READY;
412*344a7f5eSAndroid Build Coastguard Worker  }
413*344a7f5eSAndroid Build Coastguard Worker
414*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static interface GpsNavigationMessageEvent.Listener {
415*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onGpsNavigationMessageReceived(android.location.GpsNavigationMessageEvent);
416*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onStatusChanged(int);
417*344a7f5eSAndroid Build Coastguard Worker  }
418*344a7f5eSAndroid Build Coastguard Worker
419*344a7f5eSAndroid Build Coastguard Worker  public final class LastLocationRequest implements android.os.Parcelable {
420*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
421*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAdasGnssBypass();
422*344a7f5eSAndroid Build Coastguard Worker    method public boolean isHiddenFromAppOps();
423*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLocationSettingsIgnored();
424*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
425*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.LastLocationRequest> CREATOR;
426*344a7f5eSAndroid Build Coastguard Worker  }
427*344a7f5eSAndroid Build Coastguard Worker
428*344a7f5eSAndroid Build Coastguard Worker  public static final class LastLocationRequest.Builder {
429*344a7f5eSAndroid Build Coastguard Worker    ctor public LastLocationRequest.Builder();
430*344a7f5eSAndroid Build Coastguard Worker    ctor public LastLocationRequest.Builder(@NonNull android.location.LastLocationRequest);
431*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.LastLocationRequest build();
432*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LastLocationRequest.Builder setAdasGnssBypass(boolean);
433*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_APP_OPS_STATS) public android.location.LastLocationRequest.Builder setHiddenFromAppOps(boolean);
434*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LastLocationRequest.Builder setLocationSettingsIgnored(boolean);
435*344a7f5eSAndroid Build Coastguard Worker  }
436*344a7f5eSAndroid Build Coastguard Worker
437*344a7f5eSAndroid Build Coastguard Worker  public class LocationManager {
438*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(allOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.INTERACT_ACROSS_USERS}) public void addProviderRequestChangedListener(@NonNull java.util.concurrent.Executor, @NonNull android.location.provider.ProviderRequest.ChangedListener);
439*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void flushGnssBatch();
440*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void getCurrentLocation(@NonNull android.location.LocationRequest, @Nullable android.os.CancellationSignal, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.location.Location>);
441*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getExtraLocationControllerPackage();
442*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getGnssBatchSize();
443*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public android.location.Location getLastKnownLocation(@NonNull String, @NonNull android.location.LastLocationRequest);
444*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public void injectGnssMeasurementCorrections(@NonNull android.location.GnssMeasurementCorrections);
445*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAdasGnssLocationEnabled();
446*344a7f5eSAndroid Build Coastguard Worker    method public boolean isExtraLocationControllerPackageEnabled();
447*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLocationEnabledForUser(@NonNull android.os.UserHandle);
448*344a7f5eSAndroid Build Coastguard Worker    method public boolean isProviderEnabledForUser(@NonNull String, @NonNull android.os.UserHandle);
449*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public boolean isProviderPackage(@NonNull String);
450*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public boolean isProviderPackage(@Nullable String, @NonNull String, @Nullable String);
451*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.LOCATION_HARDWARE, android.Manifest.permission.UPDATE_APP_OPS_STATS}) public boolean registerGnssBatchedLocationCallback(long, boolean, @NonNull android.location.BatchedLocationCallback, @Nullable android.os.Handler);
452*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_FINE_LOCATION) public boolean registerGnssMeasurementsCallback(@NonNull android.location.GnssRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.GnssMeasurementsEvent.Callback);
453*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void removeProviderRequestChangedListener(@NonNull android.location.provider.ProviderRequest.ChangedListener);
454*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.location.LocationListener, @Nullable android.os.Looper);
455*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull java.util.concurrent.Executor, @NonNull android.location.LocationListener);
456*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}) public void requestLocationUpdates(@Nullable android.location.LocationRequest, @NonNull android.app.PendingIntent);
457*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public void setAdasGnssLocationEnabled(boolean);
458*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackage(@Nullable String);
459*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setExtraLocationControllerPackageEnabled(boolean);
460*344a7f5eSAndroid Build Coastguard Worker    method @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public void setLocationEnabledForUser(boolean, @NonNull android.os.UserHandle);
461*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) public boolean setProviderEnabledForUser(@NonNull String, boolean, @NonNull android.os.UserHandle);
462*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public boolean unregisterGnssBatchedLocationCallback(@NonNull android.location.BatchedLocationCallback);
463*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_ADAS_GNSS_ENABLED_CHANGED = "android.location.action.ADAS_GNSS_ENABLED_CHANGED";
464*344a7f5eSAndroid Build Coastguard Worker    field public static final String EXTRA_ADAS_GNSS_ENABLED = "android.location.extra.ADAS_GNSS_ENABLED";
465*344a7f5eSAndroid Build Coastguard Worker    field @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public static final String GPS_HARDWARE_PROVIDER = "gps_hardware";
466*344a7f5eSAndroid Build Coastguard Worker  }
467*344a7f5eSAndroid Build Coastguard Worker
468*344a7f5eSAndroid Build Coastguard Worker  public final class LocationRequest implements android.os.Parcelable {
469*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public static android.location.LocationRequest create();
470*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public static android.location.LocationRequest createFromDeprecatedCriteria(@NonNull android.location.Criteria, long, float, boolean);
471*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public static android.location.LocationRequest createFromDeprecatedProvider(@NonNull String, long, float, boolean);
472*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getExpireAt();
473*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getExpireIn();
474*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getFastestInterval();
475*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean getHideFromAppOps();
476*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getInterval();
477*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getNumUpdates();
478*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public String getProvider();
479*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public float getSmallestDisplacement();
480*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.WorkSource getWorkSource();
481*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAdasGnssBypass();
482*344a7f5eSAndroid Build Coastguard Worker    method public boolean isHiddenFromAppOps();
483*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLocationSettingsIgnored();
484*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLowPower();
485*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isLowPowerMode();
486*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setExpireAt(long);
487*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setExpireIn(long);
488*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setFastestInterval(long);
489*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setHideFromAppOps(boolean);
490*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setInterval(long);
491*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LocationRequest setLocationSettingsIgnored(boolean);
492*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setLowPowerMode(boolean);
493*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setNumUpdates(int);
494*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setProvider(@NonNull String);
495*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setQuality(int);
496*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public android.location.LocationRequest setSmallestDisplacement(float);
497*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setWorkSource(@Nullable android.os.WorkSource);
498*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int ACCURACY_BLOCK = 102; // 0x66
499*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int ACCURACY_CITY = 104; // 0x68
500*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int ACCURACY_FINE = 100; // 0x64
501*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int POWER_HIGH = 203; // 0xcb
502*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int POWER_LOW = 201; // 0xc9
503*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static final int POWER_NONE = 200; // 0xc8
504*344a7f5eSAndroid Build Coastguard Worker  }
505*344a7f5eSAndroid Build Coastguard Worker
506*344a7f5eSAndroid Build Coastguard Worker  public static final class LocationRequest.Builder {
507*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LocationRequest.Builder setAdasGnssBypass(boolean);
508*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_APP_OPS_STATS) public android.location.LocationRequest.Builder setHiddenFromAppOps(boolean);
509*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_BYPASS) public android.location.LocationRequest.Builder setLocationSettingsIgnored(boolean);
510*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public android.location.LocationRequest.Builder setLowPower(boolean);
511*344a7f5eSAndroid Build Coastguard Worker    method @NonNull @RequiresPermission(android.Manifest.permission.UPDATE_DEVICE_STATS) public android.location.LocationRequest.Builder setWorkSource(@Nullable android.os.WorkSource);
512*344a7f5eSAndroid Build Coastguard Worker  }
513*344a7f5eSAndroid Build Coastguard Worker
514*344a7f5eSAndroid Build Coastguard Worker  public final class SatellitePvt implements android.os.Parcelable {
515*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
516*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.location.SatellitePvt.ClockInfo getClockInfo();
517*344a7f5eSAndroid Build Coastguard Worker    method public int getEphemerisSource();
518*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getIonoDelayMeters();
519*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0, to=1023) public int getIssueOfDataClock();
520*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0, to=1023) public int getIssueOfDataEphemeris();
521*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.location.SatellitePvt.PositionEcef getPositionEcef();
522*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) public long getTimeOfClockSeconds();
523*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) public long getTimeOfEphemerisSeconds();
524*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getTropoDelayMeters();
525*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public android.location.SatellitePvt.VelocityEcef getVelocityEcef();
526*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasIono();
527*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasIssueOfDataClock();
528*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasIssueOfDataEphemeris();
529*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasPositionVelocityClockInfo();
530*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasTimeOfClockSeconds();
531*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasTimeOfEphemerisSeconds();
532*344a7f5eSAndroid Build Coastguard Worker    method public boolean hasTropo();
533*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
534*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.SatellitePvt> CREATOR;
535*344a7f5eSAndroid Build Coastguard Worker    field public static final int EPHEMERIS_SOURCE_DEMODULATED = 0; // 0x0
536*344a7f5eSAndroid Build Coastguard Worker    field public static final int EPHEMERIS_SOURCE_OTHER = 3; // 0x3
537*344a7f5eSAndroid Build Coastguard Worker    field public static final int EPHEMERIS_SOURCE_SERVER_LONG_TERM = 2; // 0x2
538*344a7f5eSAndroid Build Coastguard Worker    field public static final int EPHEMERIS_SOURCE_SERVER_NORMAL = 1; // 0x1
539*344a7f5eSAndroid Build Coastguard Worker  }
540*344a7f5eSAndroid Build Coastguard Worker
541*344a7f5eSAndroid Build Coastguard Worker  public static final class SatellitePvt.Builder {
542*344a7f5eSAndroid Build Coastguard Worker    ctor public SatellitePvt.Builder();
543*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt build();
544*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setClockInfo(@NonNull android.location.SatellitePvt.ClockInfo);
545*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setEphemerisSource(int);
546*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setIonoDelayMeters(@FloatRange(from=0.0f, to=100.0f) double);
547*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setIssueOfDataClock(@IntRange(from=0, to=1023) int);
548*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setIssueOfDataEphemeris(@IntRange(from=0, to=1023) int);
549*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setPositionEcef(@NonNull android.location.SatellitePvt.PositionEcef);
550*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setTimeOfClockSeconds(@IntRange(from=0) long);
551*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setTimeOfEphemerisSeconds(@IntRange(from=0) long);
552*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setTropoDelayMeters(@FloatRange(from=0.0f, to=100.0f) double);
553*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.SatellitePvt.Builder setVelocityEcef(@NonNull android.location.SatellitePvt.VelocityEcef);
554*344a7f5eSAndroid Build Coastguard Worker  }
555*344a7f5eSAndroid Build Coastguard Worker
556*344a7f5eSAndroid Build Coastguard Worker  public static final class SatellitePvt.ClockInfo implements android.os.Parcelable {
557*344a7f5eSAndroid Build Coastguard Worker    ctor public SatellitePvt.ClockInfo(double, double, double);
558*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
559*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getClockDriftMetersPerSecond();
560*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getHardwareCodeBiasMeters();
561*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getTimeCorrectionMeters();
562*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
563*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.SatellitePvt.ClockInfo> CREATOR;
564*344a7f5eSAndroid Build Coastguard Worker  }
565*344a7f5eSAndroid Build Coastguard Worker
566*344a7f5eSAndroid Build Coastguard Worker  public static final class SatellitePvt.PositionEcef implements android.os.Parcelable {
567*344a7f5eSAndroid Build Coastguard Worker    ctor public SatellitePvt.PositionEcef(double, double, double, double);
568*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
569*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f, fromInclusive=false) public double getUreMeters();
570*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getXMeters();
571*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getYMeters();
572*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getZMeters();
573*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
574*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.SatellitePvt.PositionEcef> CREATOR;
575*344a7f5eSAndroid Build Coastguard Worker  }
576*344a7f5eSAndroid Build Coastguard Worker
577*344a7f5eSAndroid Build Coastguard Worker  public static final class SatellitePvt.VelocityEcef implements android.os.Parcelable {
578*344a7f5eSAndroid Build Coastguard Worker    ctor public SatellitePvt.VelocityEcef(double, double, double, double);
579*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
580*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange(from=0.0f, fromInclusive=false) public double getUreRateMetersPerSecond();
581*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getXMetersPerSecond();
582*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getYMetersPerSecond();
583*344a7f5eSAndroid Build Coastguard Worker    method @FloatRange public double getZMetersPerSecond();
584*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
585*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.SatellitePvt.VelocityEcef> CREATOR;
586*344a7f5eSAndroid Build Coastguard Worker  }
587*344a7f5eSAndroid Build Coastguard Worker
588*344a7f5eSAndroid Build Coastguard Worker}
589*344a7f5eSAndroid Build Coastguard Worker
590*344a7f5eSAndroid Build Coastguard Workerpackage android.location.provider {
591*344a7f5eSAndroid Build Coastguard Worker
592*344a7f5eSAndroid Build Coastguard Worker  public abstract class LocationProviderBase {
593*344a7f5eSAndroid Build Coastguard Worker    ctor public LocationProviderBase(@NonNull android.content.Context, @NonNull String, @NonNull android.location.provider.ProviderProperties);
594*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public final android.os.IBinder getBinder();
595*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.provider.ProviderProperties getProperties();
596*344a7f5eSAndroid Build Coastguard Worker    method public boolean isAllowed();
597*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onFlush(@NonNull android.location.provider.LocationProviderBase.OnFlushCompleteCallback);
598*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onSendExtraCommand(@NonNull String, @Nullable android.os.Bundle);
599*344a7f5eSAndroid Build Coastguard Worker    method public abstract void onSetRequest(@NonNull android.location.provider.ProviderRequest);
600*344a7f5eSAndroid Build Coastguard Worker    method public void reportLocation(@NonNull android.location.Location);
601*344a7f5eSAndroid Build Coastguard Worker    method public void reportLocations(@NonNull java.util.List<android.location.Location>);
602*344a7f5eSAndroid Build Coastguard Worker    method public void setAllowed(boolean);
603*344a7f5eSAndroid Build Coastguard Worker    method public void setProperties(@NonNull android.location.provider.ProviderProperties);
604*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_FUSED_PROVIDER = "com.android.location.service.FusedLocationProvider";
605*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_GNSS_PROVIDER = "android.location.provider.action.GNSS_PROVIDER";
606*344a7f5eSAndroid Build Coastguard Worker    field public static final String ACTION_NETWORK_PROVIDER = "com.android.location.service.v3.NetworkLocationProvider";
607*344a7f5eSAndroid Build Coastguard Worker  }
608*344a7f5eSAndroid Build Coastguard Worker
609*344a7f5eSAndroid Build Coastguard Worker  public static interface LocationProviderBase.OnFlushCompleteCallback {
610*344a7f5eSAndroid Build Coastguard Worker    method public void onFlushComplete();
611*344a7f5eSAndroid Build Coastguard Worker  }
612*344a7f5eSAndroid Build Coastguard Worker
613*344a7f5eSAndroid Build Coastguard Worker  public final class ProviderRequest implements android.os.Parcelable {
614*344a7f5eSAndroid Build Coastguard Worker    method public int describeContents();
615*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) public long getIntervalMillis();
616*344a7f5eSAndroid Build Coastguard Worker    method @IntRange(from=0) public long getMaxUpdateDelayMillis();
617*344a7f5eSAndroid Build Coastguard Worker    method public int getQuality();
618*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.os.WorkSource getWorkSource();
619*344a7f5eSAndroid Build Coastguard Worker    method public boolean isActive();
620*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLocationSettingsIgnored();
621*344a7f5eSAndroid Build Coastguard Worker    method public boolean isLowPower();
622*344a7f5eSAndroid Build Coastguard Worker    method public void writeToParcel(@NonNull android.os.Parcel, int);
623*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.os.Parcelable.Creator<android.location.provider.ProviderRequest> CREATOR;
624*344a7f5eSAndroid Build Coastguard Worker    field @NonNull public static final android.location.provider.ProviderRequest EMPTY_REQUEST;
625*344a7f5eSAndroid Build Coastguard Worker    field public static final long INTERVAL_DISABLED = 9223372036854775807L; // 0x7fffffffffffffffL
626*344a7f5eSAndroid Build Coastguard Worker  }
627*344a7f5eSAndroid Build Coastguard Worker
628*344a7f5eSAndroid Build Coastguard Worker  public static final class ProviderRequest.Builder {
629*344a7f5eSAndroid Build Coastguard Worker    ctor public ProviderRequest.Builder();
630*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.provider.ProviderRequest build();
631*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.provider.ProviderRequest.Builder setIntervalMillis(@IntRange(from=0) long);
632*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.provider.ProviderRequest.Builder setLocationSettingsIgnored(boolean);
633*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.provider.ProviderRequest.Builder setLowPower(boolean);
634*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.provider.ProviderRequest.Builder setMaxUpdateDelayMillis(@IntRange(from=0) long);
635*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.provider.ProviderRequest.Builder setQuality(int);
636*344a7f5eSAndroid Build Coastguard Worker    method @NonNull public android.location.provider.ProviderRequest.Builder setWorkSource(@NonNull android.os.WorkSource);
637*344a7f5eSAndroid Build Coastguard Worker  }
638*344a7f5eSAndroid Build Coastguard Worker
639*344a7f5eSAndroid Build Coastguard Worker  public static interface ProviderRequest.ChangedListener {
640*344a7f5eSAndroid Build Coastguard Worker    method public void onProviderRequestChanged(@NonNull String, @NonNull android.location.provider.ProviderRequest);
641*344a7f5eSAndroid Build Coastguard Worker  }
642*344a7f5eSAndroid Build Coastguard Worker
643*344a7f5eSAndroid Build Coastguard Worker}
644