Searched refs:mPrefDevListeners (Results 1 – 1 of 1) sorted by relevance
1890 if (mPrefDevListeners == null) { in addOnPreferredDevicesForStrategyChangedListener()1891 mPrefDevListeners = new ArrayList<>(); in addOnPreferredDevicesForStrategyChangedListener()1893 final int oldCbCount = mPrefDevListeners.size(); in addOnPreferredDevicesForStrategyChangedListener()1894 mPrefDevListeners.add(new PrefDevListenerInfo(listener, executor)); in addOnPreferredDevicesForStrategyChangedListener()1895 if (oldCbCount == 0 && mPrefDevListeners.size() > 0) { in addOnPreferredDevicesForStrategyChangedListener()1925 if (mPrefDevListeners.size() == 0) { in removeOnPreferredDevicesForStrategyChangedListener()1934 mPrefDevListeners = null; in removeOnPreferredDevicesForStrategyChangedListener()1947 private @Nullable ArrayList<PrefDevListenerInfo> mPrefDevListeners; field in AudioManager1970 if (mPrefDevListeners == null || mPrefDevListeners.size() == 0) { in dispatchPrefDevicesChanged()1973 prefDevListeners = (ArrayList<PrefDevListenerInfo>) mPrefDevListeners.clone(); in dispatchPrefDevicesChanged()[all …]