Home
last modified time | relevance | path

Searched refs:Criteria (Results 1 – 14 of 14) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCriteriaTest.java11 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 …]
DLocationManagerTest.java6 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 …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocationManager.java6 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 …]
DShadowCriteria.java3 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()
/external/parameter-framework/upstream/bindings/c/
DParameterFramework.cpp51 typedef std::map<string, Criterion *> Criteria; typedef
146 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()
/external/deqp/modules/egl/
DteglChooseConfigReference.cpp46 enum Criteria enum
69 Criteria criteria;
80 AttribRule (EGLenum name_, EGLint value_, Criteria criteria_, SortOrder sortOrder_) in AttribRule()
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py691 class Criteria(Element): class
701 exported = Criteria(self.name)
885 self.criteria = Criteria("CriterionRoot")
/external/deqp/external/vulkancts/
DREADME.md269 Conformance Criteria
/external/parameter-framework/upstream/test/functional-tests/
Dplan.md318 ## Criteria section in Parameter Framework (PF) test plan
/external/llvm/docs/
DHowToReleaseLLVM.rst224 Release Qualification Criteria
/external/mesa3d/docs/specs/OLD/
DEGL_MESA_screen_surface.txt350 Attribute Default Criteria Order Priority
/external/parameter-framework/upstream/doc/requirements/
Drequirements.md623 ### Criteria number
/external/openssh/
Dssh_config.065 require an argument. Criteria may be negated by prepending an
/external/brotli/tests/testdata/
Dlcet10.txt2332 rate during production * Autosegmentation * Criteria employed in
3458 organizational work * Criteria for selecting vendor * Finalists and