Searched refs:getLastKnownLocation (Results 1 – 6 of 6) sorted by relevance
56 public Location getLastKnownLocation(@NonNull String provider) { in getLastKnownLocation() method in LocationManagerProxy60 return mLocationManager.getLastKnownLocation(provider); in getLastKnownLocation()
305 location = mILocationManagerProxy.getLastKnownLocation( in storeLocation()
66 when(mMockLocationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER)) in testLocationManagerProxyCanGetLastKnownLocation()69 .getLastKnownLocation(LocationManager.GPS_PROVIDER); in testLocationManagerProxyCanGetLastKnownLocation()
332 when(mMockLocationManagerProxy.getLastKnownLocation(LocationManager.GPS_PROVIDER)) in testStoresLocationUponShutdownPrepare()339 verify(mMockLocationManagerProxy).getLastKnownLocation(LocationManager.GPS_PROVIDER); in testStoresLocationUponShutdownPrepare()378 when(mMockLocationManagerProxy.getLastKnownLocation(LocationManager.GPS_PROVIDER)) in testDoesNotStoreNullLocation()386 verify(mMockLocationManagerProxy).getLastKnownLocation(LocationManager.GPS_PROVIDER); in testDoesNotStoreNullLocation()
24 Location getLastKnownLocation(in String provider); in getLastKnownLocation() method
119 location = (provider != null) ? locationManager.getLastKnownLocation(provider) : null; in computeAddress()