Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioManager.java7654 if (mCommDevListeners == null) { in addOnCommunicationDeviceChangedListener()
7655 mCommDevListeners = new ArrayList<>(); in addOnCommunicationDeviceChangedListener()
7657 final int oldCbCount = mCommDevListeners.size(); in addOnCommunicationDeviceChangedListener()
7658 mCommDevListeners.add(new CommDevListenerInfo(listener, executor)); in addOnCommunicationDeviceChangedListener()
7659 if (oldCbCount == 0 && mCommDevListeners.size() > 0) { in addOnCommunicationDeviceChangedListener()
7687 if (mCommDevListeners.size() == 0) { in removeOnCommunicationDeviceChangedListener()
7696 mCommDevListeners = null; in removeOnCommunicationDeviceChangedListener()
7708 private @Nullable ArrayList<CommDevListenerInfo> mCommDevListeners; field in AudioManager
7731 if (mCommDevListeners == null || mCommDevListeners.size() == 0) { in dispatchCommunicationDeviceChanged()
7734 commDevListeners = (ArrayList<CommDevListenerInfo>) mCommDevListeners.clone(); in dispatchCommunicationDeviceChanged()
[all …]