Searched refs:mListenerMap (Results 1 – 3 of 3) sorted by relevance
43 private final HashMap<IBinder, LinkedListener> mListenerMap = new HashMap<>(); field in RemoteListenerHelper59 synchronized (mListenerMap) { in addListener()60 if (mListenerMap.containsKey(binder)) { in addListener()72 mListenerMap.put(binder, deathListener); in addListener()102 synchronized (mListenerMap) { in removeListener()103 linkedListener = mListenerMap.remove(binder); in removeListener()104 if (mListenerMap.isEmpty()) { in removeListener()117 synchronized (mListenerMap) { in onGpsEnabledChanged()122 if (mListenerMap.isEmpty()) { in onGpsEnabledChanged()146 synchronized (mListenerMap) { in foreach()[all …]
216 private final SparseArray mListenerMap = new SparseArray(); field in NsdManager385 int valueIndex = mListenerMap.indexOfValue(listener); in putListener()392 mListenerMap.put(key, listener); in putListener()401 return mListenerMap.get(key); in getListener()414 mListenerMap.remove(key); in removeListener()421 int valueIndex = mListenerMap.indexOfValue(listener); in getListenerKey()423 return mListenerMap.keyAt(valueIndex); in getListenerKey()
677 private HashMap<Integer, Object> mListenerMap = new HashMap<Integer, Object>(); field in WifiP2pManager.Channel844 mListenerMap.put(key, listener); in putListener()852 return mListenerMap.remove(key); in getListener()