Searched refs:locationManager (Results 1 – 2 of 2) sorted by relevance
35 private LocationManager locationManager; field in GpsLocationTest47 locationManager = (LocationManager) getContext(). in setUp()49 assertNotNull(locationManager); in setUp()61 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this, in testCurrentLocationGivenLocation()72 locationManager.removeUpdates(this); in testCurrentLocationGivenLocation()
139 LocationManager locationManager = in onStart() local141 final boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in onStart()