Home
last modified time | relevance | path

Searched refs:Criteria (Results 1 – 25 of 28) 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 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;
76 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders()
77 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider()
78 boolean providerMeetsCriteria(String provider, in Criteria criteria); in providerMeetsCriteria()
DLocationRequest.java198 public static LocationRequest createFromDeprecatedCriteria(Criteria criteria, long minTime, in createFromDeprecatedCriteria()
205 case Criteria.ACCURACY_COARSE: in createFromDeprecatedCriteria()
208 case Criteria.ACCURACY_FINE: in createFromDeprecatedCriteria()
213 case Criteria.POWER_HIGH: in createFromDeprecatedCriteria()
DCriteria.aidl19 parcelable Criteria;
DLocationManager.java403 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders()
434 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider()
529 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates()
659 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates()
719 public void requestSingleUpdate(Criteria criteria, LocationListener listener, Looper looper) { in requestSingleUpdate()
766 public void requestSingleUpdate(Criteria criteria, PendingIntent intent) { in requestSingleUpdate()
2252 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.java36 import android.location.Criteria;
113 Criteria.POWER_HIGH, Criteria.ACCURACY_FINE);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLocationStatsAggregator.java25 import android.location.Criteria;
66 private Criteria mCriteria = new Criteria();
84 mCriteria.setAccuracy(Criteria.ACCURACY_COARSE); in LocationStatsAggregator()
85 mCriteria.setPowerRequirement(Criteria.POWER_LOW); in LocationStatsAggregator()
/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/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.java61 import android.location.Criteria;
745 && properties.mPowerRequirement == Criteria.POWER_HIGH in updateMonitoring()
1251 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders()
1292 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider()
1323 public boolean providerMeetsCriteria(String provider, Criteria criteria) { in providerMeetsCriteria()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java705 private interface Criteria { interface in ConnectivityServiceTest
713 static private void waitFor(Criteria criteria) { in waitFor()
859 waitFor(new Criteria() { in testLingering()
1614 waitFor(new Criteria() { in testMMSonWiFi()
/frameworks/base/docs/html/distribute/essentials/quality/
Dauto.jd8 <h2>Quality Criteria</h2>
Dwear.jd8 <h2>Quality Criteria</h2>
Dtv.jd7 <h2>Quality Criteria</h2>
Dcore.jd7 <h2>Quality Criteria</h2>
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd354 …<li>1021777: Setting a power requirement in a <code>Criteria</code> object passed to <code>{@link …
/frameworks/base/docs/html/about/versions/
Dandroid-2.3.jd491 <li>A new {@link android.location.Criteria} class lets an application specify a
/frameworks/base/
DAndroid.mk539 frameworks/base/location/java/android/location/Criteria.aidl \
Dcompiled-classes-phone2222 android.location.Criteria
2223 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 …]

12