Searched refs:Criteria (Results 1 – 14 of 14) 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()
51 typedef std::map<string, Criterion *> Criteria; typedef146 pfw::Criteria criteria;250 static pfw::Criterion *getCriterion(const pfw::Criteria &criteria, const string &name) in getCriterion()252 pfw::Criteria::const_iterator it = criteria.find(name); in getCriterion()
46 enum Criteria enum69 Criteria criteria;80 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")
269 Conformance Criteria
318 ## Criteria section in Parameter Framework (PF) test plan
224 Release Qualification Criteria
350 Attribute Default Criteria Order Priority
623 ### Criteria number
65 require an argument. Criteria may be negated by prepending an
2332 rate during production * Autosegmentation * Criteria employed in3458 organizational work * Criteria for selecting vendor * Finalists and