Home
last modified time | relevance | path

Searched refs:MessageHandler (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/telecomm/java/android/telecom/
DVideoCallImpl.java67 mHandler.obtainMessage(MessageHandler.MSG_RECEIVE_SESSION_MODIFY_REQUEST, in receiveSessionModifyRequest()
82 mHandler.obtainMessage(MessageHandler.MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args) in receiveSessionModifyResponse()
91 mHandler.obtainMessage(MessageHandler.MSG_HANDLE_CALL_SESSION_EVENT, event) in handleCallSessionEvent()
103 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget(); in changePeerDimensions()
111 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_VIDEO_QUALITY, videoQuality, 0) in changeVideoQuality()
120 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_CALL_DATA_USAGE, dataUsage) in changeCallDataUsage()
129 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_CAMERA_CAPABILITIES, in changeCameraCapabilities()
135 private final class MessageHandler extends Handler { class in VideoCallImpl
144 public MessageHandler(Looper looper) { in MessageHandler() method in VideoCallImpl.MessageHandler
233 mHandler = new MessageHandler(Looper.getMainLooper()); in registerCallback()
[all …]
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaSessionCompat.java1819 private MessageHandler mHandler;
1890 mHandler = new MessageHandler(handler.getLooper()); in setCallback()
2492 postToHandler(MessageHandler.MSG_COMMAND, in sendCommand()
2501 postToHandler(MessageHandler.MSG_MEDIA_BUTTON, mediaButton); in sendMediaButton()
2589 postToHandler(MessageHandler.MSG_PREPARE); in prepare()
2594 postToHandler(MessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in prepareFromMediaId()
2599 postToHandler(MessageHandler.MSG_PREPARE_SEARCH, query, extras); in prepareFromSearch()
2604 postToHandler(MessageHandler.MSG_PREPARE_URI, uri, extras); in prepareFromUri()
2609 postToHandler(MessageHandler.MSG_PLAY); in play()
2614 postToHandler(MessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); in playFromMediaId()
[all …]
DMediaControllerCompat.java598 MessageHandler mHandler;
734 mHandler = new MessageHandler(handler.getLooper()); in setHandler()
800 mHandler.post(MessageHandler.MSG_EVENT, event, extras); in onEvent()
805 mHandler.post(MessageHandler.MSG_DESTROYED, null, null); in onSessionDestroyed()
810 mHandler.post(MessageHandler.MSG_UPDATE_PLAYBACK_STATE, state, null); in onPlaybackStateChanged()
815 mHandler.post(MessageHandler.MSG_UPDATE_METADATA, metadata, null); in onMetadataChanged()
820 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE, queue, null); in onQueueChanged()
825 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE_TITLE, title, null); in onQueueTitleChanged()
830 mHandler.post(MessageHandler.MSG_UPDATE_CAPTIONING_ENABLED, enabled, null); in onCaptioningEnabledChanged()
835 mHandler.post(MessageHandler.MSG_UPDATE_REPEAT_MODE, repeatMode, null); in onRepeatModeChanged()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java76 private final MessageHandler mHandler;
134 mHandler = new MessageHandler(handlerLooper); in MediaSessionRecord()
418 mHandler.post(MessageHandler.MSG_DESTROYED); in onDestroy()
751 mHandler.post(MessageHandler.MSG_SEND_EVENT, event, in sendEvent()
769 mHandler.post(MessageHandler.MSG_UPDATE_SESSION_STATE); in setActive()
780 mHandler.post(MessageHandler.MSG_UPDATE_SESSION_STATE); in setFlags()
812 mHandler.post(MessageHandler.MSG_UPDATE_METADATA); in setMetadata()
830 mHandler.post(MessageHandler.MSG_UPDATE_PLAYBACK_STATE); in setPlaybackState()
838 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE); in setQueue()
844 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE_TITLE); in setQueueTitle()
[all …]
DMediaSessionService.java106 private final MessageHandler mHandler = new MessageHandler();
1191 MessageHandler.MSG_VOLUME_INITIAL_DOWN, in dispatchVolumeKeyEvent()
1196 mHandler.removeMessages(MessageHandler.MSG_VOLUME_INITIAL_DOWN); in dispatchVolumeKeyEvent()
1206 mHandler.removeMessages(MessageHandler.MSG_VOLUME_INITIAL_DOWN); in dispatchVolumeKeyEvent()
1679 final class MessageHandler extends Handler { class in MediaSessionService
/frameworks/base/media/java/android/media/session/
DMediaController.java73 private final ArrayList<MessageHandler> mCallbacks = new ArrayList<MessageHandler>();
450 MessageHandler holder = new MessageHandler(handler.getLooper(), cb); in addCallbackLocked()
467 MessageHandler handler = mCallbacks.get(i); in removeCallbackLocked()
485 private MessageHandler getHandlerForCallbackLocked(Callback cb) { in getHandlerForCallbackLocked()
490 MessageHandler handler = mCallbacks.get(i); in getHandlerForCallbackLocked()
1067 private final static class MessageHandler extends Handler { class in MediaController
1071 public MessageHandler(Looper looper, MediaController.Callback cb) { in MessageHandler() method in MediaController.MessageHandler
/frameworks/native/services/surfaceflinger/
DMessageQueue.h41 class MessageBase : public MessageHandler
64 class Handler : public MessageHandler {
DMessageQueue.cpp38 : MessageHandler() { in MessageBase()
DSurfaceFlinger_hwc1.cpp3576 class GraphicProducerWrapper : public BBinder, public MessageHandler {
DSurfaceFlinger.cpp3975 class GraphicProducerWrapper : public BBinder, public MessageHandler {
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java34 import android.testing.TestableLooper.MessageHandler;
63 MessageHandler messageHandler = mock(MessageHandler.class); in testMessageCallback()
/frameworks/base/tests/testables/src/android/testing/
DTestableLooper.java46 private MessageHandler mMessageHandler;
104 public void setMessageHandler(MessageHandler handler) { in setMessageHandler()
322 public interface MessageHandler { interface in TestableLooper
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_InputQueue.h35 class InputQueue : public AInputQueue, public MessageHandler {
/frameworks/base/cmds/incidentd/src/
DIncidentService.h51 class ReportHandler : public MessageHandler
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp85 class InvokeAnimationListeners : public MessageHandler {
104 class FinishAndInvokeListener : public MessageHandler {
129 class RenderingException : public MessageHandler {
191 void sendMessage(const sp<MessageHandler>& handler) { in sendMessage()
195 void sendMessageDelayed(const sp<MessageHandler>& handler, nsecs_t delayInMs) { in sendMessageDelayed()
450 class NotifyHandler : public MessageHandler {
Dandroid_view_DisplayListCanvas.cpp54 class InvokeRunnableMessage : public MessageHandler {
/frameworks/base/libs/input/
DPointerController.h79 class PointerController : public PointerControllerInterface, public MessageHandler,
DSpriteController.h138 class SpriteController : public MessageHandler {
/frameworks/base/native/android/
Dchoreographer.cpp50 class Choreographer : public DisplayEventDispatcher, public MessageHandler {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java55 import android.testing.TestableLooper.MessageHandler;
138 TestableLooper.get(this).setMessageHandler(new MessageHandler() { in setup()
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp57 class CallbackHandler : public MessageHandler {
Dcom_android_server_hdmi_HdmiCecController.cpp108 class HdmiCecEventHandler : public MessageHandler {
Dcom_android_server_tv_TvInputHal.cpp282 class NotifyHandler : public MessageHandler {
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java176 final MessageHandler mHandler;
277 mHandler = new MessageHandler(injector.getMessageHandlerLooper()); in AccountManagerService()
4996 class MessageHandler extends Handler {
4997 MessageHandler(Looper looper) {
/frameworks/base/services/
Dprofile-classes3778 Lcom/android/server/accounts/AccountManagerService$MessageHandler;
4582 Lcom/android/server/media/MediaSessionRecord$MessageHandler;
4586 Lcom/android/server/media/MediaSessionService$MessageHandler;

12