Lines Matching refs:locationManager
29 import android.location.LocationManager;
52 private LocationManager mLocationManager;
113 // Get a reference to the LocationManager object.
114 mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
139 LocationManager locationManager =
140 (LocationManager) getSystemService(Context.LOCATION_SERVICE);
141 final boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
178 LocationManager.GPS_PROVIDER, R.string.not_support_gps);
187 LocationManager.GPS_PROVIDER, R.string.not_support_gps);
189 LocationManager.NETWORK_PROVIDER, R.string.not_support_network);