Searched refs:locationB (Results 1 – 1 of 1) sorted by relevance
202 private static boolean isBetterThan(Location locationA, Location locationB) { in isBetterThan() argument206 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()