/frameworks/base/location/java/com/android/internal/location/ |
D | ProviderProperties.java | 20 import android.location.Criteria; 39 @IntDef({Criteria.POWER_LOW, Criteria.POWER_MEDIUM, Criteria.POWER_HIGH}) 45 @IntDef({Criteria.ACCURACY_FINE, Criteria.ACCURACY_COARSE}) 125 mPowerRequirement = Preconditions.checkArgumentInRange(powerRequirement, Criteria.POWER_LOW, in ProviderProperties() 126 Criteria.POWER_HIGH, "powerRequirement"); in ProviderProperties() 127 mAccuracy = Preconditions.checkArgumentInRange(accuracy, Criteria.ACCURACY_FINE, in ProviderProperties() 128 Criteria.ACCURACY_COARSE, "accuracy"); in ProviderProperties() 215 case Criteria.POWER_LOW: in powerToString() 217 case Criteria.POWER_MEDIUM: in powerToString() 219 case Criteria.POWER_HIGH: in powerToString() [all …]
|
/frameworks/base/location/java/android/location/ |
D | Criteria.java | 35 public class Criteria implements Parcelable { class 126 public Criteria() { in Criteria() method in Criteria 132 public Criteria(Criteria criteria) { in Criteria() method in Criteria 353 public static final Parcelable.Creator<Criteria> CREATOR = 354 new Parcelable.Creator<Criteria>() { 356 public Criteria createFromParcel(Parcel in) { 357 Criteria c = new Criteria(); 371 public Criteria[] newArray(int size) { 372 return new Criteria[size];
|
D | LocationProvider.java | 75 public boolean meetsCriteria(Criteria criteria) { in meetsCriteria() 83 Criteria criteria) { in propertiesMeetCriteria() 94 if (criteria.getAccuracy() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria() 98 if (criteria.getPowerRequirement() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
|
D | ILocationManager.aidl | 21 import android.location.Criteria; 100 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() 101 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider()
|
D | Criteria.aidl | 19 parcelable Criteria;
|
D | LocationRequest.java | 222 @NonNull Criteria criteria, long minTime, float minDistance, boolean singleShot) { in createFromDeprecatedCriteria() 230 case Criteria.ACCURACY_COARSE: in createFromDeprecatedCriteria() 233 case Criteria.ACCURACY_FINE: in createFromDeprecatedCriteria() 237 if (criteria.getPowerRequirement() == Criteria.POWER_HIGH) { in createFromDeprecatedCriteria()
|
D | LocationManager.java | 798 @NonNull Criteria criteria, in requestSingleUpdate() 855 public void requestSingleUpdate(@NonNull Criteria criteria, in requestSingleUpdate() 1012 @NonNull Criteria criteria, @NonNull LocationListener listener, in requestLocationUpdates() 1044 @NonNull Criteria criteria, in requestLocationUpdates() 1102 @NonNull Criteria criteria, @NonNull PendingIntent pendingIntent) { in requestLocationUpdates() 1348 public @NonNull List<String> getProviders(@NonNull Criteria criteria, boolean enabledOnly) { in getProviders() 1380 public @Nullable String getBestProvider(@NonNull Criteria criteria, boolean enabledOnly) { in getBestProvider()
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | LocationManagerTest.java | 20 import android.location.Criteria; 57 String p = manager.getBestProvider(new Criteria(), true); in testGetBestProviderEmptyCriteria() 62 Criteria c = new Criteria(); in testGetBestProviderPowerCriteria() 63 c.setPowerRequirement(Criteria.POWER_HIGH); in testGetBestProviderPowerCriteria() 67 c.setPowerRequirement(Criteria.POWER_MEDIUM); in testGetBestProviderPowerCriteria() 71 c.setPowerRequirement(Criteria.POWER_LOW); in testGetBestProviderPowerCriteria() 75 c.setPowerRequirement(Criteria.NO_REQUIREMENT); in testGetBestProviderPowerCriteria()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | PassiveProvider.java | 22 import android.location.Criteria; 49 Criteria.POWER_LOW, 50 Criteria.ACCURACY_COARSE);
|
D | LocationManagerService.java | 49 import android.location.Criteria; 1155 && properties.mPowerRequirement == Criteria.POWER_HIGH in updateMonitoring() 1441 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() 1467 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider()
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/ |
D | FusedLocationServiceTest.java | 28 import android.location.Criteria; 98 Criteria.POWER_MEDIUM, in setUp() 99 Criteria.ACCURACY_FINE); in setUp() 109 Criteria.POWER_MEDIUM, in setUp() 110 Criteria.ACCURACY_FINE); in setUp()
|
/frameworks/av/services/audiopolicy/engine/config/include/ |
D | EngineConfig.h | 92 using Criteria = std::vector<Criterion>; variable 97 Criteria criteria;
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
D | ParameterManagerWrapper.h | 44 using Criteria = std::map<std::string, ISelectionCriterionInterface *>; 198 Criteria mPolicyCriteria; /**< Policy Criterion Map. */
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | MockableLocationProviderTest.java | 28 import android.location.Criteria; 73 Criteria.POWER_LOW, in setUp() 74 Criteria.ACCURACY_FINE))); in setUp()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 28 import android.location.Criteria; 61 Criteria.POWER_LOW, 62 Criteria.ACCURACY_FINE
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_framebuffer_target.txt | 74 Criteria Order Priority
|
D | EGL_ANDROID_recordable.txt | 72 Criteria Order Priority
|
/frameworks/base/non-updatable-api/ |
D | system-lint-baseline.txt | 150 …on.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, android.location… 152 …on.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, java.util.concur… 156 SamShouldBeLast: android.location.LocationManager#requestSingleUpdate(android.location.Criteria, an…
|
/frameworks/base/api/ |
D | system-lint-baseline.txt | 335 …on.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, android.location… 337 …on.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, java.util.concur… 341 SamShouldBeLast: android.location.LocationManager#requestSingleUpdate(android.location.Criteria, an…
|
D | lint-baseline.txt | 1254 …on.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, java.util.concur…
|
D | current.txt | 23449 public class Criteria implements android.os.Parcelable { 23450 ctor public Criteria(); 23451 ctor public Criteria(android.location.Criteria); 23479 …field @NonNull public static final android.os.Parcelable.Creator<android.location.Criteria> CREATO… 23852 method @Nullable public String getBestProvider(@NonNull android.location.Criteria, boolean); 23861 … public java.util.List<java.lang.String> getProviders(@NonNull android.location.Criteria, boolean); 23884 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android… 23885 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull java.ut… 23887 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android… 23889 …NE_LOCATION}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNull android… [all …]
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssLocationProvider.java | 30 import android.location.Criteria; 126 Criteria.POWER_HIGH, 127 Criteria.ACCURACY_FINE);
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 100 struct CriterionTraits : public BaseSerializerTraits<Criterion, Criteria> {
|
/frameworks/base/config/ |
D | preloaded-classes | 3487 android.location.Criteria$1 3488 android.location.Criteria
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 13721 public class Criteria implements android.os.Parcelable { 13722 ctor public Criteria(); 13723 ctor public Criteria(android.location.Criteria); 13751 field public static final android.os.Parcelable.Creator<android.location.Criteria> CREATOR; 13859 method public java.lang.String getBestProvider(android.location.Criteria, boolean); 13864 method public java.util.List<java.lang.String> getProviders(android.location.Criteria, boolean); 13874 …method public void requestLocationUpdates(long, float, android.location.Criteria, android.location… 13876 …method public void requestLocationUpdates(long, float, android.location.Criteria, android.app.Pend… 13878 …method public void requestSingleUpdate(android.location.Criteria, android.location.LocationListene… 13880 method public void requestSingleUpdate(android.location.Criteria, android.app.PendingIntent); [all …]
|