Home
last modified time | relevance | path

Searched refs:dispatchMessage (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/tests/utils/testutils/java/com/android/server/accessibility/test/
DMessageCapturingHandler.java64 dispatchMessage(message); in sendOneMessage()
77 dispatchMessage(message); in sendLastMessage()
111 public void dispatchMessage(Message m) { in dispatchMessage() method in MessageCapturingHandler
116 super.dispatchMessage(m); in dispatchMessage()
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java198 inOrder.verify(handler).dispatchMessage(messageA); in testDelayedDispatchNoTimeMove()
199 inOrder.verify(handler).dispatchMessage(messageB); in testDelayedDispatchNoTimeMove()
217 inOrder.verify(handler).dispatchMessage(messageA); in testDelayedMessageDoesntSend()
218 inOrder.verify(handler).dispatchMessage(messageB); in testDelayedMessageDoesntSend()
219 verify(handler, never()).dispatchMessage(messageC); in testDelayedMessageDoesntSend()
238 inOrder.verify(handler).dispatchMessage(messageA); in testMessageSendsAfterDelay()
239 inOrder.verify(handler).dispatchMessage(messageB); in testMessageSendsAfterDelay()
240 inOrder.verify(handler).dispatchMessage(messageC); in testMessageSendsAfterDelay()
/frameworks/base/core/java/android/os/
DTestLooperManager.java121 message.target.dispatchMessage(message); in execute()
202 mex.m.target.dispatchMessage(mex.m); in processMessage()
DHandler.java98 public void dispatchMessage(@NonNull Message msg) { in dispatchMessage() method in Handler
773 dispatchMessage(msg); in executeOrSendMessage()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/internal/
DBackupHandlerTest.java124 public void dispatchMessage(Message msg) { in dispatchMessage() method in BackupHandlerTest.TestBackupHandler
126 super.dispatchMessage(msg); in dispatchMessage()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestHandler.java34 dispatchMessage(msg); in sendMessageAtTime()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDevicePlaybackTest.java498 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingChange_otherDevice_ActiveSource_mediaSessionsPaused()
510 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingChange_otherDevice_InactiveSource_mediaSessionsNotPaused()
522 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingChange_sameDevice_ActiveSource_mediaSessionsNotPaused()
534 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingChange_sameDevice_InactiveSource_mediaSessionsNotPaused()
657 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingInformation_otherDevice_ActiveSource_mediaSessionsPaused()
668 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingInformation_otherDevice_InactiveSource_mediaSessionsNotPaused()
680 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingInformation_sameDevice_ActiveSource_mediaSessionsNotPaused()
692 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingInformation_sameDevice_InactiveSource_mediaSessionsNotPaused()
1275 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleActiveSource_otherDevice_ActiveSource_mediaSessionsPaused()
1286 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleActiveSource_otherDevice_InactiveSource_mediaSessionsNotPaused()
[all …]
DDetectTvSystemAudioModeSupportActionTest.java79 mHdmiCecLocalDeviceAudioSystem.dispatchMessage( in SetUp()
DHdmiControlServiceTest.java1191 doReturn(Constants.ABORT_REFUSED).when(mPlaybackDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_broadcastMessage_returnsHandled()
1193 .when(mAudioSystemDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_broadcastMessage_returnsHandled()
1205 doReturn(Constants.NOT_HANDLED).when(mPlaybackDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDevicesDoNotHandleMessage_returnsUnhandled()
1207 .when(mAudioSystemDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDevicesDoNotHandleMessage_returnsUnhandled()
1219 doReturn(Constants.NOT_HANDLED).when(mPlaybackDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDeviceHandlesMessage_returnsHandled()
1221 .when(mAudioSystemDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDeviceHandlesMessage_returnsHandled()
1233 doReturn(Constants.NOT_HANDLED).when(mPlaybackDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDeviceReturnsFeatureAbort_returnsFeatureAbort()
1235 .when(mAudioSystemDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDeviceReturnsFeatureAbort_returnsFeatureAbort()
DHdmiCecLocalDeviceTvTest.java412 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(textViewOn)).isEqualTo(Constants.HANDLED); in tvWakeOnOneTouchPlay_TextViewOn_Enabled()
426 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(imageViewOn)).isEqualTo(Constants.HANDLED); in tvWakeOnOneTouchPlay_ImageViewOn_Enabled()
440 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(textViewOn)).isEqualTo(Constants.HANDLED); in tvWakeOnOneTouchPlay_TextViewOn_Disabled()
454 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(imageViewOn)).isEqualTo(Constants.HANDLED); in tvWakeOnOneTouchPlay_ImageViewOn_Disabled()
469 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(textViewOn)).isEqualTo(Constants.HANDLED); in handleTextViewOn_Dreaming()
2026 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(standbyMessage)) in handleStandby_fromActiveSource_standby()
2043 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(standbyMessage)) in handleStandby_fromNonActiveSource_noStandby()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/os/
DFakeHandler.java61 dispatchMessage(msg); in dispatchQueuedMessages()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxNode.cpp237 status_t LWOmxNode::dispatchMessage(const omx_message &lMsg) { in dispatchMessage() function in android::hardware::media::omx::V1_0::implementation::LWOmxNode
243 status_t status = toStatusT(mBase->dispatchMessage(tMsg)); in dispatchMessage()
419 Return<Status> TWOmxNode::dispatchMessage(const Message& tMsg) { in dispatchMessage() function in android::hardware::media::omx::V1_0::implementation::TWOmxNode
424 return toStatus(mBase->dispatchMessage(lMsg)); in dispatchMessage()
DWGraphicBufferSource.cpp75 if (!mOmxNode->dispatchMessage(tMsg).isOk()) { in dispatchDataSpaceChanged()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp234 status_t LWOmxNode::dispatchMessage(const omx_message &lMsg) { in dispatchMessage() function in android::hardware::media::omx::V1_0::utils::LWOmxNode
240 status_t status = toStatusT(mBase->dispatchMessage(tMsg)); in dispatchMessage()
416 Return<Status> TWOmxNode::dispatchMessage(const Message& tMsg) { in dispatchMessage() function in android::hardware::media::omx::V1_0::utils::TWOmxNode
421 return toStatus(mBase->dispatchMessage(lMsg)); in dispatchMessage()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWOmxNode.h105 status_t dispatchMessage(const omx_message &msg) override;
153 Return<Status> dispatchMessage(Message const& msg) override;
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxNode.h104 status_t dispatchMessage(const omx_message &msg) override;
152 Return<Status> dispatchMessage(Message const& msg) override;
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.h76 status_t dispatchMessage(const omx_message &msg) override;
DOmx2IGraphicBufferSource.cpp81 mBase->dispatchMessage(msg); in dispatchDataSpaceChanged()
/frameworks/base/core/java/com/android/internal/util/
DWakeupMessage.java133 mHandler.dispatchMessage(msg); in onAlarm()
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DTestHandler.java145 dispatchMessage(msg.message); in dispatch()
/frameworks/av/media/libmedia/
DIOMX.cpp351 virtual status_t dispatchMessage(const omx_message &msg) { in dispatchMessage() function in android::BpOMXNode
474 virtual status_t dispatchMessage(const omx_message &msg) { in dispatchMessage() function in android::HpOMXNode
475 return mBase->dispatchMessage(msg); in dispatchMessage()
814 err = dispatchMessage(msg); in onTransact()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DFileHashCacheTests.java147 dispatchMessage(msg); in sendMessageAtTime()
/frameworks/av/media/libmedia/include/media/
DIOMX.h180 virtual status_t dispatchMessage(const omx_message &msg) = 0;
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java120 public void dispatchMessage(Message message) { in dispatchMessage() method in BackupHandler
134 super.dispatchMessage(message); in dispatchMessageInternal()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java209 msg.getTarget().dispatchMessage(msg); in dispatchNext()

12