Home
last modified time | relevance | path

Searched refs:mMetadataListeners (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipMediaController.java135 private final ArrayList<MetadataListener> mMetadataListeners = new ArrayList<>(); field in PipMediaController
193 if (!mMetadataListeners.contains(listener)) { in addMetadataListener()
194 mMetadataListeners.add(listener); in addMetadataListener()
204 mMetadataListeners.remove(listener); in removeMetadataListener()
316 if (!mMetadataListeners.isEmpty()) { in notifyMetadataChanged()
317 mMetadataListeners.forEach(l -> l.onMediaMetadataChanged(metadata)); in notifyMetadataChanged()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java739 mMetadataListeners = new HashMap<>(); field in BluetoothAdapter
753 synchronized (mMetadataListeners) {
754 if (mMetadataListeners.containsKey(device)) {
756 mMetadataListeners.get(device);
3234 synchronized (mMetadataListeners) {
3235 mMetadataListeners.forEach((device, pair) -> {
4008 synchronized (mMetadataListeners) { in addOnMetadataChangedListener()
4010 mMetadataListeners.get(device); in addOnMetadataChangedListener()
4014 mMetadataListeners.put(device, listenerList); in addOnMetadataChangedListener()
4038 mMetadataListeners.remove(device); in addOnMetadataChangedListener()
[all …]