Home
last modified time | relevance | path

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

/frameworks/av/packages/MediaComponents/tests/src/com/android/media/
DSessionPlaylistAgentTest.java64 private MyPlaylistEventCallback mEventCallback; field in SessionPlaylistAgentTest
245 mEventCallback = new MyPlaylistEventCallback(mWaitLock); in setUp()
246 mAgent.registerPlaylistEventCallback(mHandlerExecutor, mEventCallback); in setUp()
260 mEventCallback.clear(); in testSetAndGetShuflleMode()
264 assertTrue(mEventCallback.onShuffleModeChangedCalled); in testSetAndGetShuflleMode()
269 mEventCallback.clear(); in testSetAndGetShuflleMode()
273 assertTrue(mEventCallback.onShuffleModeChangedCalled); in testSetAndGetShuflleMode()
277 mEventCallback.clear(); in testSetAndGetShuflleMode()
281 assertTrue(mEventCallback.onShuffleModeChangedCalled); in testSetAndGetShuflleMode()
286 mEventCallback.clear(); in testSetAndGetShuflleMode()
[all …]
/frameworks/av/media/libmedia/
DJetPlayer.cpp32 mEventCallback(NULL), in JetPlayer()
125 mEventCallback = eventCallback; in setEventCallback()
269 if (mEventCallback) { in fireUpdateOnStatusChange()
270 mEventCallback( in fireUpdateOnStatusChange()
281 if (mEventCallback) { in fireUpdateOnStatusChange()
282 mEventCallback( in fireUpdateOnStatusChange()
292 if (mEventCallback) { in fireUpdateOnStatusChange()
293 mEventCallback(JetPlayer::JET_PAUSE_UPDATE, in fireUpdateOnStatusChange()
309 if (!mEventCallback) { in fireEventsFromJetQueue()
317 mEventCallback( in fireEventsFromJetQueue()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp148 : mEventCallback(nullptr), in FakeComposerClient()
168 mEventCallback = callback; in registerEventCallback()
169 if (mEventCallback) { in registerEventCallback()
170 mEventCallback->onHotplug(PRIMARY_DISPLAY, IComposerCallback::Connection::CONNECTED); in registerEventCallback()
176 mEventCallback = nullptr; in unregisterEventCallback()
180 if (mEventCallback) { in hotplugDisplay()
181 mEventCallback->onHotplug(display, state); in hotplugDisplay()
186 if (mEventCallback) { in refreshDisplay()
187 mEventCallback->onRefresh(display); in refreshDisplay()
505 if (mEventCallback) { in requestVSync()
[all …]
DFakeComposerClient.h152 EventCallback* mEventCallback; variable
/frameworks/av/include/media/
DJetPlayer.h76 jetevent_callback mEventCallback; variable
/frameworks/av/media/libmedia/include/media/
DJetPlayer.h76 jetevent_callback mEventCallback; variable
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java179 private final ManagedApplicationService.EventCallback mEventCallback field in VrManagerService
1191 sBinderChecker, /*isImportant*/true, retryType, mHandler, mEventCallback); in createVrListenerService()
1203 mHandler, /*disconnectCallback*/mEventCallback); in createVrCompositorService()