Home
last modified time | relevance | path

Searched refs:Criteria (Results 1 – 20 of 20) 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 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.java78 public boolean meetsCriteria(Criteria criteria) { in meetsCriteria()
86 Criteria criteria) { in propertiesMeetCriteria()
97 if (criteria.getAccuracy() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
101 if (criteria.getPowerRequirement() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
DILocationManager.aidl21 import android.location.Criteria;
86 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders()
87 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider()
88 boolean providerMeetsCriteria(String provider, in Criteria criteria); in providerMeetsCriteria()
DLocationRequest.java202 public static LocationRequest createFromDeprecatedCriteria(Criteria criteria, long minTime, in createFromDeprecatedCriteria()
209 case Criteria.ACCURACY_COARSE: in createFromDeprecatedCriteria()
212 case Criteria.ACCURACY_FINE: in createFromDeprecatedCriteria()
217 case Criteria.POWER_HIGH: in createFromDeprecatedCriteria()
DCriteria.aidl19 parcelable Criteria;
DLocationManager.java493 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders()
524 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider()
619 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates()
749 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates()
809 public void requestSingleUpdate(Criteria criteria, LocationListener listener, Looper looper) { in requestSingleUpdate()
856 public void requestSingleUpdate(Criteria criteria, PendingIntent intent) { in requestSingleUpdate()
2336 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.java25 import android.location.Criteria;
48 Criteria.POWER_LOW, Criteria.ACCURACY_COARSE);
DGnssLocationProvider.java30 import android.location.Criteria;
121 Criteria.POWER_HIGH, Criteria.ACCURACY_FINE);
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java31 import android.location.Criteria;
44 false, false, false, false, true, true, true, Criteria.POWER_LOW,
45 Criteria.ACCURACY_FINE);
/frameworks/native/opengl/specs/
DEGL_ANDROID_framebuffer_target.txt74 Criteria Order Priority
DEGL_ANDROID_recordable.txt72 Criteria Order Priority
/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/base/services/core/java/com/android/server/
DLocationManagerService.java42 import android.location.Criteria;
871 && properties.mPowerRequirement == Criteria.POWER_HIGH in updateMonitoring()
1579 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders()
1621 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider()
1652 public boolean providerMeetsCriteria(String provider, Criteria criteria) { in providerMeetsCriteria()
/frameworks/base/config/
Dhiddenapi-public-dex.txt19516 Landroid/location/Criteria;
19517 Landroid/location/Criteria;-><init>()V
19518 Landroid/location/Criteria;-><init>(Landroid/location/Criteria;)V
19519 Landroid/location/Criteria;->ACCURACY_COARSE:I
19520 Landroid/location/Criteria;->ACCURACY_FINE:I
19521 Landroid/location/Criteria;->ACCURACY_HIGH:I
19522 Landroid/location/Criteria;->ACCURACY_LOW:I
19523 Landroid/location/Criteria;->ACCURACY_MEDIUM:I
19524 Landroid/location/Criteria;->CREATOR:Landroid/os/Parcelable$Creator;
19525 Landroid/location/Criteria;->describeContents()I
[all …]
Dboot-image-profile.txt3041 HPLandroid/location/Criteria$1;->createFromParcel(Landroid/os/Parcel;)Landroid/location/Criteria;
3042 HPLandroid/location/Criteria$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
3043 HPLandroid/location/Criteria;->getPowerRequirement()I
3044 HPLandroid/location/Criteria;->isAltitudeRequired()Z
3045 HPLandroid/location/Criteria;->isBearingRequired()Z
3046 HPLandroid/location/Criteria;->isCostAllowed()Z
3047 HPLandroid/location/Criteria;->isSpeedRequired()Z
3156 …a(Ljava/lang/String;Lcom/android/internal/location/ProviderProperties;Landroid/location/Criteria;)Z
24348 HSPLandroid/location/Criteria$1;-><init>()V
24349 HSPLandroid/location/Criteria;-><init>()V
[all …]
Dpreloaded-classes1896 android.location.Criteria$1
/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/
Dsystem-current.txt2540 ….location.LocationRequest createFromDeprecatedCriteria(android.location.Criteria, long, float, boo…
Dcurrent.txt21543 public class Criteria implements android.os.Parcelable {
21544 ctor public Criteria();
21545 ctor public Criteria(android.location.Criteria);
21573 field public static final android.os.Parcelable.Creator<android.location.Criteria> CREATOR;
21852 method public java.lang.String getBestProvider(android.location.Criteria, boolean);
21859 method public java.util.List<java.lang.String> getProviders(android.location.Criteria, boolean);
21877 …method public void requestLocationUpdates(long, float, android.location.Criteria, android.location…
21879 …method public void requestLocationUpdates(long, float, android.location.Criteria, android.app.Pend…
21881 …method public void requestSingleUpdate(android.location.Criteria, android.location.LocationListene…
21883 method public void requestSingleUpdate(android.location.Criteria, android.app.PendingIntent);
[all …]