Home
last modified time | relevance | path

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

1234

/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp49 MessageQueue::~MessageQueue() = default;
55 void MessageQueue::Handler::dispatchRefresh() { in dispatchRefresh()
57 mQueue.mLooper->sendMessage(this, Message(MessageQueue::REFRESH)); in dispatchRefresh()
61 void MessageQueue::Handler::dispatchInvalidate() { in dispatchInvalidate()
63 mQueue.mLooper->sendMessage(this, Message(MessageQueue::INVALIDATE)); in dispatchInvalidate()
67 void MessageQueue::Handler::handleMessage(const Message& message) { in handleMessage()
82 void MessageQueue::init(const sp<SurfaceFlinger>& flinger) { in init()
88 void MessageQueue::setEventThread(android::EventThread* eventThread, in setEventThread()
102 mLooper->addFd(mEventTube.getFd(), 0, Looper::EVENT_INPUT, MessageQueue::cb_eventReceiver, in setEventThread()
106 void MessageQueue::setEventConnection(const sp<EventThreadConnection>& connection) { in setEventConnection()
[all …]
DMessageQueue.h78 class MessageQueue {
85 virtual ~MessageQueue();
101 class MessageQueue final : public android::MessageQueue {
104 MessageQueue& mQueue;
108 explicit Handler(MessageQueue& queue) : mQueue(queue), mEventMask(0) {} in Handler()
127 ~MessageQueue() override = default;
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockMessageQueue.cpp23 MessageQueue::MessageQueue() = default;
24 MessageQueue::~MessageQueue() = default;
DMockMessageQueue.h27 class MessageQueue : public android::MessageQueue {
29 MessageQueue();
30 ~MessageQueue() override;
/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.cpp51 jobject receiverWeak, const sp<MessageQueue>& messageQueue, jint vsyncSource,
61 sp<MessageQueue> mMessageQueue;
72 jobject receiverWeak, const sp<MessageQueue>& messageQueue, jint vsyncSource, in NativeDisplayEventReceiver()
143 sp<MessageQueue> messageQueue = android_os_MessageQueue_getMessageQueue(env, messageQueueObj); in nativeInit()
Dandroid_view_InputEventSender.cpp53 const sp<MessageQueue>& messageQueue);
66 sp<MessageQueue> mMessageQueue;
82 const sp<MessageQueue>& messageQueue) : in NativeInputEventSender()
248 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/libs/net/common/device/android/net/util/
DFdEventsReader.java20 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_ERROR;
21 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
25 import android.os.MessageQueue;
79 private final MessageQueue mQueue;
101 protected MessageQueue getMessageQueue() { in getMessageQueue()
/frameworks/base/services/core/java/com/android/server/am/
DLmkdConnection.java19 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_ERROR;
20 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
27 import android.os.MessageQueue;
76 private final MessageQueue mMsgQueue;
107 LmkdConnection(MessageQueue msgQueue, LmkdConnectionListener listener) { in LmkdConnection()
146 new MessageQueue.OnFileDescriptorEventListener() { in connect()
/frameworks/av/media/libaudiohal/impl/
DStreamHalHidl.h36 using ::android::hardware::MessageQueue;
178 typedef MessageQueue<WriteCommand, hardware::kSynchronizedReadWrite> CommandMQ;
179 typedef MessageQueue<uint8_t, hardware::kSynchronizedReadWrite> DataMQ;
180 typedef MessageQueue<WriteStatus, hardware::kSynchronizedReadWrite> StatusMQ;
235 typedef MessageQueue<ReadParameters, hardware::kSynchronizedReadWrite> CommandMQ;
236 typedef MessageQueue<uint8_t, hardware::kSynchronizedReadWrite> DataMQ;
237 typedef MessageQueue<ReadStatus, hardware::kSynchronizedReadWrite> StatusMQ;
DEffectHalHidl.h27 using ::android::hardware::MessageQueue;
73 typedef MessageQueue<Result, hardware::kSynchronizedReadWrite> StatusMQ;
/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/base/core/java/android/view/
DInputEventSender.java21 import android.os.MessageQueue;
42 private MessageQueue mMessageQueue;
45 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
DDisplayEventReceiver.java21 import android.os.MessageQueue;
79 private MessageQueue mMessageQueue;
82 MessageQueue messageQueue, int vsyncSource, int configChanged); in nativeInit()
DInputEventReceiver.java21 import android.os.MessageQueue;
43 private MessageQueue mMessageQueue;
49 InputChannel inputChannel, MessageQueue messageQueue); in nativeInit()
DFrameMetricsObserver.java22 import android.os.MessageQueue;
36 private MessageQueue mMessageQueue;
/frameworks/base/core/java/android/os/
DTestLooperManager.java35 private final MessageQueue mQueue;
61 public MessageQueue getMessageQueue() { in getMessageQueue()
68 public MessageQueue getQueue() { in getQueue()
DLooper.java78 final MessageQueue mQueue;
158 final MessageQueue queue = me.mQueue; in loop()
295 public static @NonNull MessageQueue myQueue() { in myQueue()
300 mQueue = new MessageQueue(quitAllowed); in Looper()
389 public @NonNull MessageQueue getQueue() { in getQueue()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedActivity.java23 import android.os.MessageQueue;
65 private class Idler implements MessageQueue.IdleHandler
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.h46 using hardware::MessageQueue;
49 using CaptureResultMetadataQueue = MessageQueue<uint8_t, kSynchronizedReadWrite>;
50 using CaptureRequestMetadataQueue = MessageQueue<uint8_t, kSynchronizedReadWrite>;
/frameworks/av/media/bufferpool/2.0/include/bufferpool/
DBufferPoolTypes.h61 typedef android::hardware::MessageQueue<BufferStatusMessage, kSynchronizedReadWrite> BufferStatusQu…
64 typedef android::hardware::MessageQueue<BufferInvalidationMessage, kUnsynchronizedWrite>
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java25 import android.os.MessageQueue;
59 MESSAGE_QUEUE_MESSAGES_FIELD = MessageQueue.class.getDeclaredField("mMessages");
95 MessageQueue queue = mLooper.getQueue(); in getMessageLinkedList()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTcpKeepaliveController.java22 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_ERROR;
23 import static android.os.MessageQueue.OnFileDescriptorEventListener.EVENT_INPUT;
40 import android.os.MessageQueue;
81 private final MessageQueue mFdHandlerQueue;

1234