Searched refs:listenerList (Results 1 – 1 of 1) sorted by relevance
3199 List<Pair<OnMetadataChangedListener, Executor>> listenerList = in addOnMetadataChangedListener() local3201 if (listenerList == null) { in addOnMetadataChangedListener()3203 listenerList = new ArrayList<>(); in addOnMetadataChangedListener()3204 sMetadataListeners.put(device, listenerList); in addOnMetadataChangedListener()3207 if (listenerList.stream().anyMatch((pair) -> (pair.first.equals(listener)))) { in addOnMetadataChangedListener()3214 listenerList.add(listenerPair); in addOnMetadataChangedListener()3224 listenerList.remove(listenerPair); in addOnMetadataChangedListener()3225 if (listenerList.isEmpty()) { in addOnMetadataChangedListener()