Home
last modified time | relevance | path

Searched refs:Criteria (Results 1 – 25 of 30) 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/twilight/
DTwilightService.java31 import android.location.Criteria;
440 mLocationManager.getProviders(new Criteria(), true).iterator(); in retrieveLocation()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java359 waitFor(new Criteria() { public boolean get() { in connectWithCaptivePortal()
647 private interface Criteria { interface in ConnectivityServiceTest
655 static private void waitFor(Criteria criteria) { in waitFor()
789 waitFor(new Criteria() { in testLingering()
1299 waitFor(new Criteria() { in testMMSonWiFi()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java61 import android.location.Criteria;
738 && properties.mPowerRequirement == Criteria.POWER_HIGH in updateMonitoring()
1244 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders()
1285 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider()
1316 public boolean providerMeetsCriteria(String provider, Criteria criteria) { in providerMeetsCriteria()
/frameworks/base/docs/html/distribute/essentials/quality/
Dwear.jd8 <h2>Quality Criteria</h2>
Dauto.jd8 <h2>Quality Criteria</h2>
Dtv.jd7 <h2>Quality Criteria</h2>
Dcore.jd7 <h2>Quality Criteria</h2>
/frameworks/base/docs/html/design/patterns/
Dnotifications.jd339 look for notifications. Criteria for <code>LOW</code> and <code>MIN</code>
/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/docs/html/sdk/
DOLD_RELEASENOTES.jd354 …<li>1021777: Setting a power requirement in a <code>Criteria</code> object passed to <code>{@link …
/frameworks/base/
DAndroid.mk531 frameworks/base/location/java/android/location/Criteria.aidl \

12