Home
last modified time | relevance | path

Searched refs:criteriaList (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java190 List<Criteria> criteriaList = locationProviderEntry.getValue(); in getBestProviderWithCriteria() local
191 if (criteriaList == null) { in getBestProviderWithCriteria()
194 for (Criteria criteriaListItem : criteriaList) { in getBestProviderWithCriteria()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java313 ArrayList<Criteria> criteriaList = new ArrayList<>(); in shouldReturnBestCustomProviderUsingCriteria() local
315 criteriaList.add(customProviderCriteria); in shouldReturnBestCustomProviderUsingCriteria()
316 …hadowLocationManager.setProviderEnabled("BEST_ENABLED_PROVIDER_WITH_CRITERIA", true, criteriaList); in shouldReturnBestCustomProviderUsingCriteria()