Searched refs:mListenerInfos (Results 1 – 1 of 1) sorted by relevance
2631 if (devRoleListeners.mListenerInfos == null) { in addOnDevRoleForCapturePresetChangedListener()2632 devRoleListeners.mListenerInfos = new ArrayList<>(); in addOnDevRoleForCapturePresetChangedListener()2634 final int oldCbCount = devRoleListeners.mListenerInfos.size(); in addOnDevRoleForCapturePresetChangedListener()2635 devRoleListeners.mListenerInfos.add(new DevRoleListenerInfo<T>(executor, listener)); in addOnDevRoleForCapturePresetChangedListener()2636 if (oldCbCount == 0 && devRoleListeners.mListenerInfos.size() > 0) { in addOnDevRoleForCapturePresetChangedListener()2673 if (devRoleListeners.mListenerInfos.size() == 0) { in removeOnDevRoleForCapturePresetChangedListener()2709 private @Nullable ArrayList<DevRoleListenerInfo<T>> mListenerInfos; field in AudioManager.DevRoleListeners2713 if (mListenerInfos == null) { in getDevRoleListenerInfo()2716 for (DevRoleListenerInfo<T> listenerInfo : mListenerInfos) { in getDevRoleListenerInfo()2733 mListenerInfos.remove(infoToRemove); in removeDevRoleListener()[all …]