Home
last modified time | relevance | path

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

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowCriteria.java15 private int powerRequirement = Criteria.NO_REQUIREMENT; field in ShadowCriteria
19 powerRequirement = criteria.getPowerRequirement(); in __constructor__()
34 return powerRequirement; in getPowerRequirement()
38 public void setPowerRequirement(int powerRequirement) { in setPowerRequirement() argument
39 this.powerRequirement = powerRequirement; in setPowerRequirement()
49 … if (criteria.getAccuracy() == accuracy && criteria.getPowerRequirement() == powerRequirement) { in equals()
DShadowLocationManager.java156 int powerRequirement = criteria.getPowerRequirement(); in getBestProviderWithCriteria() local
172 } else if (criteriaListItem.getPowerRequirement() == powerRequirement) { in getBestProviderWithCriteria()
179 …nager.NETWORK_PROVIDER) && (accuracy == Criteria.ACCURACY_COARSE || powerRequirement == Criteria.P… in getBestProviderWithCriteria()
181 …ationManager.GPS_PROVIDER) && accuracy == Criteria.ACCURACY_FINE && powerRequirement != Criteria.P… in getBestProviderWithCriteria()