Home
last modified time | relevance | path

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

/frameworks/base/location/java/android/location/
DCriteria.java28 public class Criteria implements Parcelable { class
100 public Criteria() {} in Criteria() method in Criteria
105 public Criteria(Criteria criteria) { in Criteria() method in Criteria
327 public static final @android.annotation.NonNull Parcelable.Creator<Criteria> CREATOR =
328 new Parcelable.Creator<Criteria>() {
330 public Criteria createFromParcel(Parcel in) {
331 Criteria c = new Criteria();
345 public Criteria[] newArray(int size) {
346 return new Criteria[size];
DLocationProvider.java93 public boolean meetsCriteria(Criteria criteria) { in meetsCriteria()
101 Criteria criteria) { in propertiesMeetCriteria()
112 if (criteria.getAccuracy() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
116 if (criteria.getPowerRequirement() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
DILocationManager.aidl21 import android.location.Criteria;
91 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders()
92 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider()
DCriteria.aidl19 parcelable Criteria;
DLocationRequest.java224 @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.java490 public @NonNull List<String> getProviders(@NonNull Criteria criteria, boolean enabledOnly) { in getProviders()
521 public @Nullable String getBestProvider(@NonNull Criteria criteria, boolean enabledOnly) { in getBestProvider()
616 public void requestLocationUpdates(long minTime, float minDistance, @NonNull Criteria criteria, in requestLocationUpdates()
751 public void requestLocationUpdates(long minTime, float minDistance, @NonNull Criteria criteria, in requestLocationUpdates()
813 @NonNull Criteria criteria, in requestSingleUpdate()
862 public void requestSingleUpdate(@NonNull Criteria criteria, @NonNull PendingIntent intent) { in requestSingleUpdate()
2341 private static void checkCriteria(Criteria criteria) { in checkCriteria()
/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.java20 import android.location.Criteria;
42 Criteria.POWER_LOW, Criteria.ACCURACY_COARSE);
DGnssLocationProvider.java30 import android.location.Criteria;
116 Criteria.POWER_HIGH, Criteria.ACCURACY_FINE);
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java23 import android.location.Criteria;
40 false, false, false, false, true, true, true, Criteria.POWER_LOW,
41 Criteria.ACCURACY_FINE);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h48 using Criteria = std::map<std::string, ISelectionCriterionInterface *>;
192 Criteria mPolicyCriteria; /**< Policy Criterion Map. */
/frameworks/av/services/audiopolicy/engine/config/include/
DEngineConfig.h95 using Criteria = std::vector<Criterion>; variable
100 Criteria criteria;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java27 import android.location.Criteria;
264 Criteria oneTimeCriteria = new Criteria(); in onStartLoading()
265 oneTimeCriteria.setAccuracy(Criteria.ACCURACY_FINE); in onStartLoading()
/frameworks/native/opengl/specs/
DEGL_ANDROID_framebuffer_target.txt74 Criteria Order Priority
DEGL_ANDROID_recordable.txt72 Criteria Order Priority
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java52 import android.location.Criteria;
1459 && properties.mPowerRequirement == Criteria.POWER_HIGH in updateMonitoring()
2025 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders()
2059 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp100 struct CriterionTraits : public BaseSerializerTraits<Criterion, Criteria> {
/frameworks/base/config/
Dboot-image-profile.txt9106 HSPLandroid/location/Criteria$1;-><init>()V
9107 HPLandroid/location/Criteria$1;->createFromParcel(Landroid/os/Parcel;)Landroid/location/Criteria;
9108 HPLandroid/location/Criteria$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
9109 PLandroid/location/Criteria;->getAccuracy()I
9110 PLandroid/location/Criteria;->getPowerRequirement()I
9111 PLandroid/location/Criteria;->isAltitudeRequired()Z
9112 PLandroid/location/Criteria;->isBearingRequired()Z
9113 PLandroid/location/Criteria;->isCostAllowed()Z
9114 PLandroid/location/Criteria;->isSpeedRequired()Z
9176 HSPLandroid/location/ILocationManager$Stub$Proxy;->getProviders(Landroid/location/Criteria;Z)Ljava/…
[all …]
Dpreloaded-classes2144 android.location.Criteria$1
Dhiddenapi-greylist-max-o.txt35283 Landroid/location/Criteria;->accuracyToString(I)Ljava/lang/String;
35284 Landroid/location/Criteria;->mAltitudeRequired:Z
35285 Landroid/location/Criteria;->mBearingAccuracy:I
35286 Landroid/location/Criteria;->mBearingRequired:Z
35287 Landroid/location/Criteria;->mCostAllowed:Z
35288 Landroid/location/Criteria;->mHorizontalAccuracy:I
35289 Landroid/location/Criteria;->mPowerRequirement:I
35290 Landroid/location/Criteria;->mSpeedAccuracy:I
35291 Landroid/location/Criteria;->mSpeedRequired:Z
35292 Landroid/location/Criteria;->mVerticalAccuracy:I
[all …]
/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 …]
/frameworks/base/api/
Dcurrent.txt22648 public class Criteria implements android.os.Parcelable {
22649 ctor public Criteria();
22650 ctor public Criteria(android.location.Criteria);
22678 …field @NonNull public static final android.os.Parcelable.Creator<android.location.Criteria> CREATO…
22967 method @Nullable public String getBestProvider(@NonNull android.location.Criteria, boolean);
22974 … public java.util.List<java.lang.String> getProviders(@NonNull android.location.Criteria, boolean);
22991 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android…
22993 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android…
22995 …NE_LOCATION}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNull android…
22997 …NE_LOCATION}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNull android…
[all …]
Dsystem-current.txt3410 ….LocationRequest createFromDeprecatedCriteria(@NonNull android.location.Criteria, long, float, boo…
/frameworks/base/services/
Dart-profile1296 PLcom/android/server/LocationManagerService;->getBestProvider(Landroid/location/Criteria;Z)Ljava/la…
1302 HSPLcom/android/server/LocationManagerService;->getProviders(Landroid/location/Criteria;Z)Ljava/uti…