Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java49 private static final class ListenerRegistration { class in ShadowLocationManager
57ListenerRegistration(String provider, long minTime, float minDistance, Location locationAtCreation, in ListenerRegistration() method in ShadowLocationManager.ListenerRegistration
69 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 …]