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