Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaRecorder.java1285 synchronized (mRoutingChangeListeners) { in handleMessage()
1287 : mRoutingChangeListeners.values()) { in handleMessage()
1366 if (mRoutingChangeListeners.size() == 0) { in enableNativeRoutingCallbacksLocked()
1378 NativeRoutingEventHandlerDelegate> mRoutingChangeListeners = new ArrayMap<>(); field in MediaRecorder
1391 synchronized (mRoutingChangeListeners) { in addOnRoutingChangedListener()
1392 if (listener != null && !mRoutingChangeListeners.containsKey(listener)) { in addOnRoutingChangedListener()
1394 mRoutingChangeListeners.put( in addOnRoutingChangedListener()
1409 synchronized (mRoutingChangeListeners) { in removeOnRoutingChangedListener()
1410 if (mRoutingChangeListeners.containsKey(listener)) { in removeOnRoutingChangedListener()
1411 mRoutingChangeListeners.remove(listener); in removeOnRoutingChangedListener()
DAudioRecord.java1422 if (mRoutingChangeListeners.size() == 0) { in testEnableNativeRoutingCallbacksLocked()
1432 if (mRoutingChangeListeners.size() == 0) { in testDisableNativeRoutingCallbacksLocked()
1447 NativeRoutingEventHandlerDelegate> mRoutingChangeListeners = new ArrayMap<>(); field in AudioRecord
1461 synchronized (mRoutingChangeListeners) { in addOnRoutingChangedListener()
1462 if (listener != null && !mRoutingChangeListeners.containsKey(listener)) { in addOnRoutingChangedListener()
1464 mRoutingChangeListeners.put( in addOnRoutingChangedListener()
1479 synchronized (mRoutingChangeListeners) { in removeOnRoutingChangedListener()
1480 if (mRoutingChangeListeners.containsKey(listener)) { in removeOnRoutingChangedListener()
1481 mRoutingChangeListeners.remove(listener); in removeOnRoutingChangedListener()
1548 synchronized (mRoutingChangeListeners) { in broadcastRoutingChange()
[all …]
DAudioTrack.java2828 if (mRoutingChangeListeners.size() == 0) { in testEnableNativeRoutingCallbacksLocked()
2838 if (mRoutingChangeListeners.size() == 0) { in testDisableNativeRoutingCallbacksLocked()
2853 NativeRoutingEventHandlerDelegate> mRoutingChangeListeners = new ArrayMap<>(); field in AudioTrack
2867 synchronized (mRoutingChangeListeners) { in addOnRoutingChangedListener()
2868 if (listener != null && !mRoutingChangeListeners.containsKey(listener)) { in addOnRoutingChangedListener()
2870 mRoutingChangeListeners.put( in addOnRoutingChangedListener()
2885 synchronized (mRoutingChangeListeners) { in removeOnRoutingChangedListener()
2886 if (mRoutingChangeListeners.containsKey(listener)) { in removeOnRoutingChangedListener()
2887 mRoutingChangeListeners.remove(listener); in removeOnRoutingChangedListener()
2954 synchronized (mRoutingChangeListeners) { in broadcastRoutingChange()
[all …]
DMediaPlayer2Impl.java1164 if (mRoutingChangeListeners.size() == 0) { in enableNativeRoutingCallbacksLocked()
1176 NativeRoutingEventHandlerDelegate> mRoutingChangeListeners = new ArrayMap<>(); field in MediaPlayer2Impl
1189 synchronized (mRoutingChangeListeners) { in addOnRoutingChangedListener()
1190 if (listener != null && !mRoutingChangeListeners.containsKey(listener)) { in addOnRoutingChangedListener()
1192 mRoutingChangeListeners.put( in addOnRoutingChangedListener()
1207 synchronized (mRoutingChangeListeners) { in removeOnRoutingChangedListener()
1208 if (mRoutingChangeListeners.containsKey(listener)) { in removeOnRoutingChangedListener()
1209 mRoutingChangeListeners.remove(listener); in removeOnRoutingChangedListener()
3110 synchronized (mRoutingChangeListeners) { in handleMessage()
3112 : mRoutingChangeListeners.values()) { in handleMessage()
DMediaPlayer.java1490 if (mRoutingChangeListeners.size() == 0) { in enableNativeRoutingCallbacksLocked()
1502 NativeRoutingEventHandlerDelegate> mRoutingChangeListeners = new ArrayMap<>(); field in MediaPlayer
1515 synchronized (mRoutingChangeListeners) { in addOnRoutingChangedListener()
1516 if (listener != null && !mRoutingChangeListeners.containsKey(listener)) { in addOnRoutingChangedListener()
1518 mRoutingChangeListeners.put( in addOnRoutingChangedListener()
1533 synchronized (mRoutingChangeListeners) { in removeOnRoutingChangedListener()
1534 if (mRoutingChangeListeners.containsKey(listener)) { in removeOnRoutingChangedListener()
1535 mRoutingChangeListeners.remove(listener); in removeOnRoutingChangedListener()
3585 synchronized (mRoutingChangeListeners) { in handleMessage()
3587 : mRoutingChangeListeners.values()) { in handleMessage()