OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getBestProvider
(Results
1 - 15
of
15
) 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
66
String
getBestProvider
(in Criteria criteria, boolean enabledOnly);
LocationManager.java
393
public String
getBestProvider
(Criteria criteria, boolean enabledOnly) {
396
return mService.
getBestProvider
(criteria, enabledOnly);
[
all
...]
/cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java
240
String p = mManager.
getBestProvider
(criteria, true);
246
p = mManager.
getBestProvider
(criteria, false);
250
p = mManager.
getBestProvider
(criteria, true);
256
p = mManager.
getBestProvider
(criteria, false);
[
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
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
LocationStatsAggregator.java
190
String provider = mLocationManager.
getBestProvider
(mCriteria, true);
/frameworks/base/services/java/com/android/server/
LocationManagerService.java
[
all
...]
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/14/
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
Completed in 98 milliseconds