Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 1 | // Signature format: 2.0 |
Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 2 | package com.android.location.provider { |
| 3 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 4 | @Deprecated public abstract class FusedProvider { |
| 5 | ctor @Deprecated public FusedProvider(); |
| 6 | method @Deprecated public android.os.IBinder getBinder(); |
Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 7 | } |
| 8 | |
| 9 | public abstract class LocationProviderBase { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 10 | ctor public LocationProviderBase(String, com.android.location.provider.ProviderPropertiesUnbundled); |
Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 11 | method public android.os.IBinder getBinder(); |
Soonil Nagarkar | 1575a04 | 2018-10-24 17:54:54 -0700 | [diff] [blame] | 12 | method public boolean isEnabled(); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 13 | method @Deprecated protected void onDisable(); |
Soonil Nagarkar | 91f0d2d | 2019-02-22 11:55:36 -0800 | [diff] [blame] | 14 | method @Deprecated protected void onDump(java.io.FileDescriptor, java.io.PrintWriter, String[]); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 15 | method @Deprecated protected void onEnable(); |
| 16 | method @Deprecated protected int onGetStatus(android.os.Bundle); |
| 17 | method @Deprecated protected long onGetStatusUpdateTime(); |
Soonil Nagarkar | 1575a04 | 2018-10-24 17:54:54 -0700 | [diff] [blame] | 18 | method protected void onInit(); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 19 | method protected boolean onSendExtraCommand(@Nullable String, @Nullable android.os.Bundle); |
Soonil Nagarkar | 1575a04 | 2018-10-24 17:54:54 -0700 | [diff] [blame] | 20 | method protected abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource); |
| 21 | method public void reportLocation(android.location.Location); |
Soonil Nagarkar | 0d77ea6 | 2019-01-31 14:36:56 -0800 | [diff] [blame] | 22 | method public void setAdditionalProviderPackages(java.util.List<java.lang.String>); |
Soonil Nagarkar | 1575a04 | 2018-10-24 17:54:54 -0700 | [diff] [blame] | 23 | method public void setEnabled(boolean); |
| 24 | method public void setProperties(com.android.location.provider.ProviderPropertiesUnbundled); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 25 | field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; |
| 26 | field public static final String FUSED_PROVIDER = "fused"; |
Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 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(); |
Soonil Nagarkar | 509580f | 2019-02-06 15:57:26 -0800 | [diff] [blame] | 34 | method public boolean isLocationSettingsIgnored(); |
Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 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 { |
Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 48 | method public long getInterval(); |
| 49 | method public java.util.List<com.android.location.provider.LocationRequestUnbundled> getLocationRequests(); |
| 50 | method public boolean getReportLocation(); |
Soonil Nagarkar | 509580f | 2019-02-06 15:57:26 -0800 | [diff] [blame] | 51 | method public boolean isLocationSettingsIgnored(); |
Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 52 | } |
| 53 | |
| 54 | } |
| 55 | |