• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Signature format: 2.0
2package com.android.location.provider {
3
4  @Deprecated public abstract class FusedProvider {
5    ctor @Deprecated public FusedProvider();
6    method @Deprecated public android.os.IBinder getBinder();
7  }
8
9  @Deprecated public abstract class LocationProviderBase {
10    ctor @Deprecated public LocationProviderBase(String, com.android.location.provider.ProviderPropertiesUnbundled);
11    ctor @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.R) public LocationProviderBase(android.content.Context, String, com.android.location.provider.ProviderPropertiesUnbundled);
12    method @Deprecated public android.os.IBinder getBinder();
13    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.R) public boolean isAllowed();
14    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.Q) public boolean isEnabled();
15    method @Deprecated protected void onDisable();
16    method @Deprecated protected void onDump(java.io.FileDescriptor, java.io.PrintWriter, String[]);
17    method @Deprecated protected void onEnable();
18    method @Deprecated protected void onFlush(com.android.location.provider.LocationProviderBase.OnFlushCompleteCallback);
19    method @Deprecated protected int onGetStatus(android.os.Bundle);
20    method @Deprecated protected long onGetStatusUpdateTime();
21    method @Deprecated protected void onInit();
22    method @Deprecated protected boolean onSendExtraCommand(@Nullable String, @Nullable android.os.Bundle);
23    method @Deprecated protected abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource);
24    method @Deprecated public void reportLocation(@NonNull android.location.Location);
25    method @Deprecated public void reportLocations(@NonNull java.util.List<android.location.Location>);
26    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setAdditionalProviderPackages(java.util.List<java.lang.String>);
27    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.R) public void setAllowed(boolean);
28    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setEnabled(boolean);
29    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setProperties(com.android.location.provider.ProviderPropertiesUnbundled);
30    field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation";
31    field @Deprecated public static final String FUSED_PROVIDER = "fused";
32  }
33
34  @Deprecated protected static interface LocationProviderBase.OnFlushCompleteCallback {
35    method @Deprecated public void onFlushComplete();
36  }
37
38  @Deprecated public final class LocationRequestUnbundled {
39    method @Deprecated public long getFastestInterval();
40    method @Deprecated public long getInterval();
41    method @Deprecated @android.location.LocationRequest.Quality public int getQuality();
42    method @Deprecated public float getSmallestDisplacement();
43    method @Deprecated public boolean isLocationSettingsIgnored();
44    field @Deprecated public static final int ACCURACY_BLOCK = 102; // 0x66
45    field @Deprecated public static final int ACCURACY_CITY = 104; // 0x68
46    field @Deprecated public static final int ACCURACY_FINE = 100; // 0x64
47    field @Deprecated public static final int POWER_HIGH = 203; // 0xcb
48    field @Deprecated public static final int POWER_LOW = 201; // 0xc9
49    field @Deprecated public static final int POWER_NONE = 200; // 0xc8
50  }
51
52  public final class ProviderPropertiesUnbundled {
53    method @NonNull public static com.android.location.provider.ProviderPropertiesUnbundled create(boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int);
54  }
55
56  public final class ProviderRequestUnbundled {
57    method public long getInterval();
58    method @Deprecated @NonNull public java.util.List<com.android.location.provider.LocationRequestUnbundled> getLocationRequests();
59    method @RequiresApi(android.os.Build.VERSION_CODES.S) public long getMaxUpdateDelayMillis();
60    method @android.location.LocationRequest.Quality @RequiresApi(android.os.Build.VERSION_CODES.S) public int getQuality();
61    method public boolean getReportLocation();
62    method @NonNull @RequiresApi(android.os.Build.VERSION_CODES.S) public android.os.WorkSource getWorkSource();
63    method @RequiresApi(android.os.Build.VERSION_CODES.Q) public boolean isLocationSettingsIgnored();
64    method @RequiresApi(android.os.Build.VERSION_CODES.S) public boolean isLowPower();
65    field public static final long INTERVAL_DISABLED = 9223372036854775807L; // 0x7fffffffffffffffL
66  }
67
68}
69
70