OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:getBestProvider
(Results
1 - 25
of
46
) sorted by null
1
2
/external/robolectric/v1/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
/external/robolectric/v1/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
...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowLocationManagerTest.java
237
assertNull(locationManager.
getBestProvider
(criteria, true));
246
assertThat(locationManager.
getBestProvider
(null, false)).isEqualTo(LocationManager.GPS_PROVIDER);
247
assertThat(locationManager.
getBestProvider
(null, true)).isNull();
248
assertThat(locationManager.
getBestProvider
(criteria, false)).isEqualTo(LocationManager.NETWORK_PROVIDER);
249
assertThat(locationManager.
getBestProvider
(criteria, true)).isNull();
302
assertThat("BEST_ENABLED_PROVIDER_WITH_CRITERIA").isEqualTo(locationManager.
getBestProvider
(criteria, true));
304
assertThat("BEST_ENABLED_PROVIDER_WITH_CRITERIA").isEqualTo(locationManager.
getBestProvider
(criteria, false));
305
assertThat("BEST_ENABLED_PROVIDER_WITH_CRITERIA").isEqualTo(locationManager.
getBestProvider
(criteria, true));
314
assertThat(LocationManager.GPS_PROVIDER).isEqualTo(locationManager.
getBestProvider
(criteria, false));
318
assertThat(LocationManager.NETWORK_PROVIDER).isEqualTo(locationManager.
getBestProvider
(criteria, false))
[
all
...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowLocationManager.java
160
public String
getBestProvider
(Criteria criteria, boolean enabled) {
260
if (
getBestProvider
(criteria, true) == null) {
307
* Gets the criteria value used in the last call to {@link #
getBestProvider
(android.location.Criteria, boolean)}.
316
* Gets the enabled value used in the last call to {@link #
getBestProvider
(android.location.Criteria, boolean)}
325
* Sets the value to return from {@link #
getBestProvider
(android.location.Criteria, boolean)} for the given
/frameworks/base/location/java/android/location/
LocationManager.java
524
public String
getBestProvider
(Criteria criteria, boolean enabledOnly) {
527
return mService.
getBestProvider
(criteria, enabledOnly);
[
all
...]
/frameworks/base/services/core/java/com/android/server/
LocationManagerService.java
[
all
...]
/external/robolectric/v3/runtime/
shadows-core-3.1-SNAPSHOT-16.jar
shadows-core-3.1-SNAPSHOT-17.jar
shadows-core-3.1-SNAPSHOT-18.jar
shadows-core-3.1-SNAPSHOT-19.jar
shadows-core-3.1-SNAPSHOT-21.jar
shadows-core-3.1-SNAPSHOT-22.jar
/prebuilts/misc/common/robolectric/3.1.1/lib/
shadows-core-v16-3.1.1.jar
shadows-core-v17-3.1.1.jar
shadows-core-v18-3.1.1.jar
shadows-core-v19-3.1.1.jar
shadows-core-v21-3.1.1.jar
shadows-core-v22-3.1.1.jar
shadows-core-v23-3.1.1.jar
/prebuilts/misc/common/robolectric/3.4.2/lib/
framework-3.4.2.jar
/prebuilts/misc/common/robolectric/3.5.1/lib/
shadows-framework-3.5.1.jar
/prebuilts/misc/common/robolectric/3.6.1/lib/
shadows-framework-3.6.1.jar
/external/robolectric/v1/lib/main/
android.jar
/prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-0.jar
/prebuilts/sdk/11/
android.jar
Completed in 58 milliseconds
1
2