Home
last modified time | relevance | path

Searched refs:mLocationManager (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/webkit/
DGeolocationService.java40 private LocationManager mLocationManager; field in GeolocationService
55 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in GeolocationService()
56 if (mLocationManager == null) { in GeolocationService()
163mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, this); in registerForLocationUpdates()
168mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this); in registerForLocationUpdates()
182 mLocationManager.removeUpdates(this); in unregisterFromLocationUpdates()
/frameworks/base/services/java/com/android/server/location/
DLocationBasedCountryDetector.java63 private LocationManager mLocationManager; field in LocationBasedCountryDetector
68 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE); in LocationBasedCountryDetector()
98 mLocationManager.requestLocationUpdates(provider, 0, 0, listener); in registerListener()
105 mLocationManager.removeUpdates(listener); in unregisterListener()
112 List<String> providers = mLocationManager.getAllProviders(); in getLastKnownLocation()
115 Location lastKnownLocation = mLocationManager.getLastKnownLocation(provider); in getLastKnownLocation()
134 mEnabledProviders = mLocationManager.getProviders(true); in getEnabledProviders()
DPassiveProvider.java41 private final ILocationManager mLocationManager; field in PassiveProvider
45 mLocationManager = locationManager; in PassiveProvider()
137 mLocationManager.reportLocation(location, true); in updateLocation()
DMockProvider.java39 private final ILocationManager mLocationManager; field in MockProvider
64 mLocationManager = locationManager; in MockProvider()
169 mLocationManager.reportLocation(mLocation, false); in setLocation()
DGpsLocationProvider.java248 private final ILocationManager mLocationManager; field in GpsLocationProvider
382 mLocationManager = locationManager; in GpsLocationProvider()
1082 mLocationManager.reportLocation(mLocation, false); in reportLocation()
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProvider.java44 private ILocationManager mLocationManager; field in LocationProvider
139 mLocationManager = ILocationManager.Stub.asInterface(b); in LocationProvider()
169 mLocationManager.reportLocation(location, false); in reportLocation()
/frameworks/base/services/java/com/android/server/
DUiModeManagerService.java105 private LocationManager mLocationManager; field in UiModeManagerService
317 mLocationManager = in UiModeManagerService()
641 mLocationManager.removeUpdates(mEmptyLocationListener);
650 mLocationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
659 mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,
681 mLocationManager.isProviderEnabled(LocationManager.PASSIVE_PROVIDER);
689 mLocationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER,
713 mLocationManager.getProviders(new Criteria(), true).iterator();
716 mLocationManager.getLastKnownLocation(providers.next());
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java88 private final LocationManager mLocationManager; field in GpsNetInitiatedHandler
131 mLocationManager = (LocationManager)context.getSystemService(Context.LOCATION_SERVICE); in GpsNetInitiatedHandler()
164 mLocationManager.sendNiResponse(notif.notificationId, GPS_NI_RESPONSE_ACCEPT); in handleNiNotification()