/frameworks/base/services/core/java/com/android/server/location/ |
D | RemoteListenerHelper.java | 51 private final Map<IBinder, IdentifiedListener> mListenerMap = new HashMap<>(); field in RemoteListenerHelper 82 synchronized (mListenerMap) { in addListener() 83 if (mListenerMap.containsKey(binder)) { in addListener() 90 mListenerMap.put(binder, identifiedListener); in addListener() 120 synchronized (mListenerMap) { in removeListener() 121 mListenerMap.remove(listener.asBinder()); in removeListener() 122 if (mListenerMap.isEmpty()) { in removeListener() 140 synchronized (mListenerMap) { in foreach() 146 synchronized (mListenerMap) { in setSupported() 153 synchronized (mListenerMap) { in tryUpdateRegistrationWithService() [all …]
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanManager.java | 49 private final Map<Integer, ILowpanManagerListener> mListenerMap = new HashMap<>(); field in LowpanManager 293 synchronized (mListenerMap) { in registerCallback() 294 mListenerMap.put(Integer.valueOf(System.identityHashCode(cb)), listenerBinder); in registerCallback() 312 synchronized (mListenerMap) { in unregisterCallback() 313 listenerBinder = mListenerMap.get(hashCode); in unregisterCallback() 314 mListenerMap.remove(hashCode); in unregisterCallback()
|
D | LowpanInterface.java | 185 private final HashMap<Integer, ILowpanInterfaceListener> mListenerMap = new HashMap<>(); field in LowpanInterface 652 synchronized (mListenerMap) { in registerCallback() 653 mListenerMap.put(System.identityHashCode(cb), listenerBinder); in registerCallback() 680 synchronized (mListenerMap) { in unregisterCallback() 681 ILowpanInterfaceListener listenerBinder = mListenerMap.get(hashCode); in unregisterCallback() 684 mListenerMap.remove(hashCode); in unregisterCallback()
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 252 private final SparseArray mListenerMap = new SparseArray(); field in NsdManager 366 listener = mListenerMap.get(key); in handleMessage() 447 int valueIndex = mListenerMap.indexOfValue(listener); in putListener() 450 mListenerMap.put(key, listener); in putListener() 458 mListenerMap.remove(key); in removeListener() 466 int valueIndex = mListenerMap.indexOfValue(listener); in getListenerKey() 468 return mListenerMap.keyAt(valueIndex); in getListenerKey()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | AudioPlayerStateMonitor.java | 93 private final Map<OnAudioPlayerActiveStateChangedListener, MessageHandler> mListenerMap = field in AudioPlayerStateMonitor 129 mListenerMap.put(listener, new MessageHandler((handler == null) ? in registerListener() 139 mListenerMap.remove(listener); in unregisterListener() 216 for (MessageHandler messageHandler : mListenerMap.values()) { in sendAudioPlayerActiveStateChangedMessageLocked()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 1232 private final SparseArray mListenerMap = new SparseArray(); field in WifiScanner 1308 mListenerMap.put(key, listener); in putListener() 1316 Object listener = mListenerMap.get(key); in getListener() 1324 int index = mListenerMap.indexOfValue(listener); in getListenerKey() 1328 return mListenerMap.keyAt(index); in getListenerKey() 1336 Object listener = mListenerMap.get(key); in removeListener() 1337 mListenerMap.remove(key); in removeListener() 1349 mListenerMap.remove(key); in removeListener()
|
D | WifiManager.java | 1145 private final SparseArray mListenerMap = new SparseArray(); field in WifiManager 3642 mListenerMap.put(key, listener); in putListener() 3650 Object listener = mListenerMap.get(key); in removeListener() 3651 mListenerMap.remove(key); in removeListener()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 781 mListenerMap = new ArrayMap<>(); field in PowerManager 1824 Preconditions.checkArgument(!mListenerMap.containsKey(listener), in addThermalStatusListener() 1841 mListenerMap.put(listener, internalListener); in addThermalStatusListener() 1863 IThermalStatusListener internalListener = mListenerMap.get(listener); in removeThermalStatusListener() 1867 mListenerMap.remove(listener); in removeThermalStatusListener()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 716 private final Map<Integer, ListenerWithExecutor> mListenerMap = new ConcurrentHashMap<>(); 742 mListenerMap.put(what, new ListenerWithExecutor(executor, converter.apply(listener))); 746 mListenerMap.remove(what); 857 ListenerWithExecutor listener = md.mListenerMap.get(what);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 854 private HashMap<Integer, Object> mListenerMap = new HashMap<Integer, Object>(); field in WifiP2pManager.Channel 1095 mListenerMap.put(key, listener); in putListener() 1103 return mListenerMap.remove(key); in getListener()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 44918 Landroid/net/nsd/NsdManager;->mListenerMap:Landroid/util/SparseArray; 46738 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->mListenerMap:Ljava/util/HashMap; 47418 Landroid/net/wifi/WifiManager;->mListenerMap:Landroid/util/SparseArray; 47597 Landroid/net/wifi/WifiScanner;->mListenerMap:Landroid/util/SparseArray;
|