Home
last modified time | relevance | path

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

/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java202 private static boolean isBetterThan(Location locationA, Location locationB) { in isBetterThan() argument
206 if (locationB == null) { in isBetterThan()
212 …if (locationA.getElapsedRealtimeNanos() > locationB.getElapsedRealtimeNanos() + SWITCH_ON_FRESHNES… in isBetterThan()
222 if (!locationB.hasAccuracy()) { in isBetterThan()
225 return locationA.getAccuracy() < locationB.getAccuracy(); in isBetterThan()