Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DPatchCommandThread.cpp81 std::vector<wp<PatchCommandListener>> listenersCopy; in threadLoop() local
84 listenersCopy = mListeners; in threadLoop()
94 for (const auto& listener : listenersCopy) { in threadLoop()
108 for (const auto& listener : listenersCopy) { in threadLoop()
122 for (const auto& listener : listenersCopy) { in threadLoop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataCombineLatest.kt90 val listenersCopy = listeners.toSet() in addListener() constant
91 listenersCopy.forEach { it.onMediaDataLoaded(key, oldKey, data) } in addListener()
97 val listenersCopy = listeners.toSet() in remove() constant
98 listenersCopy.forEach { it.onMediaDataRemoved(key, userInitiated) } in remove()
DLegacyMediaDataFilterImpl.kt257 val listenersCopy = listeners in <lambda>() constant
264 listenersCopy.forEach { listener -> listener.onMediaDataRemoved(it, false) } in <lambda>()
271 listenersCopy.forEach { listener -> listener.onMediaDataLoaded(key, null, data) } in <lambda>()
DMediaDataFilterImpl.kt304 val listenersCopy = listeners in <lambda>() constant
314 listenersCopy.forEach { listener -> listener.onMediaDataRemoved(it, false) } in <lambda>()
329 listenersCopy.forEach { listener -> listener.onMediaDataLoaded(key, null, data) } in <lambda>()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsCheckingServiceImpl.java193 List<AppOpsModeChangedListener> listenersCopy; in setUidMode() local
219 listenersCopy = new ArrayList<>(mModeChangedListeners); in setUidMode()
222 for (int i = 0; i < listenersCopy.size(); i++) { in setUidMode()
223 listenersCopy.get(i).onUidModeChanged(uid, op, mode, persistentDeviceId); in setUidMode()
247 List<AppOpsModeChangedListener> listenersCopy; in setPackageMode() local
288 listenersCopy = new ArrayList<>(mModeChangedListeners); in setPackageMode()
291 for (int i = 0; i < listenersCopy.size(); i++) { in setPackageMode()
292 listenersCopy.get(i).onPackageModeChanged(packageName, userId, op, mode); in setPackageMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImpl.kt214 val listenersCopy = synchronized(lock) { ArrayList(listeners) } in dispatchChange() constant
215 mainExecutor.execute { listenersCopy.forEach(callback) } in dispatchChange()
/frameworks/native/services/sensorservice/
DSensorService.cpp1955 std::thread t([isActive, mySeq, listenersCopy = listeners]() { in notifyProximityStateLocked()
1958 for (auto& listener : listenersCopy) in notifyProximityStateLocked()
/frameworks/base/core/java/android/view/
DView.java25391 ArrayList<OnLayoutChangeListener> listenersCopy = in layout() local
25393 int numListeners = listenersCopy.size(); in layout()
25395 listenersCopy.get(i).onLayoutChange(this, l, t, r, b, oldL, oldT, oldR, oldB); in layout()