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