blob: 1ba8cede82467c5179d0ec6d364d89a03470885f [file] [log] [blame]
Tor Norbye8752ded2018-12-26 19:55:07 -08001// Signature format: 2.0
Sundong Ahn50cd1a92018-05-21 17:39:23 +09002package com.android.location.provider {
3
Tor Norbye8752ded2018-12-26 19:55:07 -08004 @Deprecated public abstract class FusedProvider {
5 ctor @Deprecated public FusedProvider();
6 method @Deprecated public android.os.IBinder getBinder();
Sundong Ahn50cd1a92018-05-21 17:39:23 +09007 }
8
9 public abstract class LocationProviderBase {
Tor Norbye8752ded2018-12-26 19:55:07 -080010 ctor public LocationProviderBase(String, com.android.location.provider.ProviderPropertiesUnbundled);
Sundong Ahn50cd1a92018-05-21 17:39:23 +090011 method public android.os.IBinder getBinder();
12 method public abstract void onDisable();
Tor Norbye8752ded2018-12-26 19:55:07 -080013 method public void onDump(java.io.FileDescriptor, java.io.PrintWriter, String[]);
Sundong Ahn50cd1a92018-05-21 17:39:23 +090014 method public abstract void onEnable();
15 method public abstract int onGetStatus(android.os.Bundle);
16 method public abstract long onGetStatusUpdateTime();
Tor Norbye8752ded2018-12-26 19:55:07 -080017 method public boolean onSendExtraCommand(String, android.os.Bundle);
Sundong Ahn50cd1a92018-05-21 17:39:23 +090018 method public abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource);
19 method public final void reportLocation(android.location.Location);
Tor Norbye8752ded2018-12-26 19:55:07 -080020 field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation";
21 field public static final String FUSED_PROVIDER = "fused";
Sundong Ahn50cd1a92018-05-21 17:39:23 +090022 }
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