Searched refs:mLocationManager (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/webkit/ |
D | GeolocationService.java | 40 private LocationManager mLocationManager; field in GeolocationService 55 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in GeolocationService() 56 if (mLocationManager == null) { in GeolocationService() 163 … mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, this); in registerForLocationUpdates() 168 … mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this); in registerForLocationUpdates() 182 mLocationManager.removeUpdates(this); in unregisterFromLocationUpdates()
|
/frameworks/base/services/java/com/android/server/location/ |
D | LocationBasedCountryDetector.java | 63 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()
|
D | PassiveProvider.java | 41 private final ILocationManager mLocationManager; field in PassiveProvider 45 mLocationManager = locationManager; in PassiveProvider() 137 mLocationManager.reportLocation(location, true); in updateLocation()
|
D | MockProvider.java | 39 private final ILocationManager mLocationManager; field in MockProvider 64 mLocationManager = locationManager; in MockProvider() 169 mLocationManager.reportLocation(mLocation, false); in setLocation()
|
D | GpsLocationProvider.java | 248 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/ |
D | LocationProvider.java | 44 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/ |
D | UiModeManagerService.java | 105 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/ |
D | GpsNetInitiatedHandler.java | 88 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()
|