Home
last modified time | relevance | path

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

12

/frameworks/base/telecomm/java/android/telecom/
DVideoCallImpl.java75 mHandler.obtainMessage(MessageHandler.MSG_RECEIVE_SESSION_MODIFY_REQUEST, in receiveSessionModifyRequest()
90 mHandler.obtainMessage(MessageHandler.MSG_RECEIVE_SESSION_MODIFY_RESPONSE, args) in receiveSessionModifyResponse()
99 mHandler.obtainMessage(MessageHandler.MSG_HANDLE_CALL_SESSION_EVENT, event) in handleCallSessionEvent()
111 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_PEER_DIMENSIONS, args).sendToTarget(); in changePeerDimensions()
119 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_VIDEO_QUALITY, videoQuality, 0) in changeVideoQuality()
128 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_CALL_DATA_USAGE, dataUsage) in changeCallDataUsage()
137 mHandler.obtainMessage(MessageHandler.MSG_CHANGE_CAMERA_CAPABILITIES, in changeCameraCapabilities()
143 private final class MessageHandler extends Handler { class in VideoCallImpl
152 public MessageHandler(Looper looper) { in MessageHandler() method in VideoCallImpl.MessageHandler
247 mHandler = new MessageHandler(Looper.getMainLooper()); in registerCallback()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.h43 class Task : public MessageHandler {
74 virtual void postMessage(sp<MessageHandler>&&) = 0;
75 virtual void postMessageDelayed(sp<MessageHandler>&&, nsecs_t uptimeDelay) = 0;
86 class Handler : public MessageHandler {
148 void postMessage(sp<MessageHandler>&&) override;
149 void postMessageDelayed(sp<MessageHandler>&&, nsecs_t uptimeDelay) override;
DMessageQueue.cpp36 mQueue.mLooper->sendMessage(sp<MessageHandler>::fromExisting(this), Message()); in dispatchFrame()
170 void MessageQueue::postMessage(sp<MessageHandler>&& handler) { in postMessage()
174 void MessageQueue::postMessageDelayed(sp<MessageHandler>&& handler, nsecs_t uptimeDelay) { in postMessageDelayed()
179 struct ConfigureHandler : MessageHandler { in scheduleConfigure()
/frameworks/base/libs/hwui/platform/host/utils/
DMessageHandler.h25 class MessageHandler : public virtual android::RefBase {
27 virtual ~MessageHandler() override {} in ~MessageHandler()
/frameworks/base/libs/input/
DPointerControllerContext.cpp39 mHandler(sp<MessageHandler>::make()), in PointerControllerContext()
66 mLooper->removeMessages(mHandler, MessageHandler::MSG_INACTIVITY_TIMEOUT); in resetInactivityTimeoutLocked()
71 mLooper->sendMessageDelayed(timeout, mHandler, MessageHandler::MSG_INACTIVITY_TIMEOUT); in resetInactivityTimeoutLocked()
76 mLooper->removeMessages(mHandler, MessageHandler::MSG_INACTIVITY_TIMEOUT); in removeInactivityTimeout()
104 void PointerControllerContext::MessageHandler::handleMessage(const Message& message) { in handleMessage()
DPointerControllerContext.h120 class MessageHandler : public virtual android::MessageHandler {
168 sp<MessageHandler> mHandler;
DSpriteController.h140 class Handler : public virtual android::MessageHandler {
DPointerController.h99 friend PointerControllerContext::MessageHandler;
/frameworks/base/services/core/java/com/android/server/media/
DAudioPlayerStateMonitor.java64 private final static class MessageHandler extends Handler { class in AudioPlayerStateMonitor
69 MessageHandler(Looper looper, OnAudioPlayerActiveStateChangedListener listener) { in MessageHandler() method in AudioPlayerStateMonitor.MessageHandler
93 private final Map<OnAudioPlayerActiveStateChangedListener, MessageHandler> mListenerMap =
129 mListenerMap.put(listener, new MessageHandler((handler == null) ? in registerListener()
234 for (MessageHandler messageHandler : mListenerMap.values()) { in sendAudioPlayerActiveStateChangedMessageLocked()
DMediaSessionRecord.java174 private final MessageHandler mHandler;
309 mHandler = new MessageHandler(handlerLooper); in MediaSessionRecord()
608 mHandler.post(MessageHandler.MSG_DESTROYED); in close()
1168 mHandler.post(MessageHandler.MSG_SEND_EVENT, event,
1202 mHandler.post(MessageHandler.MSG_UPDATE_SESSION_STATE);
1221 mHandler.post(MessageHandler.MSG_UPDATE_SESSION_STATE);
1307 mHandler.post(MessageHandler.MSG_UPDATE_METADATA);
1362 mHandler.post(MessageHandler.MSG_UPDATE_PLAYBACK_STATE);
1370 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE);
1381 mHandler.post(MessageHandler.MSG_UPDATE_QUEUE);
[all …]
/frameworks/base/media/java/android/media/session/
DMediaController.java86 private final ArrayList<MessageHandler> mCallbacks = new ArrayList<MessageHandler>();
471 MessageHandler holder = new MessageHandler(handler.getLooper(), cb); in addCallbackLocked()
488 MessageHandler handler = mCallbacks.get(i); in removeCallbackLocked()
517 private MessageHandler getHandlerForCallbackLocked(Callback cb) { in getHandlerForCallbackLocked()
522 MessageHandler handler = mCallbacks.get(i); in getHandlerForCallbackLocked()
1183 private static final class MessageHandler extends Handler { class in MediaController
1187 MessageHandler(Looper looper, MediaController.Callback cb) { in MessageHandler() method in MediaController.MessageHandler
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java33 import android.testing.TestableLooper.MessageHandler;
70 MessageHandler messageHandler = mock(MessageHandler.class); in testMessageCallback()
/frameworks/base/tests/testables/src/android/testing/
DTestableLooper.java59 private MessageHandler mMessageHandler;
168 public void setMessageHandler(MessageHandler handler) {
494 public interface MessageHandler {
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_InputQueue.h35 class InputQueue : public AInputQueue, public MessageHandler {
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java81 private Handler mHandler = new MessageHandler(this);
83 private static class MessageHandler extends Handler { class in UninstallAppProgress
86 public MessageHandler(UninstallAppProgress activity) { in MessageHandler() method in UninstallAppProgress.MessageHandler
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h58 ON_CALL(*this, postMessage).WillByDefault([](sp<MessageHandler>&& handler) { in TestableScheduler()
66 MOCK_METHOD(void, postMessage, (sp<MessageHandler>&&), (override));
/frameworks/base/services/core/jni/tvinput/
DJTvInputHal.h149 class NotifyHandler : public MessageHandler {
160 class NotifyTvMessageHandler : public MessageHandler {
/frameworks/base/cmds/incidentd/src/
DIncidentService.h46 class ReportHandler : public MessageHandler {
/frameworks/native/libs/gui/include/gui/
DChoreographer.h70 class Choreographer : public DisplayEventDispatcher, public MessageHandler {
/frameworks/base/libs/hwui/
DRootRenderNode.cpp27 class FinishAndInvokeListener : public MessageHandler {
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_DisplayListCanvas.cpp48 class InvokeRunnableMessage : public MessageHandler {
DAnimatedImageDrawable.cpp187 class InvokeListener : public MessageHandler {
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp57 class CallbackHandler : public MessageHandler {
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java178 private final MessageHandler mMessageHandler;
192 new MessageHandler(mContext.getContentResolver(), IoThread.get().getLooper()); in TvInputManagerService()
544 .obtainMessage(MessageHandler.MSG_SWITCH_CONTENT_RESOLVER, in switchUser()
953 mMessageHandler.obtainMessage(MessageHandler.MSG_LOG_WATCH_END, args).sendToTarget(); in removeSessionStateLocked()
1879 mMessageHandler.obtainMessage(MessageHandler.MSG_LOG_WATCH_START, args) in tune()
3536 mMessageHandler.removeMessages(MessageHandler.MSG_UPDATE_HARDWARE_TIS_BINDING); in updateHardwareServiceConnectionDelayed()
3540 mMessageHandler.obtainMessage(MessageHandler.MSG_UPDATE_HARDWARE_TIS_BINDING, args); in updateHardwareServiceConnectionDelayed()
4387 private final class MessageHandler extends Handler { class in TvInputManagerService
4403 MessageHandler(ContentResolver contentResolver, Looper looper) { in MessageHandler() method in TvInputManagerService.MessageHandler
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumerNoResampling_test.cpp233 class InputConsumerMessageHandler : public MessageHandler {
338 sp<MessageHandler> mMessageHandler;

12