/frameworks/base/location/java/android/location/provider/ |
D | ProviderProperties.java | 33 public final class ProviderProperties implements Parcelable { class 81 private ProviderProperties(boolean hasNetworkRequirement, boolean hasSatelliteRequirement, in ProviderProperties() method in ProviderProperties 161 public static final @NonNull Creator<ProviderProperties> CREATOR = 162 new Creator<ProviderProperties>() { 164 public ProviderProperties createFromParcel(Parcel in) { 165 return new ProviderProperties( 178 public ProviderProperties[] newArray(int size) { 179 return new ProviderProperties[size]; 206 if (!(o instanceof ProviderProperties)) { in equals() 209 ProviderProperties that = (ProviderProperties) o; in equals() [all …]
|
D | ILocationProviderManager.aidl | 20 import android.location.provider.ProviderProperties; 27 …void onInitialize(boolean allowed, in ProviderProperties properties, @nullable String attributionT… in onInitialize() 29 void onSetProperties(in ProviderProperties properties); in onSetProperties()
|
D | LocationProviderBase.java | 117 volatile ProviderProperties mProperties; 121 @NonNull ProviderProperties properties) { in LocationProviderBase() 187 public void setProperties(@NonNull ProviderProperties properties) { in setProperties() 207 public @NonNull ProviderProperties getProperties() { in getProperties()
|
D | ProviderProperties.aidl | 19 parcelable ProviderProperties;
|
/frameworks/base/location/java/android/location/ |
D | LocationProvider.java | 20 import android.location.provider.ProviderProperties; 52 private final @Nullable ProviderProperties mProperties; 54 LocationProvider(String name, @Nullable ProviderProperties properties) { in LocationProvider() 77 public static boolean propertiesMeetCriteria(String name, ProviderProperties properties, in propertiesMeetCriteria() 211 return ProviderProperties.POWER_USAGE_HIGH; in getPowerRequirement() 223 return ProviderProperties.ACCURACY_COARSE; in getAccuracy()
|
D | ILocationManager.aidl | 41 import android.location.provider.ProviderProperties; 114 ProviderProperties getProviderProperties(String provider); in getProviderProperties() 139 void addTestProvider(String name, in ProviderProperties properties, in addTestProvider()
|
D | LocationManager.java | 51 import android.location.provider.ProviderProperties; 1934 ProviderProperties properties = mService.getProviderProperties(provider); in getProvider() 1955 public @Nullable ProviderProperties getProviderProperties(@NonNull String provider) { in getProviderProperties() 2081 @ProviderProperties.PowerUsage int powerUsage, in addTestProvider() 2082 @ProviderProperties.Accuracy int accuracy) { in addTestProvider() 2083 addTestProvider(provider, new ProviderProperties.Builder() in addTestProvider() 2108 public void addTestProvider(@NonNull String provider, @NonNull ProviderProperties properties) { in addTestProvider() 2126 public void addTestProvider(@NonNull String provider, @NonNull ProviderProperties properties, in addTestProvider()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ProviderPropertiesUnbundled.java | 20 import android.location.provider.ProviderProperties; 39 return new ProviderPropertiesUnbundled(new ProviderProperties.Builder() in create() 52 private final ProviderProperties mProperties; 54 private ProviderPropertiesUnbundled(ProviderProperties properties) { in ProviderPropertiesUnbundled() 59 public @NonNull ProviderProperties getProviderProperties() { in getProviderProperties()
|
D | LocationProviderBase.java | 28 import android.location.provider.ProviderProperties; 114 volatile ProviderProperties mProperties;
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | PassiveLocationProvider.java | 19 import static android.location.provider.ProviderProperties.ACCURACY_FINE; 20 import static android.location.provider.ProviderProperties.POWER_USAGE_LOW; 26 import android.location.provider.ProviderProperties; 44 private static final ProviderProperties PROPERTIES = new ProviderProperties.Builder()
|
D | AbstractLocationProvider.java | 21 import android.location.provider.ProviderProperties; 83 @Nullable public final ProviderProperties properties; 96 private State(boolean allowed, ProviderProperties properties, CallerIdentity identity, in State() 118 public State withProperties(@Nullable ProviderProperties properties) { in withProperties() 222 @Nullable ProviderProperties properties, Set<String> extraAttributionTags) { in AbstractLocationProvider() 282 protected void setProperties(@Nullable ProviderProperties properties) { in setProperties()
|
D | MockLocationProvider.java | 25 import android.location.provider.ProviderProperties; 43 public MockLocationProvider(ProviderProperties properties, CallerIdentity identity, in MockLocationProvider()
|
D | LocationProviderManager.java | 73 import android.location.provider.ProviderProperties; 550 ProviderProperties properties = getProperties(); in isUsingHighPower() 557 && properties.getPowerUsage() == ProviderProperties.POWER_USAGE_HIGH; in isUsingHighPower() 1634 @Nullable public ProviderProperties getProperties() {
|
/frameworks/base/packages/FusedLocation/src/com/android/location/gnss/ |
D | GnssOverlayLocationProvider.java | 19 import static android.location.provider.ProviderProperties.ACCURACY_FINE; 20 import static android.location.provider.ProviderProperties.POWER_USAGE_HIGH; 29 import android.location.provider.ProviderProperties; 45 private static final ProviderProperties PROPERTIES = new ProviderProperties.Builder()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 23 import static android.location.provider.ProviderProperties.ACCURACY_FINE; 24 import static android.location.provider.ProviderProperties.POWER_USAGE_LOW; 38 import android.location.provider.ProviderProperties; 54 private static final ProviderProperties PROPERTIES = new ProviderProperties.Builder()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | MockableLocationProviderTest.java | 18 import static android.location.provider.ProviderProperties.ACCURACY_FINE; 19 import static android.location.provider.ProviderProperties.POWER_USAGE_LOW; 31 import android.location.provider.ProviderProperties; 69 new ProviderProperties.Builder() in setUp()
|
D | LocationProviderManagerTest.java | 28 import static android.location.provider.ProviderProperties.POWER_USAGE_HIGH; 75 import android.location.provider.ProviderProperties; 136 private static final ProviderProperties PROPERTIES = new ProviderProperties.Builder() 141 .setAccuracy(ProviderProperties.ACCURACY_FINE) 249 ProviderProperties newProperties = new ProviderProperties.Builder() in testProperties() 255 .setAccuracy(ProviderProperties.ACCURACY_COARSE) in testProperties() 1611 TestProvider(ProviderProperties properties, CallerIdentity identity) {
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/gnss/tests/ |
D | GnssOverlayLocationServiceTest.java | 30 import android.location.provider.ProviderProperties; 129 public void onInitialize(boolean allowed, ProviderProperties properties, in onInitialize() 136 public void onSetProperties(ProviderProperties properties) {} in onSetProperties()
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/ |
D | FusedLocationServiceTest.java | 31 import android.location.provider.ProviderProperties; 154 public void onInitialize(boolean allowed, ProviderProperties properties, in onInitialize() 161 public void onSetProperties(ProviderProperties properties) {} in onSetProperties()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationShellCommand.java | 23 import android.location.provider.ProviderProperties; 285 ProviderProperties properties = new ProviderProperties.Builder() in handleAddTestProvider()
|
D | LocationManagerService.java | 82 import android.location.provider.ProviderProperties; 530 ProviderProperties properties = new ProviderProperties.Builder() in onSystemThirdPartyAppsCanStart() 1262 public ProviderProperties getProviderProperties(String provider) { in getProviderProperties() 1463 public void addTestProvider(String provider, ProviderProperties properties, in addTestProvider()
|
/frameworks/base/services/core/java/com/android/server/location/provider/proxy/ |
D | ProxyLocationProvider.java | 28 import android.location.provider.ProviderProperties; 239 public void onInitialize(boolean allowed, ProviderProperties properties, in onInitialize() 278 public void onSetProperties(ProviderProperties properties) { in onSetProperties()
|
/frameworks/base/location/api/ |
D | current.txt | 530 …ublic void addTestProvider(@NonNull String, @NonNull android.location.provider.ProviderProperties); 531 …ddTestProvider(@NonNull String, @NonNull android.location.provider.ProviderProperties, @NonNull ja… 546 …method @Nullable public android.location.provider.ProviderProperties getProviderProperties(@NonNul… 692 public final class ProviderProperties implements android.os.Parcelable { 706 …c static final android.os.Parcelable.Creator<android.location.provider.ProviderProperties> CREATOR; 712 public static final class ProviderProperties.Builder { 713 ctor public ProviderProperties.Builder(); 714 ctor public ProviderProperties.Builder(@NonNull android.location.provider.ProviderProperties); 715 method @NonNull public android.location.provider.ProviderProperties build(); 716 method @NonNull public android.location.provider.ProviderProperties.Builder setAccuracy(int); [all …]
|
D | system-current.txt | 625 …l android.content.Context, @NonNull String, @NonNull android.location.provider.ProviderProperties); 627 method @NonNull public android.location.provider.ProviderProperties getProperties(); 635 method public void setProperties(@NonNull android.location.provider.ProviderProperties);
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssLocationProvider.java | 21 import static android.location.provider.ProviderProperties.ACCURACY_FINE; 22 import static android.location.provider.ProviderProperties.POWER_USAGE_HIGH; 72 import android.location.provider.ProviderProperties; 151 private static final ProviderProperties PROPERTIES = new ProviderProperties.Builder()
|