xref: /aosp_15_r20/prebuilts/sdk/34/system/api/com.android.location.provider.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage com.android.location.provider {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public final class FusedLocationHardware {
5*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void flushBatchedLocations();
6*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getSupportedBatchSize();
7*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getVersion();
8*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void injectDeviceContext(int);
9*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void injectDiagnosticData(String);
10*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void registerSink(com.android.location.provider.FusedLocationHardwareSink, android.os.Looper);
11*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void requestBatchOfLocations(int);
12*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void startBatching(int, com.android.location.provider.GmsFusedBatchOptions);
13*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void stopBatching(int);
14*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean supportsDeviceContextInjection();
15*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean supportsDiagnosticDataInjection();
16*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void unregisterSink(com.android.location.provider.FusedLocationHardwareSink);
17*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void updateBatchingOptions(int, com.android.location.provider.GmsFusedBatchOptions);
18*344a7f5eSAndroid Build Coastguard Worker  }
19*344a7f5eSAndroid Build Coastguard Worker
20*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class FusedLocationHardwareSink {
21*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public FusedLocationHardwareSink();
22*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onCapabilities(int);
23*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onDiagnosticDataAvailable(String);
24*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onLocationAvailable(android.location.Location[]);
25*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void onStatusChanged(int);
26*344a7f5eSAndroid Build Coastguard Worker  }
27*344a7f5eSAndroid Build Coastguard Worker
28*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class GmsFusedBatchOptions {
29*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GmsFusedBatchOptions();
30*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getFlags();
31*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getMaxPowerAllocationInMW();
32*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getPeriodInNS();
33*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public float getSmallestDisplacementMeters();
34*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getSourcesToUse();
35*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isFlagSet(int);
36*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isSourceToUseSet(int);
37*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetFlag(int);
38*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void resetSourceToUse(int);
39*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setFlag(int);
40*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setMaxPowerAllocationInMW(double);
41*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setPeriodInNS(long);
42*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setSmallestDisplacementMeters(float);
43*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setSourceToUse(int);
44*344a7f5eSAndroid Build Coastguard Worker  }
45*344a7f5eSAndroid Build Coastguard Worker
46*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static final class GmsFusedBatchOptions.BatchFlags {
47*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GmsFusedBatchOptions.BatchFlags();
48*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int CALLBACK_ON_LOCATION_FIX;
49*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int WAKEUP_ON_FIFO_FULL;
50*344a7f5eSAndroid Build Coastguard Worker  }
51*344a7f5eSAndroid Build Coastguard Worker
52*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public static final class GmsFusedBatchOptions.SourceTechnologies {
53*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public GmsFusedBatchOptions.SourceTechnologies();
54*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int BLUETOOTH;
55*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int CELL;
56*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int GNSS;
57*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int SENSORS;
58*344a7f5eSAndroid Build Coastguard Worker    field @Deprecated public static int WIFI;
59*344a7f5eSAndroid Build Coastguard Worker  }
60*344a7f5eSAndroid Build Coastguard Worker
61*344a7f5eSAndroid Build Coastguard Worker}
62*344a7f5eSAndroid Build Coastguard Worker
63