Home
last modified time | relevance | path

Searched refs:getLastKnownLocation (Results 1 – 3 of 3) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DLocationFacade.java161 public Map<String, Location> getLastKnownLocation() { in getLastKnownLocation() method in LocationFacade
164 location.put(provider, mLocationManager.getLastKnownLocation(provider)); in getLastKnownLocation()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java133 assertNull(locationManager.getLastKnownLocation(NETWORK_PROVIDER)); in shouldReturnLastKnownLocationForAProvider()
141 assertSame(locationManager.getLastKnownLocation(NETWORK_PROVIDER), networkLocation); in shouldReturnLastKnownLocationForAProvider()
142 assertSame(locationManager.getLastKnownLocation(GPS_PROVIDER), gpsLocation); in shouldReturnLastKnownLocationForAProvider()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java152 protected Location getLastKnownLocation(String provider) { in getLastKnownLocation() method in ShadowLocationManager
260 minTime, minDistance, copyOf(getLastKnownLocation(provider)), listener)); in addLocationListener()