/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; 103 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 | 71 private final LocationManager mLocationManager; field in class:GeofenceManager 111 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); 215 location = mLocationManager.getLastLocation(); 316 mLocationManager.requestLocationUpdates(request, this, mHandler.getLooper()); 325 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); 139 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); 142 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); 152 mLocationManager.removeUpdates(this); //TODO GLOBAL
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationStatsAggregator.java | 62 private LocationManager mLocationManager; field in class:LocationStatsAggregator 77 mLocationManager = 126 mLocationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER); 153 List<String> providers = mLocationManager.getAllProviders(); 161 Location location = mLocationManager.getLastKnownLocation(provider); 190 String provider = mLocationManager.getBestProvider(mCriteria, true); 192 mLocationManager.requestSingleUpdate(provider, mLocationListener, 230 mLocationManager.removeUpdates(this);
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | LocationProviderBase.java | 60 protected final ILocationManager mLocationManager; field in class:LocationProviderBase 119 mLocationManager = ILocationManager.Stub.asInterface(b); 137 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);
|