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