HomeSort by relevance Sort by last modified time
    Searched refs:setBestProvider (Results 1 - 2 of 2) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowLocationManagerTest.java 203 shadowLocationManager.setBestProvider(LocationManager.GPS_PROVIDER, true);
220 assertTrue(shadowLocationManager.setBestProvider(LocationManager.GPS_PROVIDER, true));
226 assertFalse(shadowLocationManager.setBestProvider(LocationManager.GPS_PROVIDER, false));
239 shadowLocationManager.setBestProvider(LocationManager.GPS_PROVIDER, true);
300 shadowLocationManager.setBestProvider("BEST_ENABLED_PROVIDER", true);
317 assertTrue(shadowLocationManager.setBestProvider("BEST_ENABLED_PROVIDER_WITH_CRITERIA", true));
322 assertThat(shadowLocationManager.setBestProvider("BEST_ENABLED_PROVIDER_WITH_CRITERIA", true))
353 shadowLocationManager.setBestProvider("BEST_DISABLED_PROVIDER", false);
355 shadowLocationManager.setBestProvider("BEST_ENABLED_PROVIDER", true);
357 assertTrue(shadowLocationManager.setBestProvider("BEST_DISABLED_PROVIDER", false))
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowLocationManager.java 360 public boolean setBestProvider(String provider, boolean enabled, List<Criteria> criteria) throws Exception {
398 public boolean setBestProvider(String provider, boolean enabled) throws Exception {
399 return setBestProvider(provider, enabled, null);

Completed in 74 milliseconds