Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioRecord.java1398 if (mRoutingChangeListeners.size() == 0) { in testEnableNativeRoutingCallbacksLocked()
1407 if (mRoutingChangeListeners.size() == 0) { in testDisableNativeRoutingCallbacksLocked()
1422 NativeRoutingEventHandlerDelegate> mRoutingChangeListeners = new ArrayMap<>(); field in AudioRecord
1436 synchronized (mRoutingChangeListeners) { in addOnRoutingChangedListener()
1437 if (listener != null && !mRoutingChangeListeners.containsKey(listener)) { in addOnRoutingChangedListener()
1439 mRoutingChangeListeners.put( in addOnRoutingChangedListener()
1454 synchronized (mRoutingChangeListeners) { in removeOnRoutingChangedListener()
1455 if (mRoutingChangeListeners.containsKey(listener)) { in removeOnRoutingChangedListener()
1456 mRoutingChangeListeners.remove(listener); in removeOnRoutingChangedListener()
1573 synchronized (mRoutingChangeListeners) { in broadcastRoutingChange()
[all …]
DAudioTrack.java2714 if (mRoutingChangeListeners.size() == 0) { in testEnableNativeRoutingCallbacksLocked()
2723 if (mRoutingChangeListeners.size() == 0) { in testDisableNativeRoutingCallbacksLocked()
2738 NativeRoutingEventHandlerDelegate> mRoutingChangeListeners = new ArrayMap<>(); field in AudioTrack
2752 synchronized (mRoutingChangeListeners) { in addOnRoutingChangedListener()
2753 if (listener != null && !mRoutingChangeListeners.containsKey(listener)) { in addOnRoutingChangedListener()
2755 mRoutingChangeListeners.put( in addOnRoutingChangedListener()
2770 synchronized (mRoutingChangeListeners) { in removeOnRoutingChangedListener()
2771 if (mRoutingChangeListeners.containsKey(listener)) { in removeOnRoutingChangedListener()
2772 mRoutingChangeListeners.remove(listener); in removeOnRoutingChangedListener()
2839 synchronized (mRoutingChangeListeners) { in broadcastRoutingChange()
[all …]