Searched refs:mConsumer (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
D | InputPublisherAndConsumer_test.cpp | 34 InputConsumer* mConsumer; member in android::InputPublisherAndConsumerTest 42 mConsumer = new InputConsumer(clientChannel); in SetUp() 51 if (mConsumer) { in TearDown() 52 delete mConsumer; in TearDown() 53 mConsumer = NULL; in TearDown() 66 EXPECT_EQ(clientChannel.get(), mConsumer->getChannel().get()); in TEST_F() 91 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); in PublishAndConsumeKeyEvent() 113 status = mConsumer->sendFinishedSignal(seq, true); in PublishAndConsumeKeyEvent() 174 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); in PublishAndConsumeMotionEvent() 228 status = mConsumer->sendFinishedSignal(seq, false); in PublishAndConsumeMotionEvent()
|
/frameworks/base/include/android_runtime/ |
D | android_app_NativeActivity.h | 90 inline android::InputConsumer& getConsumer() { return mConsumer; } in getConsumer() 109 android::InputConsumer mConsumer; member
|
/frameworks/base/core/jni/ |
D | android_app_NativeActivity.cpp | 111 mWorkWrite(workWrite), mConsumer(channel), mSeq(0) { in AInputQueue() 136 mLooper->addFd(mConsumer.getChannel()->getFd(), in attachLooper() 143 mLooper->removeFd(mConsumer.getChannel()->getFd()); in detachLooper() 150 pfd[0].fd = mConsumer.getChannel()->getFd(); in hasEvents() 210 status_t res = mConsumer.consume(&mPooledInputEventFactory, true /*consumeBatches*/, -1, in getEvent() 215 mConsumer.getChannel()->getName().string(), res); in getEvent() 220 if (mConsumer.hasDeferredEvent()) { in getEvent() 271 status_t res = mConsumer.sendFinishedSignal(inflight.finishSeq, handled); in finishEvent() 274 mConsumer.getChannel()->getName().string(), res); in finishEvent()
|