Home
last modified time | relevance | path

Searched refs:mMessageQueue (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/view/
DInputEventSender.java43 private MessageQueue mMessageQueue; field in InputEventSender
66 mMessageQueue = looper.getQueue(); in InputEventSender()
68 inputChannel, mMessageQueue); in InputEventSender()
102 mMessageQueue = null; in dispose()
DDisplayEventReceiver.java80 private MessageQueue mMessageQueue; field in DisplayEventReceiver
111 mMessageQueue = looper.getQueue(); in DisplayEventReceiver()
112 mReceiverPtr = nativeInit(new WeakReference<DisplayEventReceiver>(this), mMessageQueue, in DisplayEventReceiver()
137 mMessageQueue = null; in dispose()
DInputEventReceiver.java48 private MessageQueue mMessageQueue; field in InputEventReceiver
78 mMessageQueue = looper.getQueue(); in InputEventReceiver()
80 inputChannel, mMessageQueue); in InputEventReceiver()
119 mMessageQueue = null; in dispose()
/frameworks/base/core/jni/
Dandroid_view_DisplayEventReceiver.cpp67 sp<MessageQueue> mMessageQueue; member in android::NativeDisplayEventReceiver
86 mMessageQueue(messageQueue) { in NativeDisplayEventReceiver()
114 mMessageQueue->raiseAndClearException(env, "dispatchVsync"); in dispatchVsync()
129 mMessageQueue->raiseAndClearException(env, "dispatchHotplug"); in dispatchHotplug()
144 mMessageQueue->raiseAndClearException(env, "dispatchModeChanged"); in dispatchModeChanged()
175 mMessageQueue->raiseAndClearException(env, "dispatchModeChanged"); in dispatchFrameRateOverrides()
Dandroid_view_InputEventSender.cpp69 sp<MessageQueue> mMessageQueue; member in android::NativeInputEventSender
90 mMessageQueue(messageQueue), in NativeInputEventSender()
104 mMessageQueue->getLooper()->addFd(receiveFd, 0, ALOOPER_EVENT_INPUT, this, NULL); in initialize()
113 mMessageQueue->getLooper()->removeFd(mInputPublisher.getChannel()->getFd()); in dispose()
195 mMessageQueue->raiseAndClearException(env, "handleReceiveCallback"); in handleEvent()
Dandroid_view_InputEventReceiver.cpp106 sp<MessageQueue> mMessageQueue; member in android::NativeInputEventReceiver
128 mMessageQueue(messageQueue), in NativeInputEventReceiver()
188 mMessageQueue->getLooper()->addFd(fd, 0, events, this, nullptr); in setFdEvents()
190 mMessageQueue->getLooper()->removeFd(fd); in setFdEvents()
252 mMessageQueue->raiseAndClearException(env, "finishInputEvent"); in processOutboundEvents()
281 mMessageQueue->raiseAndClearException(env, "handleReceiveCallback"); in handleEvent()
Dandroid_hardware_SensorManager.cpp295 sp<MessageQueue> mMessageQueue; member in __anon9cee779b0111::Receiver
305 mMessageQueue = messageQueue; in Receiver()
322 mMessageQueue->getLooper()->removeFd( mSensorQueue->getFd() ); in destroy()
328 mMessageQueue->getLooper()->addFd(mSensorQueue->getFd(), 0, in onFirstRef()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionApplicationTest.cpp49 mFlinger.mutableEventQueue().reset(mMessageQueue); in TransactionApplicationTest()
87 mock::MessageQueue* mMessageQueue = new mock::MessageQueue(); member in android::TransactionApplicationTest
129 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in NotPlacedOnTransactionQueue()
160 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in PlaceOnTransactionQueue()
192 EXPECT_CALL(*mMessageQueue, invalidate()).Times(2); in BlockedByPriorTransaction()
194 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in BlockedByPriorTransaction()
258 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_F()
DSetFrameRateTest.cpp127 mock::MessageQueue* mMessageQueue = new mock::MessageQueue(); member in android::SetFrameRateTest
142 mFlinger.mutableEventQueue().reset(mMessageQueue); in SetFrameRateTest()
191 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_P()
202 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_P()
227 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_P()
266 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_P()
291 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_P()
330 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_P()
360 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_P()
391 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_P()
[all …]
DSurfaceFlinger_HotplugTest.cpp43 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_F()
91 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_F()
DSurfaceFlinger_CreateDisplayTest.cpp55 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_F()
90 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_F()
DSurfaceFlinger_DestroyDisplayTest.cpp44 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_F()
DTunnelModeEnabledReporterTest.cpp77 mock::MessageQueue* mMessageQueue = new mock::MessageQueue(); member in android::TunnelModeEnabledReporterTest
85 mFlinger.mutableEventQueue().reset(mMessageQueue); in TunnelModeEnabledReporterTest()
DSurfaceFlinger_OnInitializeDisplaysTest.cpp51 EXPECT_CALL(*mMessageQueue, invalidate()).Times(1); in TEST_F()
DCompositionTest.cpp98 mFlinger.mutableEventQueue().reset(mMessageQueue); in CompositionTest()
187 mock::MessageQueue* mMessageQueue = new mock::MessageQueue(); member in android::__anon9c7f1b470111::CompositionTest
530 EXPECT_CALL(*test->mMessageQueue, invalidate()).Times(1); in setupLatchedBuffer()
532 Mock::VerifyAndClearExpectations(test->mMessageQueue); in setupLatchedBuffer()
818 EXPECT_CALL(*test->mMessageQueue, postMessage(_)).Times(0); in createLayerWithFactory()
827 Mock::VerifyAndClearExpectations(test->mMessageQueue); in createLayerWithFactory()
932 EXPECT_CALL(*test->mMessageQueue, postMessage(_)).Times(1); in cleanupInjectedLayers()
DDisplayTransactionTest.cpp54 mFlinger.mutableEventQueue().reset(mMessageQueue); in DisplayTransactionTest()
DSurfaceFlinger_SetPowerModeInternalTest.cpp271 EXPECT_CALL(*test->mMessageQueue, invalidate()).Times(1); in setupRepaintEverythingCallExpectations()
DDisplayTransactionTestHelpers.h121 mock::MessageQueue* mMessageQueue = new mock::MessageQueue();
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp97 mMessageQueue.push_back(*it++); in handleMessages()
159 mMessageQueue.clear(); in dequeueMessageForNodeIgnoringBuffers()
161 List<omx_message>::iterator it = mMessageQueue.begin(); in dequeueMessageForNodeIgnoringBuffers()
162 while (it != mMessageQueue.end()) { in dequeueMessageForNodeIgnoringBuffers()
164 it = mMessageQueue.erase(it); in dequeueMessageForNodeIgnoringBuffers()
169 mMessageQueue.erase(it); in dequeueMessageForNodeIgnoringBuffers()
DOMXHarness.h92 List<omx_message> mMessageQueue; member
/frameworks/base/core/java/android/app/
DInstrumentation.java107 private MessageQueue mMessageQueue = null; field in Instrumentation
405 mMessageQueue.addIdleHandler(new Idler(recipient)); in waitForIdle()
417 mMessageQueue.addIdleHandler(idler); in waitForIdleSync()
1301 mMessageQueue.addIdleHandler(new ActivityGoing(aw)); in prePerformCreate()
2056 mMessageQueue = mThread.getLooper().myQueue(); in init()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt6741 Landroid/app/Instrumentation;->mMessageQueue:Landroid/os/MessageQueue;
63122 Landroid/view/DisplayEventReceiver;->mMessageQueue:Landroid/os/MessageQueue;
63643 Landroid/view/InputEventReceiver;->mMessageQueue:Landroid/os/MessageQueue;
63657 Landroid/view/InputEventSender;->mMessageQueue:Landroid/os/MessageQueue;