Home
last modified time | relevance | path

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

/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java66 MessageHandler messageHandler = mock(MessageHandler.class); in testMessageCallback() local
67 when(messageHandler.onMessageHandled(any())).thenReturn(false); in testMessageCallback()
68 mTestableLooper.setMessageHandler(messageHandler); in testMessageCallback()
75 verify(messageHandler).onMessageHandled(eq(m)); in testMessageCallback()
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp138 status_t MessageQueue::postMessage(const sp<MessageBase>& messageHandler, nsecs_t relTime) { in postMessage() argument
141 mLooper->sendMessageDelayed(relTime, messageHandler, dummyMessage); in postMessage()
143 mLooper->sendMessage(messageHandler, dummyMessage); in postMessage()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBidirectionalAsyncChannelServer.java46 final Handler messageHandler) { in BidirectionalAsyncChannelServer() argument
75 messageHandler.handleMessage(msg); in BidirectionalAsyncChannelServer()
/frameworks/base/services/core/java/com/android/server/media/
DAudioPlayerStateMonitor.java216 for (MessageHandler messageHandler : mListenerMap.values()) { in sendAudioPlayerActiveStateChangedMessageLocked()
217 messageHandler.sendAudioPlayerActiveStateChangedMessage(config, isRemoved); in sendAudioPlayerActiveStateChangedMessageLocked()