Searched refs:mLastLocation (Results 1 - 2 of 2) sorted by path

/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java201 private final HashMap<String, Location> mLastLocation = new HashMap<String, Location>(); field in class:LocationManagerService
203 // same as mLastLocation, but is not updated faster than LocationFudger.FASTEST_INTERVAL_MS.
569 mLastLocation.clear();
1266 mLastLocation.clear();
1731 location = mLastLocation.get(name);
2101 Location lastLocation = mLastLocation.get(provider);
2104 mLastLocation.put(provider, lastLocation);
2396 mLastLocation.put(name, null);
2423 mLastLocation.put(provider, null);
2557 for (Map.Entry<String, Location> entry : mLastLocation
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DClusterManager.java58 private Location mLastLocation = null; field in class:ClusterManager
113 if (mLastLocation != null) {
114 if (location.getTime() == mLastLocation.getTime()) {
118 long duration = (location.getTime() - mLastLocation.getTime()) / 1000;
128 float distance = mLocationClusters.get(i).distanceToCenter(mLastLocation);
138 mLocationClusters.get(bestClusterIndex).addSample(mLastLocation, duration);
141 LocationCluster cluster = new LocationCluster(mLastLocation, duration);
170 mLastLocation = location;
316 if (mLastLocation != null) {
320 if (cluster.distanceToCenter(mLastLocation) < SEMANTIC_CLUSTER_RADIU
[all...]

Completed in 172 milliseconds