OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getBestProvider
(Results
1 - 4
of
4
) sorted by null
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowLocationManagerTest.java
255
assertNull(locationManager.
getBestProvider
(criteria, true));
264
assertThat(locationManager.
getBestProvider
(null, false)).isEqualTo(LocationManager.GPS_PROVIDER);
265
assertThat(locationManager.
getBestProvider
(null, true)).isNull();
266
assertThat(locationManager.
getBestProvider
(criteria, false)).isEqualTo(LocationManager.NETWORK_PROVIDER);
267
assertThat(locationManager.
getBestProvider
(criteria, true)).isNull();
320
assertThat(locationManager.
getBestProvider
(criteria, true))
324
assertThat(locationManager.
getBestProvider
(criteria, false))
326
assertThat(locationManager.
getBestProvider
(criteria, true))
336
assertThat(locationManager.
getBestProvider
(criteria, false))
341
assertThat(locationManager.
getBestProvider
(criteria, false)
[
all
...]
/cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java
236
String p = mManager.
getBestProvider
(criteria, true);
242
p = mManager.
getBestProvider
(criteria, false);
246
p = mManager.
getBestProvider
(criteria, true);
252
p = mManager.
getBestProvider
(criteria, false);
[
all
...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowLocationManager.java
170
protected String
getBestProvider
(Criteria criteria, boolean enabled) {
286
if (
getBestProvider
(criteria, true) == null) {
333
* Gets the criteria value used in the last call to {@link #
getBestProvider
(android.location.Criteria, boolean)}.
342
* Gets the enabled value used in the last call to {@link #
getBestProvider
(android.location.Criteria, boolean)}
351
* Sets the value to return from {@link #
getBestProvider
(android.location.Criteria, boolean)} for the given
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
ClientTest.java
[
all
...]
Completed in 125 milliseconds