Searched refs:mListenersMap (Results 1 – 2 of 2) sorted by relevance
42 private final HashMap<IBinder, ICarRadioEventListener> mListenersMap = field in CarRadioService85 for (IBinder listenerBinder : mListenersMap.keySet()) { in release()90 mListenersMap.clear(); in release()113 if (mListenersMap.containsKey(listenerBinder)) { in registerListener()127 if (mListenersMap.isEmpty()) { in registerListener()131 mListenersMap.put(listenerBinder, listener); in registerListener()146 if (!mListenersMap.containsKey(listenerBinder)) { in unregisterListener()155 Object status = mListenersMap.remove(listenerBinder); in unregisterListenerLocked()163 if (mListenersMap.isEmpty()) { in unregisterListenerLocked()191 for (ICarRadioEventListener l : mListenersMap.values()) { in onEvent()
50 private final Map<IBinder, ICarPropertyEventListener> mListenersMap = new ConcurrentHashMap<>(); field in CarPropertyServiceBase99 mListenersMap.clear(); in release()120 if (mListenersMap.containsKey(listenerBinder)) { in registerListener()134 if (mListenersMap.isEmpty()) { in registerListener()138 mListenersMap.put(listenerBinder, listener); in registerListener()155 if (!mListenersMap.containsKey(listenerBinder)) { in unregisterListener()165 boolean found = mListenersMap.remove(listenerBinder) != null; in unregisterListenerLocked()172 if (mListenersMap.isEmpty()) { in unregisterListenerLocked()197 int size = mListenersMap.values().size(); in getListeners()198 return mListenersMap.values().toArray(new ICarPropertyEventListener[size]); in getListeners()