Home
last modified time | relevance | path

Searched refs:Criteria (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/location/java/com/android/internal/location/
DProviderProperties.java20 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/
DCriteria.java35 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];
DLocationProvider.java75 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()
DILocationManager.aidl21 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()
DCriteria.aidl19 parcelable Criteria;
DLocationRequest.java222 @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()
DLocationManager.java798 @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/
DLocationManagerTest.java20 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/
DPassiveProvider.java22 import android.location.Criteria;
49 Criteria.POWER_LOW,
50 Criteria.ACCURACY_COARSE);
DLocationManagerService.java49 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/
DFusedLocationServiceTest.java28 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/
DEngineConfig.h92 using Criteria = std::vector<Criterion>; variable
97 Criteria criteria;
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h44 using Criteria = std::map<std::string, ISelectionCriterionInterface *>;
198 Criteria mPolicyCriteria; /**< Policy Criterion Map. */
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DMockableLocationProviderTest.java28 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/
DFusedLocationProvider.java28 import android.location.Criteria;
61 Criteria.POWER_LOW,
62 Criteria.ACCURACY_FINE
/frameworks/native/opengl/specs/
DEGL_ANDROID_framebuffer_target.txt74 Criteria Order Priority
DEGL_ANDROID_recordable.txt72 Criteria Order Priority
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt150 …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/
Dsystem-lint-baseline.txt335 …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…
Dlint-baseline.txt1254 …on.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, java.util.concur…
Dcurrent.txt23449 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/
DGnssLocationProvider.java30 import android.location.Criteria;
126 Criteria.POWER_HIGH,
127 Criteria.ACCURACY_FINE);
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp100 struct CriterionTraits : public BaseSerializerTraits<Criterion, Criteria> {
/frameworks/base/config/
Dpreloaded-classes3487 android.location.Criteria$1
3488 android.location.Criteria
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13721 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 …]

12