Home
last modified time | relevance | path

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

/frameworks/base/telecomm/java/android/telecom/
DVideoCallImpl.java60 mHandler.obtainMessage(MessageHandler.MSG_RECEIVE_SESSION_MODIFY_REQUEST, in receiveSessionModifyRequest()
71 mHandler.obtainMessage(MessageHandler.MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args) in receiveSessionModifyResponse()
77 mHandler.obtainMessage(MessageHandler.MSG_HANDLE_CALL_SESSION_EVENT, event) in handleCallSessionEvent()
86 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget(); in changePeerDimensions()
91 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_VIDEO_QUALITY, videoQuality, 0) in changeVideoQuality()
97 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_CALL_DATA_USAGE, dataUsage) in changeCallDataUsage()
103 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_CAMERA_CAPABILITIES, in changeCameraCapabilities()
109 private final class MessageHandler extends Handler { class in VideoCallImpl
118 public MessageHandler(Looper looper) { in MessageHandler() method in VideoCallImpl.MessageHandler
200 mHandler = new MessageHandler(Looper.getMainLooper()); in registerCallback()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java80 private final MessageHandler mHandler;
136 mHandler = new MessageHandler(handler.getLooper()); in MediaSessionRecord()
414 mHandler.post(MessageHandler.MSG_DESTROYED); in onDestroy()
702 mHandler.post(MessageHandler.MSG_SEND_EVENT, event, in sendEvent()
715 mHandler.post(MessageHandler.MSG_UPDATE_SESSION_STATE); in setActive()
726 mHandler.post(MessageHandler.MSG_UPDATE_SESSION_STATE); in setFlags()
752 mHandler.post(MessageHandler.MSG_UPDATE_METADATA); in setMetadata()
766 mHandler.post(MessageHandler.MSG_UPDATE_PLAYBACK_STATE); in setPlaybackState()
774 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE); in setQueue()
780 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE_TITLE); in setQueueTitle()
[all …]
DMediaSessionService.java91 private final MessageHandler mHandler = new MessageHandler();
142 mHandler.post(MessageHandler.MSG_SESSIONS_CHANGED, record.getUserId(), 0); in updateSession()
169 mHandler.post(MessageHandler.MSG_SESSIONS_CHANGED, record.getUserId(), 0); in onSessionPlaystateChange()
306 mHandler.post(MessageHandler.MSG_SESSIONS_CHANGED, session.getUserId(), 0); in destroySessionLocked()
441 mHandler.post(MessageHandler.MSG_SESSIONS_CHANGED, userId, 0); in createSessionLocked()
1139 final class MessageHandler extends Handler { class in MediaSessionService
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaSessionCompat.java970 private final MessageHandler mHandler;
1027 mHandler = new MessageHandler(Looper.myLooper()); in MediaSessionImplBase()
1515 mHandler.post(MessageHandler.MSG_COMMAND, in sendCommand()
1524 mHandler.post(MessageHandler.MSG_MEDIA_BUTTON, mediaButton); in sendMediaButton()
1612 mHandler.post(MessageHandler.MSG_PLAY); in play()
1617 mHandler.post(MessageHandler.MSG_PLAY_MEDIA_ID, mediaId, extras); in playFromMediaId()
1622 mHandler.post(MessageHandler.MSG_PLAY_SEARCH, query, extras); in playFromSearch()
1627 mHandler.post(MessageHandler.MSG_PLAY_URI, uri, extras); in playFromUri()
1632 mHandler.post(MessageHandler.MSG_SKIP_TO_ITEM, id); in skipToQueueItem()
1637 mHandler.post(MessageHandler.MSG_PAUSE); in pause()
[all …]
DMediaControllerCompat.java341 private MessageHandler mHandler;
435 mHandler = new MessageHandler(handler.getLooper()); in setHandler()
466 mHandler.post(MessageHandler.MSG_EVENT, event, extras); in onEvent()
471 mHandler.post(MessageHandler.MSG_DESTROYED, null, null); in onSessionDestroyed()
476 mHandler.post(MessageHandler.MSG_UPDATE_PLAYBACK_STATE, state, null); in onPlaybackStateChanged()
481 mHandler.post(MessageHandler.MSG_UPDATE_METADATA, metadata, null); in onMetadataChanged()
486 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE, queue, null); in onQueueChanged()
491 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE_TITLE, title, null); in onQueueTitleChanged()
496 mHandler.post(MessageHandler.MSG_UPDATE_EXTRAS, extras, null); in onExtrasChanged()
506 mHandler.post(MessageHandler.MSG_UPDATE_VOLUME, pi, null); in onVolumeInfoChanged()
[all …]
/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()
978 private final static class MessageHandler extends Handler { class in MediaController
982 public MessageHandler(Looper looper, MediaController.Callback cb) { in MessageHandler() method in MediaController.MessageHandler
/frameworks/native/services/surfaceflinger/
DMessageQueue.h40 class MessageBase : public MessageHandler
63 class Handler : public MessageHandler {
DMessageQueue.cpp39 : MessageHandler() { in MessageBase()
DSurfaceFlinger.cpp3030 class GraphicProducerWrapper : public BBinder, public MessageHandler {
/frameworks/base/include/android_runtime/
Dandroid_view_InputQueue.h35 class InputQueue : public AInputQueue, public MessageHandler {
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp69 class InvokeAnimationListeners : public MessageHandler {
88 class RenderingException : public MessageHandler {
130 void sendMessage(const sp<MessageHandler>& handler) { in sendMessage()
/frameworks/base/libs/input/
DPointerController.h68 class PointerController : public PointerControllerInterface, public MessageHandler {
DSpriteController.h138 class SpriteController : public MessageHandler {
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp57 class CallbackHandler : public MessageHandler {
Dcom_android_server_hdmi_HdmiCecController.cpp121 class HdmiCecEventHandler : public MessageHandler {
Dcom_android_server_tv_TvInputHal.cpp264 class NotifyHandler : public MessageHandler {
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java129 private final MessageHandler mMessageHandler;
273 mMessageHandler = new MessageHandler(FgThread.get().getLooper()); in AccountManagerService()
3227 private class MessageHandler extends Handler { class in AccountManagerService
3228 MessageHandler(Looper looper) { in MessageHandler() method in AccountManagerService.MessageHandler