Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DWindowInfosListenerInvokerTest.cpp49 gui::WindowInfosListenerInfo listenerInfo; in TEST_F() local
55 listenerInfo.windowInfosPublisher in TEST_F()
57 listenerInfo.listenerId); in TEST_F()
59 &listenerInfo); in TEST_F()
80 mInvoker->addWindowInfosListener(sp<Listener>::make([&, &listenerInfo = listenerInfos[i]]( in TEST_F()
89 listenerInfo.windowInfosPublisher in TEST_F()
91 listenerInfo in TEST_F()
114 gui::WindowInfosListenerInfo listenerInfo; in TEST_F() local
120 &listenerInfo); in TEST_F()
136 listenerInfo.windowInfosPublisher->ackWindowInfosReceived(0, listenerInfo.listenerId); in TEST_F()
[all …]
/frameworks/native/libs/gui/
DWindowInfosListenerReporter.cpp42 gui::WindowInfosListenerInfo listenerInfo; in addWindowInfosListener() local
43 binder::Status s = surfaceComposer->addWindowInfosListener(this, &listenerInfo); in addWindowInfosListener()
46 mWindowInfosPublisher = std::move(listenerInfo.windowInfosPublisher); in addWindowInfosListener()
47 mListenerId = listenerInfo.listenerId; in addWindowInfosListener()
118 gui::WindowInfosListenerInfo listenerInfo; in reconnect() local
119 composerService->addWindowInfosListener(this, &listenerInfo); in reconnect()
120 mWindowInfosPublisher = std::move(listenerInfo.windowInfosPublisher); in reconnect()
121 mListenerId = listenerInfo.listenerId; in reconnect()
/frameworks/base/media/java/android/media/
DAudioDeviceVolumeManager.java171 for (ListenerInfo listenerInfo : volumeListeners) { in dispatchDeviceVolumeChanged()
172 if (listenerInfo.mDevice.equalTypeAddress(device)) { in dispatchDeviceVolumeChanged()
173 listenerInfo.mExecutor.execute( in dispatchDeviceVolumeChanged()
174 () -> listenerInfo.mListener.onAudioDeviceVolumeChanged(device, vol)); in dispatchDeviceVolumeChanged()
187 for (ListenerInfo listenerInfo : volumeListeners) { in dispatchDeviceVolumeAdjusted()
188 if (listenerInfo.mDevice.equalTypeAddress(device)) { in dispatchDeviceVolumeAdjusted()
189 listenerInfo.mExecutor.execute( in dispatchDeviceVolumeAdjusted()
190 () -> listenerInfo.mListener.onAudioDeviceVolumeAdjusted(device, vol, in dispatchDeviceVolumeAdjusted()
316 final ListenerInfo listenerInfo = new ListenerInfo( in baseSetDeviceAbsoluteMultiVolumeBehavior() local
329 mDeviceVolumeListeners.add(listenerInfo); in baseSetDeviceAbsoluteMultiVolumeBehavior()
DAudioManager.java2716 for (DevRoleListenerInfo<T> listenerInfo : mListenerInfos) { in getDevRoleListenerInfo()
2717 if (listenerInfo.mListener == listener) { in getDevRoleListenerInfo()
2718 return listenerInfo; in getDevRoleListenerInfo()