Home
last modified time | relevance | path

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

12

/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()
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()
DCriteria.aidl19 parcelable Criteria;
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;
118 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/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/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/non-updatable-api/
Dsystem-lint-baseline.txt164 …on.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, android.location…
166 …on.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, java.util.concur…
170 SamShouldBeLast: android.location.LocationManager#requestSingleUpdate(android.location.Criteria, an…
Dcurrent.txt22914 public class Criteria implements android.os.Parcelable {
22915 ctor public Criteria();
22916 ctor public Criteria(android.location.Criteria);
22944 …field @NonNull public static final android.os.Parcelable.Creator<android.location.Criteria> CREATO…
23233 method @Nullable public String getBestProvider(@NonNull android.location.Criteria, boolean);
23240 … public java.util.List<java.lang.String> getProviders(@NonNull android.location.Criteria, boolean);
23257 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android…
23259 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android…
23261 …NE_LOCATION}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNull android…
23263 …NE_LOCATION}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNull android…
[all …]
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java51 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.txt32958 Landroid/location/Criteria;->accuracyToString(I)Ljava/lang/String;
32959 Landroid/location/Criteria;->mAltitudeRequired:Z
32960 Landroid/location/Criteria;->mBearingAccuracy:I
32961 Landroid/location/Criteria;->mBearingRequired:Z
32962 Landroid/location/Criteria;->mCostAllowed:Z
32963 Landroid/location/Criteria;->mHorizontalAccuracy:I
32964 Landroid/location/Criteria;->mPowerRequirement:I
32965 Landroid/location/Criteria;->mSpeedAccuracy:I
32966 Landroid/location/Criteria;->mSpeedRequired:Z
32967 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.txt22914 public class Criteria implements android.os.Parcelable {
22915 ctor public Criteria();
22916 ctor public Criteria(android.location.Criteria);
22944 …field @NonNull public static final android.os.Parcelable.Creator<android.location.Criteria> CREATO…
23233 method @Nullable public String getBestProvider(@NonNull android.location.Criteria, boolean);
23240 … public java.util.List<java.lang.String> getProviders(@NonNull android.location.Criteria, boolean);
23257 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android…
23259 …blic void requestLocationUpdates(long, float, @NonNull android.location.Criteria, @NonNull android…
23261 …NE_LOCATION}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNull android…
23263 …NE_LOCATION}) public void requestSingleUpdate(@NonNull android.location.Criteria, @NonNull android…
[all …]
Dsystem-current.txt3664 ….LocationRequest createFromDeprecatedCriteria(@NonNull android.location.Criteria, long, float, boo…

12