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