HomeSort by relevance Sort by last modified time
    Searched full:powerrequirement (Results 1 - 9 of 9) sorted by null

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCriteria.java 15 private int powerRequirement = Criteria.NO_REQUIREMENT;
19 powerRequirement = criteria.getPowerRequirement();
34 return powerRequirement;
38 public void setPowerRequirement(int powerRequirement) {
39 this.powerRequirement = powerRequirement;
49 if (criteria.getAccuracy() == accuracy && criteria.getPowerRequirement() == powerRequirement) {
ShadowLocationManager.java 156 int powerRequirement = criteria.getPowerRequirement();
172 } else if (criteriaListItem.getPowerRequirement() == powerRequirement) {
179 if (provider.equals(LocationManager.NETWORK_PROVIDER) && (accuracy == Criteria.ACCURACY_COARSE || powerRequirement == Criteria.POWER_LOW)) {
181 } else if (provider.equals(LocationManager.GPS_PROVIDER) && accuracy == Criteria.ACCURACY_FINE && powerRequirement != Criteria.POWER_LOW) {
  /frameworks/base/location/lib/java/com/android/location/provider/
ProviderPropertiesUnbundled.java 34 int powerRequirement, int accuracy) {
37 supportsBearing, powerRequirement, accuracy));
  /cts/tests/tests/location/src/android/location/cts/
LocationProviderTest.java 60 Criteria.POWER_MEDIUM, // powerRequirement,
LocationManagerTest.java 101 Criteria.POWER_MEDIUM, // powerRequirement
134 Criteria.POWER_MEDIUM, // powerRequirement
    [all...]
  /frameworks/base/location/java/com/android/internal/location/
ProviderProperties.java 123 int powerRequirement = in.readInt();
127 powerRequirement, accuracy);
  /cts/tests/tests/location2/src/android/location2/cts/
LocationManagerTest.java 205 Criteria.POWER_MEDIUM, // powerRequirement
  /cts/tests/tests/webkit/src/android/webkit/cts/
GeolocationTest.java 196 provider.getPowerRequirement(), // powerRequirement
  /frameworks/base/location/java/android/location/
LocationManager.java     [all...]

Completed in 484 milliseconds