Home
last modified time | relevance | path

Searched refs:ProviderProperties (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/location/java/android/location/provider/
DProviderProperties.java33 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 …]
DILocationProviderManager.aidl20 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()
DLocationProviderBase.java117 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()
DProviderProperties.aidl19 parcelable ProviderProperties;
/frameworks/base/location/java/android/location/
DLocationProvider.java20 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()
DILocationManager.aidl41 import android.location.provider.ProviderProperties;
114 ProviderProperties getProviderProperties(String provider); in getProviderProperties()
139 void addTestProvider(String name, in ProviderProperties properties, in addTestProvider()
DLocationManager.java51 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/
DProviderPropertiesUnbundled.java20 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()
DLocationProviderBase.java28 import android.location.provider.ProviderProperties;
114 volatile ProviderProperties mProperties;
/frameworks/base/services/core/java/com/android/server/location/provider/
DPassiveLocationProvider.java19 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()
DAbstractLocationProvider.java21 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()
DMockLocationProvider.java25 import android.location.provider.ProviderProperties;
43 public MockLocationProvider(ProviderProperties properties, CallerIdentity identity, in MockLocationProvider()
DLocationProviderManager.java73 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/
DGnssOverlayLocationProvider.java19 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/
DFusedLocationProvider.java23 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/
DMockableLocationProviderTest.java18 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()
DLocationProviderManagerTest.java28 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/
DGnssOverlayLocationServiceTest.java30 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/
DFusedLocationServiceTest.java31 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/
DLocationShellCommand.java23 import android.location.provider.ProviderProperties;
285 ProviderProperties properties = new ProviderProperties.Builder() in handleAddTestProvider()
DLocationManagerService.java82 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/
DProxyLocationProvider.java28 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/
Dcurrent.txt530 …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 …]
Dsystem-current.txt625 …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/
DGnssLocationProvider.java21 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()

12