/frameworks/base/core/java/android/webkit/ |
H A D | GeolocationService.java | 39 private LocationManager mLocationManager; field in class:GeolocationService 54 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); 55 if (mLocationManager == null) { 162 mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, this); 167 mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this); 181 mLocationManager.removeUpdates(this);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationBasedCountryDetector.java | 63 private LocationManager mLocationManager; field in class:LocationBasedCountryDetector 68 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE); 98 mLocationManager.requestLocationUpdates(provider, 0, 0, listener); 105 mLocationManager.removeUpdates(listener); 112 List<String> providers = mLocationManager.getAllProviders(); 115 Location lastKnownLocation = mLocationManager.getLastKnownLocation(provider); 136 mEnabledProviders = mLocationManager.getProviders(true);
|
H A D | PassiveProvider.java | 50 private final ILocationManager mLocationManager; field in class:PassiveProvider 54 mLocationManager = locationManager; 108 mLocationManager.reportLocation(location, true);
|
H A D | MockProvider.java | 44 private final ILocationManager mLocationManager; field in class:MockProvider 62 mLocationManager = locationManager; 113 mLocationManager.reportLocation(mLocation, false);
|
H A D | GeofenceManager.java | 70 private final LocationManager mLocationManager; field in class:GeofenceManager 109 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); 212 location = mLocationManager.getLastLocation(); 301 mLocationManager.requestLocationUpdates(request, this, mHandler.getLooper()); 310 mLocationManager.removeUpdates(this);
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
H A D | FusionEngine.java | 51 private final LocationManager mLocationManager; field in class:FusionEngine 67 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); 75 mStats.get(GPS).available = mLocationManager.isProviderEnabled(GPS); 77 mStats.get(NETWORK).available = mLocationManager.isProviderEnabled(NETWORK); 138 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); 141 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); 150 mLocationManager.removeUpdates(this); //TODO GLOBAL
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | LocationProviderBase.java | 59 protected final ILocationManager mLocationManager; field in class:LocationProviderBase 118 mLocationManager = ILocationManager.Stub.asInterface(b); 136 mLocationManager.reportLocation(location, false);
|
/frameworks/base/services/java/com/android/server/ |
H A D | TwilightService.java | 60 private final LocationManager mLocationManager; field in class:TwilightService 76 mLocationManager = (LocationManager)mContext.getSystemService(Context.LOCATION_SERVICE); 358 mLocationManager.removeUpdates(mEmptyLocationListener); 367 mLocationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER); 376 mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 392 mLocationManager.isProviderEnabled(LocationManager.PASSIVE_PROVIDER); 401 mLocationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, 425 mLocationManager.getProviders(new Criteria(), true).iterator(); 428 mLocationManager.getLastKnownLocation(providers.next());
|
/frameworks/base/location/java/com/android/internal/location/ |
H A D | GpsNetInitiatedHandler.java | 89 private final LocationManager mLocationManager; field in class:GpsNetInitiatedHandler 131 mLocationManager = (LocationManager)context.getSystemService(Context.LOCATION_SERVICE); 164 mLocationManager.sendNiResponse(notif.notificationId, GPS_NI_RESPONSE_ACCEPT);
|