Searched refs:Criteria (Results 1 – 12 of 12) sorted by relevance
11 import android.location.Criteria;17 private Criteria criteria;21 criteria = new Criteria(); in setUp()26 criteria.setAccuracy(Criteria.ACCURACY_COARSE); in shouldReturnAccuracy()27 assertThat(Criteria.ACCURACY_COARSE, IsEqual.equalTo(criteria.getAccuracy())); in shouldReturnAccuracy()32 criteria.setPowerRequirement(Criteria.POWER_HIGH); in shouldReturnPowerRequirement()33 assertThat(Criteria.POWER_HIGH, IsEqual.equalTo(criteria.getPowerRequirement())); in shouldReturnPowerRequirement()38 criteria.setPowerRequirement(Criteria.POWER_HIGH); in shouldBeEqual()39 criteria.setAccuracy(Criteria.ACCURACY_COARSE); in shouldBeEqual()41 Criteria criteria1 = new Criteria(criteria); in shouldBeEqual()[all …]
6 import android.location.Criteria;185 Criteria criteria = new Criteria(); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria()186 criteria.setAccuracy(Criteria.ACCURACY_FINE); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria()193 Map<PendingIntent, Criteria> expectedCriteria = new HashMap<PendingIntent, Criteria>(); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria()236 Criteria criteria = new Criteria(); in shouldStoreBestProviderCriteriaAndEnabledOnlyFlag()244 Criteria criteria = new Criteria(); in shouldReturnNullIfBestProviderNotExplicitlySet()254 shadowLocationManager.requestLocationUpdates(0, 0, new Criteria(), null); in shouldThrowExceptionWhenRequestingLocationUpdatesWithANullIntent()266 Criteria criteria = new Criteria(); in shouldThrowExceptionWhenRequestingLocationUpdatesAndNoProviderIsFound()267 criteria.setAccuracy(Criteria.ACCURACY_FINE); in shouldThrowExceptionWhenRequestingLocationUpdatesAndNoProviderIsFound()278 Criteria criteria = new Criteria(); in shouldThrowExceptionIfTheBestProviderIsUnknown()[all …]
6 import android.location.Criteria;26 …ivate final Map<PendingIntent, Criteria> requestLocationUdpateCriteriaPendingIntents = new HashMap…30 private Criteria lastBestProviderCriteria;67 public void setProviderEnabled(String provider, boolean isEnabled, List<Criteria> criteria) { in setProviderEnabled()143 public String getBestProvider(Criteria criteria, boolean enabled) { in getBestProvider()154 private String getBestProviderWithCriteria(Criteria criteria, boolean enabled) { in getBestProviderWithCriteria()163 List<Criteria> criteriaList = locationProviderEntry.getValue(); in getBestProviderWithCriteria()167 for (Criteria criteriaListItem : criteriaList) { in getBestProviderWithCriteria()179 …cationManager.NETWORK_PROVIDER) && (accuracy == Criteria.ACCURACY_COARSE || powerRequirement == Cr… in getBestProviderWithCriteria()181 …als(LocationManager.GPS_PROVIDER) && accuracy == Criteria.ACCURACY_FINE && powerRequirement != Cri… in getBestProviderWithCriteria()[all …]
3 import android.location.Criteria;8 @Implements(Criteria.class)10 private int accuracy = Criteria.NO_REQUIREMENT;15 private int powerRequirement = Criteria.NO_REQUIREMENT;17 public void __constructor__(Criteria criteria) { in __constructor__()45 if (!(obj instanceof Criteria)) { in equals()48 Criteria criteria = (Criteria) obj; in equals()
49 typedef std::map<string, Criterion *> Criteria; typedef129 pfw::Criteria criteria;248 static pfw::Criterion *getCriterion(const pfw::Criteria &criteria, in getCriterion()251 pfw::Criteria::const_iterator it = criteria.find(name); in getCriterion()
44 enum Criteria enum67 Criteria criteria;78 AttribRule (EGLenum name_, EGLint value_, Criteria criteria_, SortOrder sortOrder_) in AttribRule()
691 class Criteria(Element): class701 exported = Criteria(self.name)885 self.criteria = Criteria("CriterionRoot")
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
251 Release Qualification Criteria
350 Attribute Default Criteria Order Priority
67 require an argument. Criteria may be negated by prepending an
META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...