Searched refs:listenerSet (Results 1 – 1 of 1) sorted by relevance
96 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in addListener() local97 if (listenerSet == null) { in addListener()98 listenerSet = new CopyOnWriteArraySet<>(); in addListener()99 mListeners.put(recordedProgramId, listenerSet); in addListener()101 listenerSet.add(listener); in addListener()113 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in removeListener() local114 if (listenerSet == null) { in removeListener()117 listenerSet.remove(listener); in removeListener()118 if (listenerSet.isEmpty()) { in removeListener()124 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in notifyWatchedPositionChanged() local[all …]