Home
last modified time | relevance | path

Searched refs:consumeSeq (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp288 uint32_t consumeSeq; in publishAndConsumeKeyEvent() local
290 status = mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeKeyEvent()
301 EXPECT_EQ(seq, consumeSeq); in publishAndConsumeKeyEvent()
367 uint32_t consumeSeq; in publishAndConsumeBatchedMotionMove() local
370 /*consumeBatches=*/false, -1, &consumeSeq, &event); in publishAndConsumeBatchedMotionMove()
386 uint32_t consumeSeq; in publishAndConsumeMotionEvent() local
389 mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeMotionEvent()
395 EXPECT_EQ(seq, consumeSeq); in publishAndConsumeMotionEvent()
412 uint32_t consumeSeq; in publishAndConsumeFocusEvent() local
414 status = mConsumer->consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, &event); in publishAndConsumeFocusEvent()
[all …]
DTouchResampling_test.cpp166 uint32_t consumeSeq; in consumeInputEventEntries() local
170 &consumeSeq, &event); in consumeInputEventEntries()
204 status = mConsumer->sendFinishedSignal(consumeSeq, true); in consumeInputEventEntries()
207 receiveResponseUntilSequence(consumeSeq); in consumeInputEventEntries()
/frameworks/native/services/inputflinger/tests/
DFakeWindows.cpp31 auto [consumeSeq, event] = receiveEvent(timeout); in consume()
32 if (!consumeSeq) { in consume()
35 finishEvent(*consumeSeq, handled); in consume()
41 uint32_t consumeSeq; in receiveEvent() local
48 status = mConsumer.consume(&mEventFactory, /*consumeBatches=*/true, -1, &consumeSeq, in receiveEvent()
69 return std::make_pair(consumeSeq, std::move(event)); in receiveEvent()
72 void FakeInputReceiver::finishEvent(uint32_t consumeSeq, bool handled) { in finishEvent() argument
73 const status_t status = mConsumer.sendFinishedSignal(consumeSeq, handled); in finishEvent()
DFakeWindows.h77 void finishEvent(uint32_t consumeSeq, bool handled = true);
DInputDispatcher_test.cpp457 void finishEvent(uint32_t consumeSeq) { return mInputReceiver.finishEvent(consumeSeq); } in finishEvent() argument
9914 const std::optional<uint32_t> consumeSeq = monitor.receiveEvent(); in TEST_F() local
9915 ASSERT_TRUE(consumeSeq); in TEST_F()
9920 monitor.finishEvent(*consumeSeq); in TEST_F()