Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioManager.java7831 private final ArrayMap<AudioDeviceCallback, NativeEventHandlerDelegate> mDeviceCallbacks = field in AudioManager
8058 synchronized (mDeviceCallbacks) { in registerAudioDeviceCallback()
8059 if (callback != null && !mDeviceCallbacks.containsKey(callback)) { in registerAudioDeviceCallback()
8060 if (mDeviceCallbacks.size() == 0) { in registerAudioDeviceCallback()
8068 mDeviceCallbacks.put(callback, delegate); in registerAudioDeviceCallback()
8081 synchronized (mDeviceCallbacks) { in unregisterAudioDeviceCallback()
8082 if (mDeviceCallbacks.containsKey(callback)) { in unregisterAudioDeviceCallback()
8083 mDeviceCallbacks.remove(callback); in unregisterAudioDeviceCallback()
8084 if (mDeviceCallbacks.size() == 0) { in unregisterAudioDeviceCallback()
8293 for (int i = 0; i < mDeviceCallbacks.size(); i++) { in broadcastDeviceListChange_sync()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24299 Landroid/media/AudioManager;->mDeviceCallbacks:Landroid/util/ArrayMap;