| Tor Norbye | 8752ded | 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 | 8752ded | 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 | 8752ded | 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(); |
| 12 | method public abstract void onDisable(); |
| Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 13 | method public void onDump(java.io.FileDescriptor, java.io.PrintWriter, String[]); |
| Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 14 | method public abstract void onEnable(); |
| 15 | method public abstract int onGetStatus(android.os.Bundle); |
| 16 | method public abstract long onGetStatusUpdateTime(); |
| Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 17 | method public boolean onSendExtraCommand(String, android.os.Bundle); |
| Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 18 | method public abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource); |
| 19 | method public final void reportLocation(android.location.Location); |
| Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 20 | field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; |
| 21 | field public static final String FUSED_PROVIDER = "fused"; |
| Sundong Ahn | 50cd1a9 | 2018-05-21 17:39:23 +0900 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | public final class LocationRequestUnbundled { |
| 25 | method public long getFastestInterval(); |
| 26 | method public long getInterval(); |
| 27 | method public int getQuality(); |
| 28 | method public float getSmallestDisplacement(); |
| 29 | field public static final int ACCURACY_BLOCK = 102; // 0x66 |
| 30 | field public static final int ACCURACY_CITY = 104; // 0x68 |
| 31 | field public static final int ACCURACY_FINE = 100; // 0x64 |
| 32 | field public static final int POWER_HIGH = 203; // 0xcb |
| 33 | field public static final int POWER_LOW = 201; // 0xc9 |
| 34 | field public static final int POWER_NONE = 200; // 0xc8 |
| 35 | } |
| 36 | |
| 37 | public final class ProviderPropertiesUnbundled { |
| 38 | method public static com.android.location.provider.ProviderPropertiesUnbundled create(boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int); |
| 39 | } |
| 40 | |
| 41 | public final class ProviderRequestUnbundled { |
| 42 | method public long getInterval(); |
| 43 | method public java.util.List<com.android.location.provider.LocationRequestUnbundled> getLocationRequests(); |
| 44 | method public boolean getReportLocation(); |
| 45 | } |
| 46 | |
| 47 | } |
| 48 | |