• 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  public abstract class LocationProviderBase {
10    ctor public LocationProviderBase(String, com.android.location.provider.ProviderPropertiesUnbundled);
11    method public android.os.IBinder getBinder();
12    method @RequiresApi(android.os.Build.VERSION_CODES.R) public boolean isAllowed();
13    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.Q) public boolean isEnabled();
14    method @Deprecated protected void onDisable();
15    method @Deprecated protected void onDump(java.io.FileDescriptor, java.io.PrintWriter, String[]);
16    method @Deprecated protected void onEnable();
17    method @Deprecated protected int onGetStatus(android.os.Bundle);
18    method @Deprecated protected long onGetStatusUpdateTime();
19    method protected void onInit();
20    method protected boolean onSendExtraCommand(@Nullable String, @Nullable android.os.Bundle);
21    method protected abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource);
22    method public void reportLocation(android.location.Location);
23    method @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setAdditionalProviderPackages(java.util.List<java.lang.String>);
24    method @RequiresApi(android.os.Build.VERSION_CODES.R) public void setAllowed(boolean);
25    method @Deprecated @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setEnabled(boolean);
26    method @RequiresApi(android.os.Build.VERSION_CODES.Q) public void setProperties(com.android.location.provider.ProviderPropertiesUnbundled);
27    field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation";
28    field public static final String FUSED_PROVIDER = "fused";
29  }
30
31  public final class LocationRequestUnbundled {
32    method public long getFastestInterval();
33    method public long getInterval();
34    method public int getQuality();
35    method public float getSmallestDisplacement();
36    method public boolean isLocationSettingsIgnored();
37    field public static final int ACCURACY_BLOCK = 102; // 0x66
38    field public static final int ACCURACY_CITY = 104; // 0x68
39    field public static final int ACCURACY_FINE = 100; // 0x64
40    field public static final int POWER_HIGH = 203; // 0xcb
41    field public static final int POWER_LOW = 201; // 0xc9
42    field public static final int POWER_NONE = 200; // 0xc8
43  }
44
45  public final class ProviderPropertiesUnbundled {
46    method public static com.android.location.provider.ProviderPropertiesUnbundled create(boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int);
47  }
48
49  public final class ProviderRequestUnbundled {
50    method public long getInterval();
51    method public java.util.List<com.android.location.provider.LocationRequestUnbundled> getLocationRequests();
52    method public boolean getReportLocation();
53    method @RequiresApi(android.os.Build.VERSION_CODES.Q) public boolean isLocationSettingsIgnored();
54  }
55
56}
57
58