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

  /frameworks/base/location/tests/locationtests/src/android/location/
LocationManagerTest.java 57 String p = manager.getBestProvider(new Criteria(), true);
64 String p = manager.getBestProvider(c, true);
68 p = manager.getBestProvider(c, true);
72 p = manager.getBestProvider(c, true);
76 p = manager.getBestProvider(c, true);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LocationManagerTest.java 237 assertNull(locationManager.getBestProvider(criteria, true));
245 assertNull(locationManager.getBestProvider(null, false));
246 assertNull(locationManager.getBestProvider(null, true));
247 assertNull(locationManager.getBestProvider(criteria, false));
248 assertNull(locationManager.getBestProvider(criteria, true));
301 assertThat("BEST_ENABLED_PROVIDER_WITH_CRITERIA", equalTo(locationManager.getBestProvider(criteria, true)));
303 assertThat("BEST_ENABLED_PROVIDER_WITH_CRITERIA", equalTo(locationManager.getBestProvider(criteria, false)));
304 assertThat("BEST_ENABLED_PROVIDER_WITH_CRITERIA", equalTo(locationManager.getBestProvider(criteria, true)));
313 assertThat(LocationManager.GPS_PROVIDER, equalTo(locationManager.getBestProvider(criteria, false)));
317 assertThat(LocationManager.NETWORK_PROVIDER, equalTo(locationManager.getBestProvider(criteria, false)))
    [all...]
  /frameworks/base/location/java/android/location/
ILocationManager.aidl 75 String getBestProvider(in Criteria criteria, boolean enabledOnly);
LocationManager.java 422 public String getBestProvider(Criteria criteria, boolean enabledOnly) {
425 return mService.getBestProvider(criteria, enabledOnly);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLocationManager.java 143 public String getBestProvider(Criteria criteria, boolean enabled) {
228 if (getBestProvider(criteria, true) == null) {
265 * Gets the criteria value used in the last call to {@link #getBestProvider(android.location.Criteria, boolean)}
276 * Gets the enabled value used in the last call to {@link #getBestProvider(android.location.Criteria, boolean)}
285 * Sets the value to return from {@link #getBestProvider(android.location.Criteria, boolean)} for the given
  /cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java 241 String p = mManager.getBestProvider(criteria, true);
247 p = mManager.getBestProvider(criteria, false);
251 p = mManager.getBestProvider(criteria, true);
257 p = mManager.getBestProvider(criteria, false);
    [all...]
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
LocationStatsAggregator.java 190 String provider = mLocationManager.getBestProvider(mCriteria, true);
  /frameworks/base/services/core/java/com/android/server/
LocationManagerService.java     [all...]
  /external/chromium_org/third_party/android_platform/webview/
frameworks.jar 
  /external/chromium_org/third_party/libaddressinput/src/java/
android.jar 
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 
  /prebuilts/tools/common/api-versions/android-1/
android.jar 
  /prebuilts/tools/common/api-versions/android-2/
android.jar 
  /prebuilts/tools/common/api-versions/android-3/
android.jar 

Completed in 1132 milliseconds