xref: /aosp_15_r20/prebuilts/sdk/35/system/api/com.android.location.provider.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  @Deprecated public class GeocoderParams implements android.os.Parcelable {
5*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GeocoderParams(android.content.Context);
6*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GeocoderParams(android.content.Context, java.util.Locale);
7*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GeocoderParams(int, String, @Nullable String, java.util.Locale);
8*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int describeContents();
9*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @Nullable public String getClientAttributionTag();
10*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public String getClientPackage();
11*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getClientUid();
12*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public java.util.Locale getLocale();
13*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void writeToParcel(android.os.Parcel, int);
14*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.GeocoderParams> CREATOR;
15*344a7f5eSAndroid Build Coastguard Worker  }
16*344a7f5eSAndroid Build Coastguard Worker
17*344a7f5eSAndroid Build Coastguard Worker}
18*344a7f5eSAndroid Build Coastguard Worker
19*344a7f5eSAndroid Build Coastguard Workerpackage com.android.location.provider {
20*344a7f5eSAndroid Build Coastguard Worker
21*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public final class FusedLocationHardware {
22*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void flushBatchedLocations();
23*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getSupportedBatchSize();
24*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getVersion();
25*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void injectDeviceContext(int);
26*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void injectDiagnosticData(String);
27*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void registerSink(com.android.location.provider.FusedLocationHardwareSink, android.os.Looper);
28*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void requestBatchOfLocations(int);
29*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void startBatching(int, com.android.location.provider.GmsFusedBatchOptions);
30*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void stopBatching(int);
31*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean supportsDeviceContextInjection();
32*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean supportsDiagnosticDataInjection();
33*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void unregisterSink(com.android.location.provider.FusedLocationHardwareSink);
34*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void updateBatchingOptions(int, com.android.location.provider.GmsFusedBatchOptions);
35*344a7f5eSAndroid Build Coastguard Worker  }
36*344a7f5eSAndroid Build Coastguard Worker
37*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class FusedLocationHardwareSink {
38*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public FusedLocationHardwareSink();
39*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onCapabilities(int);
40*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onDiagnosticDataAvailable(String);
41*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onLocationAvailable(android.location.Location[]);
42*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onStatusChanged(int);
43*344a7f5eSAndroid Build Coastguard Worker  }
44*344a7f5eSAndroid Build Coastguard Worker
45*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public abstract class GeocodeProvider {
46*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GeocodeProvider();
47*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.IBinder getBinder();
48*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public abstract String onGetFromLocation(double, double, int, android.location.GeocoderParams, java.util.List<android.location.Address>);
49*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public abstract String onGetFromLocationName(String, double, double, double, double, int, android.location.GeocoderParams, java.util.List<android.location.Address>);
50*344a7f5eSAndroid Build Coastguard Worker  }
51*344a7f5eSAndroid Build Coastguard Worker
52*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class GmsFusedBatchOptions {
53*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GmsFusedBatchOptions();
54*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getFlags();
55*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getMaxPowerAllocationInMW();
56*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getPeriodInNS();
57*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public float getSmallestDisplacementMeters();
58*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getSourcesToUse();
59*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isFlagSet(int);
60*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isSourceToUseSet(int);
61*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetFlag(int);
62*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetSourceToUse(int);
63*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setFlag(int);
64*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setMaxPowerAllocationInMW(double);
65*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setPeriodInNS(long);
66*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setSmallestDisplacementMeters(float);
67*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setSourceToUse(int);
68*344a7f5eSAndroid Build Coastguard Worker  }
69*344a7f5eSAndroid Build Coastguard Worker
70*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static final class GmsFusedBatchOptions.BatchFlags {
71*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GmsFusedBatchOptions.BatchFlags();
72*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int CALLBACK_ON_LOCATION_FIX;
73*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int WAKEUP_ON_FIFO_FULL;
74*344a7f5eSAndroid Build Coastguard Worker  }
75*344a7f5eSAndroid Build Coastguard Worker
76*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static final class GmsFusedBatchOptions.SourceTechnologies {
77*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GmsFusedBatchOptions.SourceTechnologies();
78*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int BLUETOOTH;
79*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int CELL;
80*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int GNSS;
81*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int SENSORS;
82*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int WIFI;
83*344a7f5eSAndroid Build Coastguard Worker  }
84*344a7f5eSAndroid Build Coastguard Worker
85*344a7f5eSAndroid Build Coastguard Worker}
86*344a7f5eSAndroid Build Coastguard Worker
87