Searched refs:ListenerRegistration (Results 1 – 1 of 1) sorted by relevance
49 private static final class ListenerRegistration { class in ShadowLocationManager57 …ListenerRegistration(String provider, long minTime, float minDistance, Location locationAtCreation, in ListenerRegistration() method in ShadowLocationManager.ListenerRegistration69 private final Map<String, List<ListenerRegistration>> locationListeners =253 List<ListenerRegistration> providerListeners = locationListeners.get(provider); in addLocationListener()259 providerListeners.add(new ListenerRegistration(provider, in addLocationListener()265 List<ListenerRegistration> providerListeners) { in removeDuplicates()266 final Iterator<ListenerRegistration> iterator = providerListeners.iterator(); in removeDuplicates()311 for (Map.Entry<String, List<ListenerRegistration>> entry : locationListeners.entrySet()) { in cleanupRemovedLocationListeners()312 List<ListenerRegistration> listenerRegistrations = entry.getValue(); in cleanupRemovedLocationListeners()420 for (Map.Entry<String, List<ListenerRegistration>> entry : locationListeners.entrySet()) { in getRequestLocationUpdateListeners()[all …]