Home
last modified time | relevance | path

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

12

/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/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/core/java/android/companion/
DCompanionDeviceService.java177 public final void dispatchMessage(int messageId, int associationId, @NonNull byte[] message) { in dispatchMessage() method in CompanionDeviceService
180 companionDeviceManager.dispatchMessage(messageId, associationId, message); in dispatchMessage()
DICompanionDeviceManager.aidl65 void dispatchMessage(in int messageId, in int associationId, in byte[] message); in dispatchMessage() method
DCompanionDeviceManager.java792 public void dispatchMessage(int messageId, int associationId, @NonNull byte[] message) in dispatchMessage() method in CompanionDeviceManager
795 mService.dispatchMessage(messageId, associationId, message); in dispatchMessage()
/frameworks/base/core/java/android/os/
DTestLooperManager.java120 message.target.dispatchMessage(message); in execute()
201 mex.m.target.dispatchMessage(mex.m); in processMessage()
DHandler.java97 public void dispatchMessage(@NonNull Message msg) { in dispatchMessage() method in Handler
764 dispatchMessage(msg); in executeOrSendMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDevicePlaybackTest.java424 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingChange_otherDevice_ActiveSource_mediaSessionsPaused()
436 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingChange_otherDevice_InactiveSource_mediaSessionsNotPaused()
448 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingChange_sameDevice_ActiveSource_mediaSessionsNotPaused()
460 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingChange_sameDevice_InactiveSource_mediaSessionsNotPaused()
581 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingInformation_otherDevice_ActiveSource_mediaSessionsPaused()
592 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingInformation_otherDevice_InactiveSource_mediaSessionsNotPaused()
604 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingInformation_sameDevice_ActiveSource_mediaSessionsNotPaused()
616 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleRoutingInformation_sameDevice_InactiveSource_mediaSessionsNotPaused()
1107 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleActiveSource_otherDevice_ActiveSource_mediaSessionsPaused()
1118 mHdmiCecLocalDevicePlayback.dispatchMessage(message); in handleActiveSource_otherDevice_InactiveSource_mediaSessionsNotPaused()
[all …]
DHdmiControlServiceTest.java868 doReturn(Constants.ABORT_REFUSED).when(mPlaybackDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_broadcastMessage_returnsHandled()
870 .when(mAudioSystemDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_broadcastMessage_returnsHandled()
882 doReturn(Constants.NOT_HANDLED).when(mPlaybackDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDevicesDoNotHandleMessage_returnsUnhandled()
884 .when(mAudioSystemDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDevicesDoNotHandleMessage_returnsUnhandled()
896 doReturn(Constants.NOT_HANDLED).when(mPlaybackDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDeviceHandlesMessage_returnsHandled()
898 .when(mAudioSystemDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDeviceHandlesMessage_returnsHandled()
910 doReturn(Constants.NOT_HANDLED).when(mPlaybackDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDeviceReturnsFeatureAbort_returnsFeatureAbort()
912 .when(mAudioSystemDeviceSpy).dispatchMessage(message); in dispatchMessageToLocalDevice_localDeviceReturnsFeatureAbort_returnsFeatureAbort()
DDetectTvSystemAudioModeSupportActionTest.java73 mHdmiCecLocalDeviceAudioSystem.dispatchMessage( in SetUp()
DHdmiCecLocalDeviceTvTest.java300 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(textViewOn)).isEqualTo(Constants.HANDLED); in tvWakeOnOneTouchPlay_TextViewOn_Enabled()
314 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(imageViewOn)).isEqualTo(Constants.HANDLED); in tvWakeOnOneTouchPlay_ImageViewOn_Enabled()
328 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(textViewOn)).isEqualTo(Constants.HANDLED); in tvWakeOnOneTouchPlay_TextViewOn_Disabled()
342 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(imageViewOn)).isEqualTo(Constants.HANDLED); in tvWakeOnOneTouchPlay_ImageViewOn_Disabled()
357 assertThat(mHdmiCecLocalDeviceTv.dispatchMessage(textViewOn)).isEqualTo(Constants.HANDLED); in handleTextViewOn_Dreaming()
/frameworks/base/services/tests/servicestests/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/packages/SystemUI/tests/utils/src/com/android/systemui/utils/os/
DFakeHandler.java61 dispatchMessage(msg); in dispatchQueuedMessages()
/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/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()
/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/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/codec2/sfplugin/
DC2OMXNode.h77 status_t dispatchMessage(const omx_message &msg) override;
DOmx2IGraphicBufferSource.cpp81 mBase->dispatchMessage(msg); in dispatchDataSpaceChanged()
/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/backup/java/com/android/server/backup/internal/
DBackupHandler.java119 public void dispatchMessage(Message message) { in dispatchMessage() method in BackupHandler
133 super.dispatchMessage(message); in dispatchMessageInternal()
/frameworks/av/media/libmedia/include/media/
DIOMX.h180 virtual status_t dispatchMessage(const omx_message &msg) = 0;
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java209 msg.getTarget().dispatchMessage(msg); in dispatchNext()

12