Home
last modified time | relevance | path

Searched refs:MessageQueue (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/native/services/surfaceflinger/
DMessageQueue.cpp51 void MessageQueue::Handler::dispatchRefresh() { in dispatchRefresh()
53 mQueue.mLooper->sendMessage(this, Message(MessageQueue::REFRESH)); in dispatchRefresh()
57 void MessageQueue::Handler::dispatchInvalidate() { in dispatchInvalidate()
59 mQueue.mLooper->sendMessage(this, Message(MessageQueue::INVALIDATE)); in dispatchInvalidate()
63 void MessageQueue::Handler::handleMessage(const Message& message) { in handleMessage()
78 MessageQueue::MessageQueue() in MessageQueue() function in android::MessageQueue
82 MessageQueue::~MessageQueue() { in ~MessageQueue()
85 void MessageQueue::init(const sp<SurfaceFlinger>& flinger) in init()
92 void MessageQueue::setEventThread(const sp<EventThread>& eventThread) in setEventThread()
106 MessageQueue::cb_eventReceiver, this); in setEventThread()
[all …]
DMessageQueue.h80 class MessageQueue {
87 MessageQueue& mQueue;
90 explicit Handler(MessageQueue& queue) : mQueue(queue), mEventMask(0) { } in Handler()
115 MessageQueue();
116 ~MessageQueue();
/frameworks/base/core/jni/
Dandroid_os_MessageQueue.h25 class MessageQueue : public virtual RefBase {
58 MessageQueue();
59 virtual ~MessageQueue();
66 extern sp<MessageQueue> android_os_MessageQueue_getMessageQueue(
Dandroid_os_MessageQueue.cpp41 class NativeMessageQueue : public MessageQueue, public LooperCallback {
61 MessageQueue::MessageQueue() { in MessageQueue() function in android::MessageQueue
64 MessageQueue::~MessageQueue() { in ~MessageQueue()
67 bool MessageQueue::raiseAndClearException(JNIEnv* env, const char* msg) { in raiseAndClearException()
167 sp<MessageQueue> android_os_MessageQueue_getMessageQueue(JNIEnv* env, jobject messageQueueObj) { in android_os_MessageQueue_getMessageQueue()
Dandroid_view_DisplayEventReceiver.cpp50 jobject receiverWeak, const sp<MessageQueue>& messageQueue, jint vsyncSource);
59 sp<MessageQueue> mMessageQueue;
68 jobject receiverWeak, const sp<MessageQueue>& messageQueue, jint vsyncSource) : in NativeDisplayEventReceiver()
118 sp<MessageQueue> messageQueue = android_os_MessageQueue_getMessageQueue(env, messageQueueObj); in nativeInit()
Dandroid_view_InputEventSender.cpp56 const sp<MessageQueue>& messageQueue);
69 sp<MessageQueue> mMessageQueue;
84 const sp<MessageQueue>& messageQueue) : in NativeInputEventSender()
248 sp<MessageQueue> messageQueue = android_os_MessageQueue_getMessageQueue(env, messageQueueObj); in nativeInit()
Dandroid_view_InputEventReceiver.cpp54 const sp<MessageQueue>& messageQueue);
73 sp<MessageQueue> mMessageQueue;
91 const sp<MessageQueue>& messageQueue) : in NativeInputEventReceiver()
344 sp<MessageQueue> messageQueue = android_os_MessageQueue_getMessageQueue(env, messageQueueObj); in nativeInit()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestHandlerThread.java23 import android.os.MessageQueue;
88 private final MessageQueue.IdleHandler mIdleHandler = new MessageQueue.IdleHandler() {
99 MessageQueue queue = handler.getLooper().getQueue(); in waitUntilIdle()
/frameworks/av/media/libaudiohal/
DStreamHalHidl.h36 using ::android::hardware::MessageQueue;
171 typedef MessageQueue<WriteCommand, hardware::kSynchronizedReadWrite> CommandMQ;
172 typedef MessageQueue<uint8_t, hardware::kSynchronizedReadWrite> DataMQ;
173 typedef MessageQueue<WriteStatus, hardware::kSynchronizedReadWrite> StatusMQ;
215 typedef MessageQueue<ReadParameters, hardware::kSynchronizedReadWrite> CommandMQ;
216 typedef MessageQueue<uint8_t, hardware::kSynchronizedReadWrite> DataMQ;
217 typedef MessageQueue<ReadStatus, hardware::kSynchronizedReadWrite> StatusMQ;
DEffectHalHidl.h31 using ::android::hardware::MessageQueue;
71 typedef MessageQueue<
/frameworks/base/core/java/android/os/
DLooper.java74 final MessageQueue mQueue;
134 final MessageQueue queue = me.mQueue; in loop()
212 public static @NonNull MessageQueue myQueue() { in myQueue()
217 mQueue = new MessageQueue(quitAllowed); in Looper()
301 public @NonNull MessageQueue getQueue() { in getQueue()
DTestLooperManager.java35 private final MessageQueue mQueue;
61 public MessageQueue getMessageQueue() { in getMessageQueue()
68 public MessageQueue getQueue() { in getQueue()
DHandler.java624 MessageQueue queue = mQueue; in sendMessageAtTime()
647 MessageQueue queue = mQueue; in sendMessageAtFrontOfQueue()
657 private boolean enqueueMessage(MessageQueue queue, Message msg, long uptimeMillis) { in enqueueMessage()
794 final MessageQueue mQueue;
/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java20 import android.os.MessageQueue;
63 private MessageQueue mMessageQueue;
66 MessageQueue messageQueue, int vsyncSource); in nativeInit()
DInputEventSender.java20 import android.os.MessageQueue;
41 private MessageQueue mMessageQueue;
44 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
DInputEventReceiver.java20 import android.os.MessageQueue;
42 private MessageQueue mMessageQueue;
48 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
DFrameMetricsObserver.java21 import android.os.MessageQueue;
34 private MessageQueue mMessageQueue;
DInputQueue.java20 import android.os.MessageQueue;
44 MessageQueue messageQueue); in nativeInit()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DEditTextTypeActivity.java21 import android.os.MessageQueue;
62 MessageQueue.IdleHandler handler = new MessageQueue.IdleHandler() { in onCreate()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DMessageThreadUtil.java32 final MessageQueue mQueue = new MessageQueue(); in getMainThreadProxy()
88 final MessageQueue mQueue = new MessageQueue(); in getBackgroundProxy()
231 static class MessageQueue {
/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedActivity.java23 import android.os.MessageQueue;
65 private class Idler implements MessageQueue.IdleHandler
DTestedScreen.java24 import android.os.MessageQueue;
110 private class Idler implements MessageQueue.IdleHandler {
DLocalDialog.java25 import android.os.MessageQueue;
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java23 import android.os.MessageQueue;
56 MESSAGE_QUEUE_MESSAGES_FIELD = MessageQueue.class.getDeclaredField("mMessages");
88 MessageQueue queue = mLooper.getQueue(); in getMessageLinkedList()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestCase.java25 import android.os.MessageQueue;
124 public static final class Idler implements MessageQueue.IdleHandler {

123